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

gapOf function

Seconds between neighbouring units: `stagger`, shrunk so all units start within `spread` durations.

View as Markdown
import { gapOf } from '@dioramajs/text/unfold'
function gapOf(timing: Timing, units: number, spread: number): number

Parameters

NameTypeDescription
timingTiming
unitsnumber
spreadnumber

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