Exercise 3: Patterns

Description: A grid pattern of rectangles makes up the background. The position of each rectangle changes by a random number each frame, making the pattern appear to move. The size of the rectangles correspond to the position of your mouse. When the mouse or any key is pressed, a rotating rectangle appears and follows your cursor. … Continue reading Exercise 3: Patterns


Exercise 2: Motion and Interactivity

   My finished code: https://alpha.editor.p5js.org/embed/rkuV417j- I knew I wanted to create something that was simple and geometric. I wanted the background to move on its own, and to have a circle in the center that was interactive for the user. The background will be composed of evenly spaced diagonal lines that move in an upward-right … Continue reading Exercise 2: Motion and Interactivity