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 text wrapped round a 3D form that turns: a drum like a spinning label, a globe of rows or a tilted ring round the element's centre, passing in front of and behind its image.

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

. The letters bend with the form and are lit by their normals, so those turning away darken and the ones at the back show mirrored through the gaps, dimmed by depth. The turn follows the scroll, a drag with inertia or runs by itself. The DOM text stays once for screen readers.

const default: Effect<Params>

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