Rectangles
Version: 6 20051227
How is this different than version 5?
In this version the background is animated (changing over time) and the rectangles stay the same.
I moved the code that gets what colors to use to draw the rectangles "draw" function back into the "setup" function.
This causes the Rectangle's colors not to flash because they are no longer changing.
To do this, I am going to use some global variables (variables declared outside any function).
I moved the code that gets what colors to use to draw the background from the "setup" to the "draw".
Now the background will change color on each frame.
Source code: rectangles_v060_20051227
Built with Processing