1/ Review Loops https://editor.p5js.org/Hansaglam/sketches/nJLswP7cdX
2/ Encode 1
https://editor.p5js.org/enickles/full/iu3hqCt1e
Creating a grid by dividing the height and width
Randomizing the fills with a loop.
With each click, run the random loop.
3/ Encode 2
https://editor.p5js.org/enickles/full/sTAx_W5n_
Divide the canvas to 3 pieces horizontally,
Divide the canvas vertically to draw rectangles.
Draw the rectangles in each zone by looping and adding a random function to their y coordinates based on the zone they are.
With each click, run the random loop again.