To view this content, you need to install Java from java.com

Rectangles
Version: 5 20051227

How is this different than version 4?
In this version the two rectangles are animated (changing over time).
To animate the rectangles, I move their color choosing and drawing code from the "setup" function to the "draw" function.
This causes the colors to change color on each new frame. Notice that the background color does not change over time.

Source code: rectangles_v050_20051227

Built with Processing