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 image of a card grows to the box of its sticky stage, usually the whole screen, while the section scrolls, and settles there; scrolling back folds it into the card.

View as Markdown
import { default } from '@dioramajs/media/expand'

. The copy poses its own layer: framed by object-fit at every size, above the copies around it, out of the card's clip.

const default: Effect<Params>

Defined in packages/media/src/expand.ts.