I’ve just improved the WebGL tutorials:
As promised, they now use requestAnimationFrame — or, more precisely, the requestAnimFrame cross-browser compatibility function provided by this Google utility module — to schedule their repaints. This means that they won’t hog CPU/GPU time when the pages are on hidden tabs, which should help avoid getting WebGL an underserved [...]



