ignite function
Brightness 0..1 of a tube `t` seconds after its turn to light, and whether it is steady: it stutters on with a few flashes, holds, and warms up to full.
import { ignite } from '@dioramajs/text/neon'. fast is the short version of a sign switched on by hand.
function ignite(
seed: number,
unit: number,
time: number,
fast: boolean,
): [number, boolean]Parameters
| Name | Type | Description |
|---|---|---|
seed | number | |
unit | number | |
time | number | |
fast | boolean |
Defined in packages/text/src/neon.ts.