Skip to main content

Module trace

Module trace 

Source
Expand description

Ported from Arc (MIT) © 2026 Elia Kuratli Animation curve recorder and < 5% curve error comparator for P0 §3.3 & DoD verification.

Structs§

CurveSample
One frame sample of an animated numeric property (position, width, opacity, scale, etc.).
CurveTrace
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 (or 1.0 if constant).