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

ParamDefault type

A param default: its type is the param type.

View as Markdown
import type { ParamDefault } from '@dioramajs/diorama/effects'

The string 'auto' makes a number param that may also be 'auto': the effect picks the value itself. It has no uniform, so a change rebuilds.

type ParamDefault = number | boolean | string | readonly [number, number] | readonly [number, number, number] | readonly [number, number, number, number] | ColorParam | ChoiceParam | TextParam

Also exported from @dioramajs/effects.

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