s3h10r / egw-plugins Goto Github PK
View Code? Open in Web Editor NEWsome plugins for the image-processing-project einguteswerkzeug
License: MIT License
some plugins for the image-processing-project einguteswerkzeug
License: MIT License
https://en.wikipedia.org/wiki/B%C3%A9zier_curve
Before starting to implement this doing some reasearch about which (ideally lightweight) vector-graphics library could be usefull for this is necessary. Maybe Pycairo?? http://www.tortall.net/mu/wiki/CairoTutorial
the version contains the description etc :
$ ./egw_plugin_rothko.py
<class '__main__.Rothko'> rothko - None
version : adaption of [RothkoBot](https://github.com/ZacharyDavis/RothkoBot), Copyright (c) 2017 Zachary Davis (plugin_iface_version : 0.4.0)
author : 0.1.2
kwargs : {'size': (800, 800), 'seed': None, 'palette': 'colors.txt', 'color1': None, 'color2': None, 'color3': None, 'color4': None}
usage selftest: <me> image_out [<int seed>]
There are already lots of ports of Jason Long's wonderfull geo_pattern (Ruby) available. Should be easy to adopt the python port by Bryan Veloso here for egw.
doing something with (perlin-) noise is a must-have. :) this issue is related to #2 but has a more playfull "non-serious-stuff" intention. ideal for playing around.
some inspirations / ideas:
plots N lines with perlin noise. inspired by joy division's famous "unknown pleasures" cover.
kwargs: nr_lines, brush_size, bgcolor, color; x_step, y_noise (=> "roughness")
Traceback (most recent call last):
File "/home/s3h10r/development/einguteswerkzeug/tmp/venv_egw/bin/egw", line 69, in <module>
main(args)
File "/home/s3h10r/development/einguteswerkzeug/tmp/venv_egw/lib/python3.6/site-packages/einguteswerkzeug/core/__init__.py", line 584, in main
img = _apply_filters(image=source, filters = apply_filters, filters_args = [])
File "/home/s3h10r/development/einguteswerkzeug/tmp/venv_egw/lib/python3.6/site-packages/einguteswerkzeug/core/__init__.py", line 433, in _apply_filters
img = PLUGINS_FILTERS[edit_filter].run(**kwargs)
File "/home/s3h10r/development/einguteswerkzeug/tmp/venv_egw/lib/python3.6/site-packages/einguteswerkzeug/core/../plugins/filters/pixelsort.py", line 43, in run
return _do_pixelsort(image, algo)
File "/home/s3h10r/development/einguteswerkzeug/tmp/venv_egw/lib/python3.6/site-packages/einguteswerkzeug/core/../plugins/filters/pixelsort.py", line 87, in _do_pixelsort
[r, g, b] = img_in_pixels[x, y]
ValueError: too many values to unpack (expected 3)
test_plugin-params.sh
:
egw --generator nlines --clockwise --params-generator='{"seed" : 5269546439996500824, "nr_lines" : 9, "x_step" : 20, "thickness" : 6, "color" : [0,255,0,255], "bg_color" : [0,0,200,255]}' -o $FOUT --filter quads,invert,oil,pixelsort --params-filter='{"mode" : 1, "iterations" : 256}{}{"brush_size" : 2, "roughness" : 50}' --config $CONFIG --template $TPL --title "quad-filtered generator nlines (variant b), 2019 #einguteswerkzeug" --max-size 800 || exit 1
feh $FOUT
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.