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

ProbeResult interface

What `probe` found out about an effect.

View as Markdown
import type { ProbeResult } from '@dioramajs/effects/testing'
interface ProbeResult

Members

NameTypeDescription
readonly errorunknown

Why it failed, if it did.

readonly inputsreadonly string[]

Inputs the effect read in setup, in its node graph and in two updates, sorted.

readonly policy'function' | 'hover' | 'input' | 'update' | 'visible' | 'fps'

The frame policy as declared, else as the runtime derives it: 'update' when the update answers with a boolean, else from the clocks the effect reads.

readonly restnumber

Frames drawn once nothing changes any more: 0 means none at rest.

readonly statusInstanceStatus

Status after setup and two updates.

Defined in packages/effects/src/testing/probe.ts.