Shapes Photo Album

Rectangles and ovals, placed and moved by a small command language, with snapshots taken along the way. It began as a Java and Swing class project. This is the same model, served as web pages. How it works.

Albums

Buildings
The course's reference album: four towers, windows switching on, then the moon.
Buildings, extended
The same skyline with trees, a road and street lights.
CS graphic
Letters, sun, clouds and flowers; the scene turns to sunset and then night.
Demo
The smallest album that uses every command.
Hoops
A basketball's arc into the net, one snapshot per frame.
Tetris wallpaper
Six hundred shapes tiled into a wallpaper.

Make your own

Paste commands and render them. There are six: shape, move, color, resize, remove and snapshot. Lines starting with # are comments. Start from the demo or read the command reference.