I've had the chance to spend a couple weeks messing with WebGL for work. Three.js is an invaluable library if you haven't used it. But one of the most important things I've learned using it, is the equation to set the camera's distance from an object so that the object's dimensions are pixel perfect. There is a similar equation in Flash when working with Away3D or Papervision3D. camera's z = viewp