# odometer

function in `@dioramajs/text/counter`

```ts
import { odometer } from '@dioramajs/text/counter'
```

The odometer's value in units at `t` of `time` seconds: quartOut, then the last SETTLE units
on a backOut whose slope matches it, so the drums slow down, overshoot and settle.

```ts
function odometer(from: number, to: number, time: number, t: number): number
```

| Parameter | Type | Description |
| --- | --- | --- |
| `from` | `number` |  |
| `to` | `number` |  |
| `time` | `number` |  |
| `t` | `number` |  |

Defined in [packages/text/src/counter.ts](https://github.com/MasterKurosava/diorama/blob/main/packages/text/src/counter.ts#L212).
