pub struct Levers {
pub curl: f32,
pub vigor: f32,
pub lean: f32,
pub bias: f32,
}Expand description
The four audio-driven shape levers (ADR-0075), applied in SVD space.
Built to be safe rather than checked, which is the whole point of the
parameterization: curl and lean are rotations and cannot affect
contractivity at all, bias moves probabilities and changes only where
points land, and vigor is the one that touches the singular values — so it
is the one, and the only one, behind a clamp.
Fields§
§curl: f32Radians added to every map’s θ. Fronds curl and uncurl.
Unconditionally safe: R is an isometry.
vigor: f32Multiplier on every singular value, under SIGMA_CEILING. A bushier,
deeper, denser figure — and the only lever that can reach the cliff.
lean: f32Radians every translation vector is rotated about the origin by, bending the plant. Translations do not enter contractivity, so this is unconditionally safe.
bias: f32Shifts sampling weight between the body maps (canonical indices 0 and 1) and the branch maps (2 and 3), renormalizing. The shape is untouched and only the density distribution moves — the cheapest genuinely organic response in the set.
Inert on the dragon, whose two real maps both live in the branch slots (its body slots are the padding), so there is nothing to shift weight away from. Worth a note in the content pass rather than a special case.
Implementations§
Source§impl Levers
impl Levers
Sourcepub const NEUTRAL: Self
pub const NEUTRAL: Self
Every lever at rest. The fit is built here, and resolve at these values
is bit-identical to resolve with no levers at all — every operation
below is guarded so that neutrality is exact rather than approximate.
Sourcepub const EXTREMES: [Self; 2]
pub const EXTREMES: [Self; 2]
The documented extremes, for the sweep that has to cover them.
curl and lean are angles, so their “extreme” is a look choice rather
than a limit — a full turn is the same figure. vigor is quoted well
past what SIGMA_CEILING will grant, precisely so the sweep exercises
the clamp; bias is quoted at the ends of its own range.