simvx.core.math.curves¶
Curve — 1D property-animation curve with linear interpolation and optional bake.
Module Contents¶
Classes¶
1D curve for property animation — stores (t, value) pairs with linear interpolation. |
API¶
- class simvx.core.math.curves.Curve(points: list[tuple[float, float]] | None = None)[source]¶
1D curve for property animation — stores (t, value) pairs with linear interpolation.
Initialization
- sample_baked(t: float) float[source]¶
Sample using a baked (cached) lookup for performance. Falls back to sample().
- property point_count: int¶