mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-09 21:14:51 +00:00
Spine::at_length computed tangents from flattened polyline chords, which are piecewise constant and jump discretely between chords on curved spines. Steps oriented to the spine with Align to Path stuttered at large step counts. Store the original PathData in Spine and compute the tangent from the original cubic at the true arc-length position via ParamCurveDeriv, instead of flattened chord directions. Adds a regression test walking 200 samples along a curved spine and asserting each tangent step stays under 0.1 radians.