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 Diorama on the page and returns the app at once.

View as Markdown
import { start } from '@dioramajs/diorama'

It finishes starting in the background. A second call returns the same app, so a re-run module doesn't make another.

import { start } from '@dioramajs/diorama'
export const app = start()
function start(options?: StartOptions): App

Parameters

NameTypeDescription
options?StartOptions

Default {}.

Also exported from @dioramajs/diorama/auto.

Defined in packages/diorama/src/index.ts.