forked from mrdoob/three.js
-
Notifications
You must be signed in to change notification settings - Fork 0
Some patterns used in examples
alteredq edited this page Sep 21, 2011
·
1 revision
This lets browser control rendering updates frequency (so that, for example, resources aren't wasted when canvas element is not visible):
http://paulirish.com/2011/requestanimationframe-for-smart-animating/
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
These tags control viewport size and scale for mobile browsers (where page content may be rendered at different size than visible viewport).