Drip interface
One drip: where it hangs from and how it runs.
import type { Drip } from '@dioramajs/text/melt'Lengths in box px unless said otherwise.
interface DripMembers
| Name | Type | Description |
|---|---|---|
readonly em | number | |
readonly length | number | Full length at strength 1, em. |
readonly period | number | Seconds of one drop in the loop, and where in it the drip starts, 0..1. |
readonly phase | number | |
readonly r | number | Radius of the stream and of the bulb at its end. |
readonly rb | number | |
readonly release | boolean | It lets its drop go before it is done. |
readonly start | number | Melt 0..1 it starts at. |
readonly x | number | Middle of the stream and the edge it runs off. |
readonly y | number |
Defined in packages/text/src/melt.ts.