Post Format

Sprite Based Animations And Panning jQuery Plugin: Motio

sprite-based-animations-and-panning-jquery-plugin-motio

Motio is a free jQuery plugin for simple but powerful sprite based animations and panning.

Motio is called on an element representing animation container, where animation is delivered as a CSS background image.

sprite-based-animations-and-panning-jquery-plugin-motio

In sprite based animations, container should have the dimensions of one sprite frame. E.g, if you have 10 frames in a horizontal sprite that is 100 x 100 pixels big, the container should be 100 x 100 pixels big.

In panning, container size doesn’t play any role, just the background image should be seamless (depends on your req.).






Leave a Reply