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

A heading glitches like a broken signal, in depth: for a fraction of a second it breaks into slabs that jump towards the viewer and turn in perspective, its red and cyan layers part at different depths, blocks extrude out of the page or a hologram trails behind it.

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

. Then it snaps back flat. At rest the element is plain DOM text.

const default: Effect<Params>

Defined in packages/text/src/text-glitch.ts.