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

QualitySpec interface

How an effect gets cheaper: the lowest tier it runs at and its caps per tier.

View as Markdown
import type { QualitySpec } from '@dioramajs/diorama/effects'
interface QualitySpec<P extends ParamSpec>

Members

NameTypeDescription
readonly low?QualityCaps<P>

Caps at the 'low' tier.

readonly medium?QualityCaps<P>

Caps at the 'medium' tier.

readonly min?QualityTier

Lowest tier the effect runs at. Below it the instance is 'off' and the element stays DOM. Default 'low'.

Also exported from @dioramajs/effects.

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