3 ms·It's using setInterval on purpose, because with requestAnimationFrame the effect is a bit too fast.by DiThi 9y agoIt's using setInterval on purpose, because with requestAnimationFrame the effect is a bit too fast.