Python library for generative art

Canvas class

The canvas object represents a 2D vector drawing surface that is used to create images. A canvas object is usually accessed via the draw function that is used by makeImage and similar functions, see the simple drawing example.

Here are the methods that are supported by a canvas object: