Assignment
The assignment following our second class was to create a sketch that includes these three elements: 1) one element controlled by the mouse, 2) one element that changes over time, independently of the mouse, and 3) one element that is different every time you run the sketch.
Sketch: Circles vs. Squares
I made a simple sketch that continuously draws randomly placed circles throughout the canvas, filled with a random color range of dark gray to black (the elements that are different every time you run the sketch, and changes over time, independently of the mouse). When you click anywhere on the canvas, you draw a white square in the same width as the circle. View the sketch in the p5.js Editor.