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

wallOf function

Lightness 0..1 of what the page paints behind the element; a picture counts as darkish.

View as Markdown
import { wallOf } from '@dioramajs/text/fire'
function wallOf(element: Element): number

Parameters

NameTypeDescription
elementElement

Defined in packages/text/src/fire.ts.