PaYnter is a Python module that let you procedurally generate images with handy features that emulates what you can find in any image editing software like Photoshop, GIMP, Krita, etc...
This is a list with what there is currently inside the code:
- Brushes features:
- Custom brush tip (B/W png images)
- Supports for multiple brush tips (randomized each dab)
- Custom brush tip rotation
- Custom Brush spacing
- Custom Brush textures
- Fuzzy Dab parameters like:
- Brush size
- Brush angle
- Color mix
- Color Hue
- Color Saturation
- Color Value
- Dab position scattering
- Layer management
- New layer creation
- Layer merging with blending modes
- Color management
- Palette creation
- Triad palette
- Separate Hue, Saturation, and Value tweaking
- Palette creation
- Brush mirroring
- Drawing functions like:
- DrawLine(x1, y1, x2, y2)
- DrawPoint(x, y)
- DrawRect(x1, y1, x2, y2, angle)
- DrawPath(pointList)
- AddBorder(width)
The recommended way to use Paynter is to download it with pip with the command:
pip3 install paynter
but it can also download the source from GitHub and copy the "paynter" folder inside your project directory.
If you installed it from pip make sure to have all the library requirements by running:
pip3 install -r requirements.txt
If you want a brief demostration you can check example.py (NB: To be able to use the brushes created by example.py you also need to download the "res" folder where all the used brushtips are stored).
For advanced instructions and details you can check the project documentation at paynter.readthedocs.org
PaYnter needs Numpy, Numba, and PIL modules. Those can all be installed easily with Pip, anything else should come with the python3 bundle.
This project started October 1th 2018 and its goal is to have a simple yet really powerful interface for all the people who wants to procedurally generate images without letting down all the features that you have inside a real image painting software.
Here are some example of what I was able to create with Paynter:
(You can find more here: @elkiwyart)