Animated HTML5 Canvas Odometer

Version 0.3.0 - 01 Mar 2012

Inspired by Gavin Brock's CSS/JavaScript Animated Odometer, and Gerrit Grunwald's Java Rolling Counter.

No canvas support!

Create an odometer object:
myOdometer = new odometer(canvasCtx, parameters);

Set the value on the odometer:
myOdometer.setValue(val);

Get the current value from the odometer:
val = myOdometer.getValue();

Download

Download a zip file of the script and this demo page from here