Accelimation

Animates any numeric JavaScript property (with optional string suffix) with configurable acceleration.

The requestAnimationFrame function is used when available for optimal performance. Otherwise, a single timer loop is shared between all concurrent animations.

source code

Click anywhere to test.