# requestAnimationFrame

Core/requestAnimationFrame.js 40
A browser-independent function to request a new animation frame. This is used to create an application's draw loop as shown in the example below.

##### Example:

    // Create a draw loop using requestAnimationFrame. The
    // tick callback function is called for every animation frame.
    function tick() {
      scene.render();
      Cesium.requestAnimationFrame(tick);
    }
    tick();

##### See:

- The Web API Animation Frames interface