GenerativePy

Python library for generative art

About GenerativePy

GenerativePy is a Python library for creating generative art and textures.

Features will include:

  • A comprehensive library for high quality 2D vector graphics (based on PyCairo).
  • Support for large, high resolution images.
  • Support for image post-processing and compositing.
  • Support for animated GIFs and video output.
  • Tweening animation.
  • Support for graphing and mathematical diagrams and animation.

As a Python library, GenerativePy can make use of other standard libraries such as:

  • numpy, PIL, scipy and others for image manipulation and processing.
  • Scrapy, BeautifulSoup and others to obtain data via webscraping.
  • OpenCV for image recognition, segmentation, motion detection etc.
  • TensorFlow and other libraries for machine learning.

For Processing users

Processing is a very popular, and very good, tool for creating generative art.

generativepy isn’t intended to be a clone of Processing. It aims to bring the full power of Python to generative art, including the huge number of Python libraries that are available. It also aims to make certain task, such as creating video or composite art, a little easier.

However, there is clearly overlap between the two, in particular the drawing primitives.

The philosophy of generativepy is to be as similar as possible to Processing in the areas where there is overlap. That is, to avoid any pointless differences, but without sacrificing the benefits of Python.

You will find the drawing model, and most of the drawing function names, to be exactly the same - which should make it easy to use either tool, depending on the task at hand.