Testing

In the Lab8's draw method, add the following line right before you draw each shape:

fill (i * 64);

Where i is the index of the Shape you are currently drawing. For the four shapes in the array, you would be calling the fill method four times.

The fill() method from PApplet chooses a different color for each shape drawn (rect and ellipse in our case).

Depending on how you choose to initialize each shape, your window should look similar to: