The problem is that in order to make this transformation possible all the svgs between which we make this transformations need to have the same nodes. Basically the path needs to be the same, just with other values.
What I was doing now was that I created a shape, exported the svg and then formed a new shape by moving all the nodes manually. But this gives me irregular shapes. Is there a tool in Illustrator that lets me wrap a given number of nodes around a shape? Or another tool or technique that would make this more satisfying?