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 built from small lit 3D cubes, one instanced draw of boxes coloured by the text under each grid cell.

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

. On view they tumble in from above and behind the page in a wave, land with a hop and a squash, and flatten into the real text; the pixels style keeps them. Cubes under the pointer pop out toward the viewer on springs. Once on view, scrubbed by scroll, or as voxels for the pointer only.

const default: Effect<Params>

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