travel function
Where the camera is at `pin` (0..1), in phrases: 0 on the first, `count - 1` on the last.
import { travel } from '@dioramajs/text/tunnel'It slows down on each phrase, so each one holds still to be read, and speeds up between them.
function travel(pin: number, count: number): numberParameters
| Name | Type | Description |
|---|---|---|
pin | number | |
count | number |
Defined in packages/text/src/tunnel.ts.