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

A cover picture behind a curtain that opens with scroll, both ways: strips that slide away one after another, two halves that part from the centre, or a liquid edge that drains past it.

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

. The curtain is a colour or a second picture, and casts a soft shadow on the picture as it goes.

const default: Effect<Params>

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