mrdoob/three.js — Issue #1168: CPU pinned
Author: cbeust
Created: 2012-01-23 05:04:06+00:00
State: open

It looks like requestAnimationFrame() is causing every three.js page to pin the CPU, even when no changes have been happening in the scene.

Would it be possible to introduce a different mode where callers notify three.js when a change has been made that requires a redraw? As long as such a redraw request hasn't been made, three.js could abstain from calling the render method, which would prevent the CPU from being pinned because of the busy wait.