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 heading printed on a waving 3D cloth: a flag pinned at its left edge, a ribbon that twists along its length and shows its tinted back, or silk with slow ripples and a sweeping sheen.

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

. The folds are lit by their normals and the cloth casts a soft shadow on the page. The DOM text stays for screen readers, search and selection, and shows again whenever the cloth rests flat.

const default: Effect<Params>

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