the trick is actually very easy. create different animation states for a specific element. make sure the number of points is the same for all. The more frames you have, the smoother the animation will be (at least in my case). then morph between the path d values using motion lib
some bts -> usually I first start in figma to visualize the idea, this helps break down the process in individual steps and helps in exploring some cool visuals as well. (so later I dont need to spend hours on composition) then I code it up from scratch directly in cursor