This browser does not have a Java Plug-in.
Get the latest Java Plug-in here.

Source code: SimpleAnimation AnimatedObject

Download to sketchbook:

Built with Processing

Use the mouse to drag a vector for an animated object. Each object is an independent layer. Press any key to freeze/unfreeze the action. Objects disappear after they age for 100 steps.