Generative art library
Project description
generativepy
Generative art and graphing library for creating images and animations.
Version 23.11 notes
3D drawing is likely to change in a future release. The rest of the library is reasonably stable.
- Switched to date based versioning
- Add parametric plots to the graph module
- Allow The Turtle class to accept a list of colours, and cycle through the list as the turtle draws a path.
- Update geometry.Transform class to use generativepy matrix order rather than PyCairo matrix order.
- Add unit matrix to math module
Usage
generativepy is a library rather an application. It provides useful functions and example code that allow you to create images and videos by writing simple Python scripts.
The library requires:
- pycairo.
- NumPy.
- Pillow.
- easy_vector.
- moderngl (only required for 3D imaging).
- MoviePy
- Command line application gifsicle (only needed for GIF creation).
- Commandline applications latex and divpng
Main functionality:
- A simple framework for creating images, image sequences, and gifs, using pycairo.
- Support for bitmap processing using PIL and NumPy.
- Colour module that supports RGB, HSL and CSS colours, transparency, lerping, colormaps.
- A simple tweening module to help with animation.
- Geometry module for drawing shapes.
- A graphing library for plotting 2D functions.
- MovieBuilder supports creating video files from separate scenes.
- Latex formula rendering
- 3D geometry module using moderngl.
- Math modules for vectors, matrices and abstract shapes.
Website
Visit pythoninformer.com for details:
There are also some art examples in the Generative Art section of my blog.
For detailed information of pycairo see the Computer graphics in Python ebook.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
generativepy-23.11.tar.gz
(56.8 kB
view hashes)
Built Distribution
Close
Hashes for generativepy-23.11-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 802b360ed04dcfcf47d4daaaee370e3ddc0c9670bbaa3e7032b6ead7fbfff329 |
|
MD5 | 56e6eb83a7a0ddaf2446cdcf14341186 |
|
BLAKE2b-256 | 7f1fbf0870b7d297f05b45fe3fdf9171cf8c4c6e482c8d7edd509b9eae0929b9 |