Hello,
so I wrote a small game. What it basically does is you can press any letter on the keyboard and it plays short sound and draws a circle with CSS and that circle shrinks down in .7 secs and then it’s gone. What I’ve noticed tho is that on slower computers this game is really lagging. It’s also lagging on my MacBook Pro Retina 2015 13″ on Safari. I was wondering is there a way to optimize it so it doesn’t lag so much?
You can find the game here: http://arnsa.github.io/TapSound/
And the code here: https://github.com/arnsa/arnsa.github.io/tree/master/TapSound