Created
February 14, 2026 09:37
-
-
Save softmarshmallow/07a72ac90a5328e70dd860b790d506b1 to your computer and use it in GitHub Desktop.
Demonstration of SVG marker refX is not arc-length aware
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This demo animates a small arrow marker’s refX across a large range on a curved path.
The arrow visibly detaches from the endpoint instead of sliding along the curve, proving that:
refX is applied as a simple post-translation in marker space after orientation is solved,
not as a geometric movement along the path’s arc length or local frame.