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

TransitionPhase type

Phase of a transition: the swap runs, copies fly, or it is over.

View as Markdown
import type { TransitionPhase } from '@dioramajs/diorama/transitions'
type TransitionPhase = 'swapping' | 'flying' | 'done'

Also exported from @dioramajs/transitions.

Defined in packages/transitions/src/types.ts.