Namespace CodeSmile.AnyMotion.Core.Noise
Classes
- NoiseMath
Pure, allocation-free noise and oscillator functions shared by every product. Rig-agnostic: takes and returns plain numbers only, so the same functions can drive a humanoid bone, a camera, or a machine part unmodified. See
shake-noise-spec.md§2 and §4 for why this lives in Core and why per-axis 1D noise was chosen over a 3D/vector noise field.
- Trauma
Squared-decay burst model (Eiserloh's trauma model): a 0..1 value set by an event and decayed back to 0 over time, whose square is used as an amplitude multiplier so a burst starts strong and fades quickly rather than ramping up. Pure functions over plain floats — the caller owns the state, so any driver can add trauma without this type needing to know what a "driver" is.
Enums
- Axis3D
Which local axes a noise or shake channel drives. Combinable, so a channel can drive any subset.