A typical page using WebGL to diagram live examples

This example loads the iframes only if they come on screen. It does this by simply using the polyfilled RAF. The first RAF it gets per iframe loads the iframe

These iframes should run at 60fps. A wrapped RAF handler makes sure the iframe is on the screen before calling it.

Hopefully browsers will fix this issue.

Compare to the unwrapped version.