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

Words take turns in a phrase on the faces of a real 3D shape: a cube or a drum that rolls to the next word, a split flap falling over its hinge or a strip folding into the page, lit from above and seen in perspective.

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

. The box eases to the width of the next word; between turns the word is plain DOM text.

const default: Effect<Params>

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