# reel

function in `@dioramajs/text/counter`

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

A slot reel from digit `from` to `to` landing `land` seconds after it starts: its position in
digits at `t`, whole turns included. It spins up, runs, slows down and overshoots as it lands.

```ts
function reel(from: number, to: number, land: number, t: number): number
```

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

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