guides function
The guide lines as segments: from and to (x, y in units of the tunnel's half size or the helix radius, phrase step along the axis) and the line's opacity.
import { guides } from '@dioramajs/text/tunnel'. Tunnel: the edges and two lines down each wall, and a frame every half step; spiral: two strands of the helix; zoom: none.
function guides(style: Style, count: number, twist: number): number[][]Parameters
| Name | Type | Description |
|---|---|---|
style | Style | |
count | number | |
twist | number |
Defined in packages/text/src/tunnel.ts.