webglearth/examples.webglearth.com — pull request #1 by trusktr (2014-12-08 06:08:12+00:00)
Title: Replace setTimeout with requestAnimationFrame.

requestAnimationFrame is nice: https://developer.mozilla.org/en-US/docs/Web/API/window.requestAnimationFrame.

Here's a polyfill for older browsers so it falls back to setTimeout: https://gist.github.com/paulirish/1579671.