Human note: I inversed the check against delta of whether we should
update this frame or not. I had a bit of trouble explaining that to the
LLM.
There are likely more hardcoded things that needs to be tweaked around
the framerate.
>>> Prompt:
Given javascript and the snippet requestAnimationFrame(update)
Give me code on how to throttle the update() function to a fixed FPS. Do
not add any new arguments to the update() function.
Use high precision timer.
Declare and initialize all variables needed.
I don't need explanation this time, just give me the code.