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

Letters become cut crystal standing off the page: clear bevelled glass with bright inner edges, that splits the light of a lamp into rainbows cast on the page behind and beside it.

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

. The lamp follows the pointer, sweeps with the scroll, orbits on a loop or passes once in view. The text stays in the DOM, hidden behind the copy.

const default: Effect<Params>

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