Week 4: Grid Pattern Animation

This week I used functions and arguments to make color patterns in a p5 sketch.  I first created a function that drew a grid of circles on the screen.  Then I created two functions that animated the grid.  This resulted in different patterns based on the color and speed of the animation.  In addition, the variables in the code are organized into objects in order to create clear and repeatable code.  The following videos show some examples of different variations of the pattern based on speed and color changes.  

Figure 1

Figure 2

Figure 3

Figure 4

Figure 5

Figure 6