WEEK 5 (pixels and animation 2)
Create 5–7 sketches in p5.js. Use each of the following at least once:
- a conditional statement (if/else if/etc)
- a for loop or while loop
- a custom variable
- a function other than
setup()
anddraw()
(this can be another built-in function likekeyPressed()
ormousePressed()
, or a custom function) - a user input (keyboard, mouse, webcam, microphone)
- an element of randomness