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

flare function

Heat of a unit `t` seconds after it catches with the view trigger, and whether it has settled: flame flares up, burns and dies down; a candle lights, burns and goes out; coals flare and settle at a steady glow.

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

.

function flare(style: Style, t: number): [number, boolean]

Parameters

NameTypeDescription
styleStyle
tnumber

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