Skip to main content

Module parametric

Module parametric 

Source
Expand description

Parametric-curve scene: a pure t -> (x, y) curve resampled every frame into the shared LineRenderer (ADR-0007 parametric build model). Phase 1 is hardcoded to one Maurer rose that gently rotates on the deterministic scene clock; Phase 2 makes the curve family and every named parameter preset-driven so audio can sweep it live.

§The colour axis: position along the traced path (ADR-0059)

This scene honours [palette] / [palette_b] / palette_mix / hue_spread / saturation through the shared ColorRamp, and the axis its generator makes meaningful is how far along the walk a chord sits: 0 at the first sampled point, 1 at the last. On a Maurer rose that is the drawn-stroke reading — the web is one continuous walk, so the ramp travels along it the way a pen would.

Normalized over samples, not over the revealed prefix. draw_progress is a reveal, so a chord’s place on the curve is a property of the curve; if the divisor were the drawn count, a per-beat draw_progress would drag every chord’s colour with it and the figure would re-tint rather than draw itself on. Revealing half the curve therefore shows the palette’s first half.

hue_spread = 0 collapses the ramp to the single hue this scene has always drawn, so the surface is a strict superset.

Structs§

ParametricCurveScene
A parametric line curve (the Maurer rose), sampled per frame and driven by named preset parameters over the audio analysis.

Constants§

PARAMS
Parameter vocabulary — see fragment_field::PARAMS. Keep in sync with set_param below.