Diorama

Made for a big screen.

This site is one 3D scene, built for a computer: a wide window and a mouse. Open dioramajs.dev on a desktop or a laptop to see it.This site is one 3D scene, built for a wide window. Make this one wider, or open dioramajs.dev on a larger screen.

GitHub

DioramaDocs

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.

View as Markdown
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

NameTypeDescription
seednumber
unitnumber
timenumber
fastboolean

Defined in packages/text/src/neon.ts.