Skip to main content

Module curves

Module curves 

Source
Expand description

Parametric curve samplers: pure t -> (x, y) functions written straight into a preallocated segment buffer. Cheap enough to resample every frame (ADR-0007 parametric build model), so continuous audio can sweep the shape live. Deterministic: no wall-clock, no randomness — the same parameters always yield the same segments (NFR 6).

Structs§

RoseParams
Everything maurer_rose needs, by name.

Constants§

SMOOTH_CORNER_SHARE
The largest share of a Maurer walk’s vertices that may be corners before maurer_rose_pieces declines to fit it — is this a curve at all?

Functions§

maurer_rose
Sample a Maurer rose into out (cleared first).