# swing

function in `@dioramajs/text/blinds`

```ts
import { swing } from '@dioramajs/text/blinds'
```

A slat's turn, 0 closed to 1 open: it starts slowly, swings a few degrees past flat and settles
with no speed left, so the hand-back to the DOM is still.

```ts
function swing(t: number): number
```

| Parameter | Type | Description |
| --- | --- | --- |
| `t` | `number` |  |

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