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

text function

Plain string param for a default that looks like a colour, e.g.

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

text('#cafe').

function text(value: string): TextParam

Parameters

NameTypeDescription
valuestring

Also exported from @dioramajs/diorama/auto, @dioramajs/diorama/effects, @dioramajs/effects.

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