# gapOf

function in `@dioramajs/text/unfold`

```ts
import { gapOf } from '@dioramajs/text/unfold'
```

Seconds between neighbouring units: `stagger`, shrunk so all units start within `spread` durations.

```ts
function gapOf(timing: Timing, units: number, spread: number): number
```

| Parameter | Type | Description |
| --- | --- | --- |
| `timing` | `Timing` |  |
| `units` | `number` |  |
| `spread` | `number` |  |

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