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 3D headline: the letters get real depth, a lit block extruded from the glyphs with beveled faces and walls that darken toward the back, a stack of paper layers or a flat long shadow, seen in perspective and casting a soft shadow on the page.

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

. The block turns toward the pointer or with the scroll. The DOM text stays for screen readers, search and selection.

const default: Effect<Params>

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