Scene interface
The scene: box size, phrase spacing and eye distance in px, and the look.
import type { Scene } from '@dioramajs/text/tunnel'interface SceneMembers
| Name | Type | Description |
|---|---|---|
readonly blur | number | Blur at the eye, screen px. |
readonly depth | number | px between two phrases. |
readonly eye | number | px from the focus to the eye. |
readonly fade | number | |
readonly height | number | |
readonly style | Style | |
readonly twist | number | Turn of the helix from one phrase to the next, radians. |
readonly width | number |
Defined in packages/text/src/tunnel.ts.