This repository contains example code for p5. All 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.
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 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 file for usage information for each image.
The ported code and new examples are licensed under the MIT License. See LICENSE for details.