Odometer
odometerA number counts up with rolling digit wheels, like an odometer.
Install
$ npx paper-motion add odometerCopies the code to moves/ in your project, yours to edit.
Tune it, then add it to your kit
0.0s
Parameters
from
to
duration
curve
import { odometer } from './moves/odometer.js';
// in s.update(t)
odometer(el, t);Defaults
Notes
- Counts from
fromtotoon rolling digit wheels; a wheel only turns when the one to its right rolls over.
Spec
- Id
- odometer
- Type
- Text effects
- Version
- 1.0.0
- Engine
- >=0.2.0
- License
- MIT
- Data
- r/odometer.json