Last week, I went to an excellent one-day workshop for an introduction to Processing, led by Jer Thorpe.
Processing is a fascinating little open-source program for creating images, animation, and interactions.
I finally started tinkering with it more tonight. The Circles one is derived from an example code in the help files; the Scribbles and the Squares sketches are derived from codes that Jer showed us.
Note: Only runs in Java-enabled browsers.