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 becomes a neon sign mounted in front of the wall: round glass tubes in the shape of its letters, lit from inside with a highlight along each, a soft colored light thrown on the wall around them, and their shadow on it.

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

. The tubes stutter on one by one as the sign comes into view and buzz now and then; the light that casts the shadow follows the scroll and the pointer, and the sign turns a little toward the pointer. The text stays in the DOM.

const default: Effect<Params>

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