# @dioramajs/text/blinds

Exports of @dioramajs/text/blinds.

## Functions and values

- [cut](/docs/api/text-blinds/cut.md): Cuts the panel over `lines` (and `also`, the lines of the second text): `slats` strips per line, or columns and square tiles of a like size.
- [default](/docs/api/text-blinds/default.md): The heading is printed across real 3D slats that turn to show it: closed, they make a panel in the back color; they turn one after another in a wave, catching the light and casting thin shadows on each other and on the page, until the text lies flat. Horizontal slats, vertical ones or square tiles; played once, scrubbed by the scroll or opened under the pointer. At rest the element is plain DOM text.
- [gapOf](/docs/api/text-blinds/gap-of.md): Seconds between neighbouring slats: `stagger`, shrunk so a long wave starts in time.
- [spanOf](/docs/api/text-blinds/span-of.md): Seconds from the trigger until the last slat lies flat.
- [swing](/docs/api/text-blinds/swing.md): 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.
- [waveAt](/docs/api/text-blinds/wave-at.md): The turn of every cell at `time` s after the trigger, radians: -π closed, 0 open.

## Types

- [Grid](/docs/api/text-blinds/types/grid.md): How the text block is cut into slats or tiles.
- [Line](/docs/api/text-blinds/types/line.md): One line of the text: its ink band and font size, element px, y down.
- [Style](/docs/api/text-blinds/types/style.md)
- [Trigger](/docs/api/text-blinds/types/trigger.md)
