swing function
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.
import { swing } from '@dioramajs/text/blinds'.
function swing(t: number): numberParameters
| Name | Type | Description |
|---|---|---|
t | number |
Defined in packages/text/src/blinds.ts.