Capítulo 263 de 411
Morphs one SVG <path> shape into another by animating the d attribute data, letting a shape smoothly reshape into a completely different one.
gsap.registerPlugin(MorphSVGPlugin);
gsap.to("#circle", { duration: 1, morphSVG: "#lightning" });
<path> (and <polyline>/<polygon>) can be morphed directly — use convertToPath() first for <circle>/<rect>/<ellipse>/<line>.