title: Three.js animate in real time
body: <p>I'm using three.js and animated some Objects. I animated the object by using the animate() function of three.js. Basically something like that:</p>
  
  <pre><code>function animate(){
      object.position.z++;
  }
  </code></pre>
  
  <p>Unfortunatlly this is called every rendered frame. So on each device with different framerates the speed of my object is different. Is there a way to make this depending on seconds or miliseconds?</p>
  
  <p>thanks</p>