Shapes in generativepy
Martin McBride, 2021-11-21
Tags generativepy tutorial shape
Categories generativepy generativepy tutorial

You can draw many different types of shapes using generativepy, via the geometry module.
Here are the main features of generativepy drawing support:
- Lines and polygons.
- Circles and ellipses.
- Bezier curves.
- Text.
- Composite shapes made up of multiple simple shapes.
Other features of the module are:
- Filling and stroking.
- Placing images.
- Abstract path objects.
- Geometric markers (angles, parallel lines etc)
- Simple turtle graphics.
There are more options for filling and stroking shapes (for example, using a gradient) in the Patterns section.
If you found this article useful, you might be interested in the book Computer Graphics in Python or other books by the same author.
Prev