Morphing Path Solver
The short story: It would be super useful at times to have some sort of solver for converting one path shape to another like the MorphSVG plugin for gsap.
https://gsap.com/docs/v3/Plugins/MorphSVGPlugin
Details: I recently recreated a stateful animation that I had previously done in Greensock. It is basically a loader that morphs into either a success checkmark, a warning triangle, or a failure circle with a slash through it. To move from the circle shape of the loader to the rounded triangle of the warning state, I simply used the MorphSVG plugin, and it figured out all the hard stuff for me.
GSAP describes how their example works like this:
In this example, MorphSVGPlugin finds the path with the ID of "circle" and the path with the ID of "triangle" and automatically figures out how to add enough points to the circle to get a super smooth morph. It will rip through all that ugly path data, convert everything to cubic beziers, and dynamically subdivide them when necessary, adding points so that the beginning and ending quantities match (but visually it looks the same). It's all done seamlessly under the hood.
When I tried to add all the points I needed to the circle for it to transform to a nice rounded triangle, I could never get it exact. I solved my issue by hiding the perfect circle of the loading state at the moment the morph began, and showing the circle that was ‘close enough’ only at the very start of the morph - so my imperfections were hidden in the animation. Something that solved the path calculations would be really useful.
I’m not sure where a tool like this would live in the interface, but I could imagine something where you have a starting path selected, and you choose a ‘target’ path. The solver would ensure that these two paths have the same number of points. An animatable property would then be present for controlling the timing of all the path points as they move to the new position.