I made a small script to produce an animation with a series of images and JavaScript. I only tested it in Firefox 3, but I don’t see any reason why it wouldn’t work in other browsers.
Try it or download it.
Sage Bug #1483 inspired me to make this, since the sagenb.org server doesn’t have ImageMagick installed.