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 number counts up to its value when it comes into view, on real 3D mechanics: digits on odometer drums, on deep slot reels behind a window, or on flip cards.

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

. The drums and cards fold back into the text when they land: the DOM text never changes, and at rest it is the element.

const default: Effect<Params>

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