Skip to content
forked from elkiwy/paynter

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...

License

Notifications You must be signed in to change notification settings

fuyunfei/paynter

 
 

Repository files navigation

What is PaYnter?

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...

Documentation Status Build Status License: MIT

Features

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
  • Brush mirroring
  • Drawing functions like:
    • DrawLine(x1, y1, x2, y2)
    • DrawPoint(x, y)
    • DrawRect(x1, y1, x2, y2, angle)
    • DrawPath(pointList)
    • AddBorder(width)

Installation

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

Usage and Documentation

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

Dependencies

PaYnter needs Numpy, Numba, and PIL modules. Those can all be installed easily with Pip, anything else should come with the python3 bundle.

Scope

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)

About

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...

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%