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

weights function

Emission weights from a CSS color, the brightest channel 1; natural fire without one.

View as Markdown
import { weights } from '@dioramajs/text/fire'
function weights(hex: string | undefined): [number, number, number]

Parameters

NameTypeDescription
hexstring | undefined

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