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

ClientBox type

The box `toBox` measures from: its left and top edges in client px and its height.

View as Markdown
import type { ClientBox } from '@dioramajs/diorama/kit'
type ClientBox = Pick<EffectInput, 'x' | 'y' | 'height'>

Also exported from @dioramajs/effects/kit.

Defined in packages/effects/src/kit.ts.