


For this assignment, I used squares and rectangles. How I got them to change color was by changing the color mode. The first one is RGB, the second is in HSB and the last one is in HSL.
Here is the code: https://editor.p5js.org/Sawyer711/sketches/RCOBDFbP9