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 lies under water: a surface simulated on the GPU bends the letters and the page beneath, focuses light into dancing caustics on them and reflects the sky, with a tint that deepens the farther the light goes.

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

. The pointer drags ripples and clicks drop them; rain rings out on its own; ice stays still under frost and cracks until the pointer melts a clear patch.

const default: Effect<Params>

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