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

default const

The heading is printed across real 3D slats that turn to show it: closed, they make a panel in the back color; they turn one after another in a wave, catching the light and casting thin shadows on each other and on the page, until the text lies flat.

View as Markdown
import { default } from '@dioramajs/text/blinds'

. Horizontal slats, vertical ones or square tiles; played once, scrubbed by the scroll or opened under the pointer. At rest the element is plain DOM text.

const default: Effect<Params>

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