Code and Design toolbox for p5js
Below are different examples to get you started with understanding how different elements work. They are intended to be bits and pieces for you to experiment with and combine.
Make sure to also look at the P5.js website, specially look at the reference and the examples.
More code examples can also be found on the examples page