It is indeed using javascript to do those parts, eg https://github.com/internet-development/www-sacred/blob/4454... .
My limited JS and React knowledge says that CSS is the right way to do most of that, or if that's not possible I think JS's requestAnimationFrame. React doesn't seem to be necessarily the issue here, though it may not be helping.
Thanks for digging it up. Hm. Maybe my machine was under load at the time.