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);