First of all, I haven't noticed any performance issues (none were reported by my users yet - although if there are, I don't think they would necessarily know where it's coming from). This is just a concern of mine.
On component mount I am creating several tweens, in extreme cases as many as 18. They all morph one path to another path using morphSVG like so:
Has anyone done anything similar and have you noticed any performance issues? Was there any testing done by the GSAP team with cases like this?
The gif attached on the following post illustrates the end result for my users:
I am basically using morphSVG for frame animations. It allows me to create smooth looking animations with only 2 different frames which is really cool.
Performance concerns with multiple morphSVG tweens?
in GSAP
Posted
Hi all,
First of all, I haven't noticed any performance issues (none were reported by my users yet - although if there are, I don't think they would necessarily know where it's coming from). This is just a concern of mine.
On component mount I am creating several tweens, in extreme cases as many as 18. They all morph one path to another path using morphSVG like so:
On component unmount I kill them with this:
Has anyone done anything similar and have you noticed any performance issues? Was there any testing done by the GSAP team with cases like this?
The gif attached on the following post illustrates the end result for my users:
I am basically using morphSVG for frame animations. It allows me to create smooth looking animations with only 2 different frames which is really cool.