Hello, I have a SVG file on my home page with about 500 dots that I animate randomly as particles, using this basic GSAP tween:
gsap.to('.particule', {
duration: 200,
y: "random(-200,200, 5)",
x: "random(-200, 200, 5)",
repeat: -1
});
Is it too demanding for the user resources or is it the right way to do it? Thanks!