Skip to content

Conversation

@wisniewskij
Copy link
Contributor

@wisniewskij wisniewskij commented Dec 5, 2025

Summary

Implemented SVG Path parser and normalizer that is needed for SVG Path interpolation. It will first change all the commands into their absolute counterparts and then convert everything that isn't M and Z into C.

I wrote it in a way that it won't throw an error for every invalid path but rather try to work with what it gets (what I mean here, can be easier understood by looking through the unit tests).

Test plan

I added unit tests.

yarn test -t "processSVGPath"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants