As for the performance, what exactly cause you issues? Was it the number of balls? Little dudes?
And if you don’t mind sharing: What browser are you using and what specs is your device running.
Being entirely honest I'm not sure exactly what caused the lag, but I will say It may have something to do with me still using the same computer I used 5 years ago. Also I ran it on firefox.