Homework 4
Loops & Conditionals, 1/10/21
- Nested for loop — make the grid.
- Sin — make the grid move.
- If function — change colors.
- Fill (with s & h) — make gradient.
- Random — constantly change colors.
- If function — make them bounce.
- || — make both arguments have to happen.
- Noise function — blend the colors together smoothly while changing.
- For loop — build the gradient with the circle.
- mouseIsPressed — change rectangles color.
- If distance is true — make rectangles appear.
- If distance is false — rectangles disappear with background.