reel function
A slot reel from digit `from` to `to` landing `land` seconds after it starts: its position in digits at `t`, whole turns included.
import { reel } from '@dioramajs/text/counter'. It spins up, runs, slows down and overshoots as it lands.
function reel(from: number, to: number, land: number, t: number): numberParameters
| Name | Type | Description |
|---|---|---|
from | number | |
to | number | |
land | number | |
t | number |
Defined in packages/text/src/counter.ts.