title: Better animation method than requestAnimationFrame for JavaScript?
body: <p>Everywhere I see the advice to use requestAnimationFrame. What nobody tells you is that Chrome will throttle to 48 or 30fps based on your power plan, how many tabs you have open, and the phase of the moon, without notifying you in any way. It will do this regardless of the actual work load you’re doing.</p>
  <p>For an actual animation, this is fine, if suboptimal. You use the elapsed time to generate a new frame of animation independent of frame rate.</p>
  <p>But for something like an emulator it’s unacceptable.</p>
  <p>I’m using SharedArrayBuffers, so I’ve already got the annoying headers included with my JavaScript that lets you use a few extra API’s. Is there any alternative to requestAnimationFrame or any way to force it to actually go at least 60Hz?</p>