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 element's content runs past in an endless horizontal loop: text, logos and inline images drawn once and repeated by the GPU.

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

. It speeds up and leans with the scroll, may turn around when the page scrolls up, and slows to a stop under the pointer or keyboard focus. The DOM content stays where it is, once, for screen readers.

const default: Effect<Params>

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