Expand description
Ported from Arc (MIT) © 2026 Elia Kuratli
Animation curve recorder and < 5% curve error comparator for P0 §3.3 & DoD verification.
Structs§
- Curve
Sample - One frame sample of an animated numeric property (position, width, opacity, scale, etc.).
- Curve
Trace - Recorded curve for one component property, serializable to JSON for
tools/arc-ref/compare.mjs.
Functions§
- max_
curve_ error_ pct - Computes the maximum normalized percentage error (
0.0..=100.0+) between two animation curves, normalized by the reference curve’s value span (or1.0if constant).