Be aware, the code is not framerate independent. Maybe that was intentional? Put up a PR to make it framerate independent but also just wanted to pass it on, if you have code using requestAnimationFrame and you want your effects/animations to run at the same speed across browsers you need to compute a deltaTime between frames and use that to calculation your animations. Otherwise, people on different devices will get different effects/experiences.
In this case I'm on a M1 Mac and Chrome runs requestAnimationFrame at 120fps, at least on the built in display (external displays get whatever they're set to. I have one at 60 and one at 72)