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

Rectangles
version 20060101b

Size the canvas.
Use random colors.
Draw the background.
In a loop, draw several small items of different colors.
The item drawn will be based on a random dice roll.
50 percent of the time the itme will be a rectangle and thte other 50 percent, it will be an oval.

Source code: rectangles_20060101b

Built with Processing