title: Timing in requestAnimationFrame
body: <p>In the ongoing construction of my urban transportation model, I am trying to get the timing right. </p>
  
  <p>I would like to be able to </p>
  
  <p>a) Set the animation speed -- I presume it is trying for 60fps right now, but I would like to be able to set it faster or slower.
  I tried this code:</p>
  
  <pre><code>var fps = 5;
  function draw() {
      setTimeout(function() {
         requestAnimationFrame(animate);
    }, 1000 / fps);
  }
  draw();
  </code></pre>
  
  <p>but given that rAF is called three different times, I am not sure how to implement it. I tried it on all three, without success. </p>
  
  <p>b) I would like to set a slight delay in the launching of each "vehicle," so that they don't all set out at once. </p>
  
  <p>Fiddle here: <a href="https://jsfiddle.net/g3yhr00L/" rel="noreferrer">https://jsfiddle.net/g3yhr00L/</a></p>