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

DocExample interface

An example of an effect's docs: markup and optional code.

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

Members

NameTypeDescription
readonly htmlstring

Markup that uses the effect.

readonly titlestring

One line above the example.

readonly ts?string

Script next to the markup, if any.

Also exported from @dioramajs/effects.

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