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

Drip interface

One drip: where it hangs from and how it runs.

View as Markdown
import type { Drip } from '@dioramajs/text/melt'

Lengths in box px unless said otherwise.

interface Drip

Members

NameTypeDescription
readonly emnumber
readonly lengthnumber

Full length at strength 1, em.

readonly periodnumber

Seconds of one drop in the loop, and where in it the drip starts, 0..1.

readonly phasenumber
readonly rnumber

Radius of the stream and of the bulb at its end.

readonly rbnumber
readonly releaseboolean

It lets its drop go before it is done.

readonly startnumber

Melt 0..1 it starts at.

readonly xnumber

Middle of the stream and the edge it runs off.

readonly ynumber

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