Circle Square Animation
This page shows an animated image producer in action. An animation of sorts is produced from a series of single image frames. In this demo, the CircleSquare pixel engine automatically zooms in and then back out, sending new frame bits to the MemoryImageSource after each adjustment. The frame rate is controlled by a timer.

Color indices are assigned based on the sum of the squares of the coordinates, using an algorithm from Programming In Scheme, by Michael Eisenberg.

 
 

CircleSquare.java
CircleSquareEngine.java
AcmePixelEngine.java
PixelEngine.java
Timer.java