starts function
Where each particle starts in 3D, as an offset from its place: in a cloud around and behind the text, rising from below, out of a point deep behind its middle, or from both sides.
import { starts } from '@dioramajs/text/assemble'. Paths bend by a smooth field, so particles that land close stream alike. depth is the camera distance.
function starts(
ink: Ink,
from: From,
em: number,
depth: number,
seed: number,
): StartsParameters
| Name | Type | Description |
|---|---|---|
ink | Ink | |
from | From | |
em | number | |
depth | number | |
seed | number |
Defined in packages/text/src/assemble.ts.