Skip to main content

Interface: ContinuousMotionOptions

Defined in: src/mobjects/graphing/VectorField.ts:548

Options for continuous streaming animation on StreamLines

Properties​

flowSpeed?​

optional flowSpeed: number

Defined in: src/mobjects/graphing/VectorField.ts:552

Flow speed multiplier. Default: 1


rateFunc()?​

optional rateFunc: (t) => number

Defined in: src/mobjects/graphing/VectorField.ts:556

Rate function for opacity within the window. Default: linear

Parameters​

t​

number

Returns​

number


seed?​

optional seed: number

Defined in: src/mobjects/graphing/VectorField.ts:562

Seed for the per-line start-phase randomization. When set, the flow is fully reproducible (a seeded mulberry32 PRNG replaces Math.random). When omitted, phases stay nondeterministic, as before.


timeWidth?​

optional timeWidth: number

Defined in: src/mobjects/graphing/VectorField.ts:554

Width of the visible window (0-1 fraction of total path). Default: 0.3


warmUp?​

optional warmUp: boolean

Defined in: src/mobjects/graphing/VectorField.ts:550

Whether to warm up (initialize with randomized phases). Default: true