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

start function

Starts an app with the fake render, the effects preset and these entries, engine loaded.

View as Markdown
import { start } from '@dioramajs/effects/testing'
function start(
  entries: EffectEntries,
  options?: Partial<EffectsOptions>,
  before?: (app: App) => void,
  plugins?: readonly PluginEntry[],
): Promise<World>

Parameters

NameTypeDescription
entriesEffectEntries
options?Partial<EffectsOptions>

Default {}.

before?(app: App) => void
plugins?readonly PluginEntry[]

Default [].

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