title: requestAnimationFrame running slow on weak machines. Work around?
body: <p>So, I am doing an animation (Not on a website/webpage!), that uses <code>Javascript</code>. For the animation, I use <code>requestAnimationFrame</code> instead of <code>setInterval</code>, as <code>setInterval</code> did not work well enough for what I need.</p>
  
  <p>However, although <code>requestAnimationFrame</code> works well on decently powered devices,  slow devices can't keep up with the standard 60 FPS, thereby slowing down the entire animation time. </p>
  
  <p>Is there a way I can make the animation work under a time frame, and have the FPS vary depending on how well it keeps up? Other ideas are welcome as well.</p>
  
  <p>(Note, I would really prefer not to post code, just take my word about this. I just want ideas)</p>