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 horizontal-scroll section: while the page scrolls down through a tall section, the row of cards on its sticky stage slides sideways.

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

. The row is a native horizontal scroller the effect drives, so links, focus, keys and swipes keep working; the copies of its pictures bend, skew or ride a wave and stretch with its speed, and settle when it stops.

const default: Effect<Params>

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