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

textReveal function

Hidden until drawn when in view at mount, so a heading on the first screen plays too.

View as Markdown
import { textReveal } from '@dioramajs/text/intro'

A scrubbed one has nothing to play before a scroll.

function textReveal(element: Element): boolean

Parameters

NameTypeDescription
elementElement

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