GitHunt

Canvas Odometer

A HTML odometer using canvas.

Online example.

Example of Usage

    const odometer = new FloatOdometer(4.0, {
        textColour: "#003c65",
        borderColour: "#a19589"
    });
    odometer.appendTo(document.body);
    
    odometer.set(454.1874);

Languages

JavaScript90.1%HTML9.9%

Contributors

Other
Created March 15, 2018
Updated March 22, 2022
SINTEF-9012/canvas-odometer | GitHunt