fc.tape — jQuery widget for sprite animations.
Background image (sprite) consisting of picture frames is animated like the tape in old-time movie projectors. Widget supports options to adjust smoothness and animation speed as well as methods to control animation behavior. You can create such sprite using console util convert, included in popular image editing tool ImageMagick.
For the widget to work you need: jQuery (1.6+), jQuery UI (1.8+) Core and Widget, and certainly a sprite with animation frames.
source & example