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

GHOSTS const

Ghosts along the axis from the light through the centre of the box: where they sit on it (0 is the light, 1 the centre, 2 the mirror point), their radius as a share of the glow, how bright they are and their tint, like the coatings of a real lens.

View as Markdown
import { GHOSTS } from '@dioramajs/media/flare'

.

const GHOSTS: readonly ({ … })[]

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