Open Cirvious45 opened 2 years ago
Your code, copied and pasted directly into an HTML file, works fine for me. It's broken, you need to mess with its position a bit because its position is being added to the path so you need to move either the path or the group to (0, 0) I think, but there's no bug here.
Hello,
I am trying to use anime.js to animate the position of an SVG group along an SVG path. I can animate a member element of the group along the path without any issues, however whenever I attempt to do the same thing with the SVG group, nothing happens.
I know that SVG groups do not support x and y properties, the way an SVG rectangle does and cx and cy properties the way an ellipse does.
It there a simple way to go about doing this?
The code below shows what I am trying to do.
Animate #group1 to move along #path600.
Thanks.