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

@dioramajs/media/intro

Exports of @dioramajs/media/intro.

View as Markdown
import { curtain, pixelate } from '@dioramajs/media/intro'

Functions

curtainA curtain on the first screen opens behind a veil, so the bare picture never flashes first.
pixelateA pixelate reveal on the first screen plays behind a veil; hover and scroll start sharp.