This repository contains example sketches for py5canvas.
Note that the code and this document are mostly adapted from the examples of p5py, with some additions/ modifications. The 3d examples have been removed, as py5canvas is currently focused on 2d graphics.
Examples are sorted in folders as follows:
basics-- ported examples from "Basic" Processing examples.reference-- sketches that show use of a particular p5 feature.misc-- a collection of complete sketches that use p5.other-- Py5canvas specific examples with some functionalities such as GUI and parameters.
Please use the Issues tab to report issues and/or make requests for examples.
If you are using the latest developmental version of p5, please use
the examples from the develop branch.
Note about the Processing examples: Examples not in the other directory or missing a credit line
were originally written by Ben Fry and are in the Public domain. All
of Daniel Shiffman's examples are also in the public domain. The
copyright for other credited files remains with the original authors.
All images have been taken from the Wikimedia Commons. Please refer to
the ATTRIBUTION <ATTRIBUTION>_ file for usage information for each
image.
The ported code and new examples are licensed under the MIT License.
See LICENSE <LICENSE>_ for details.