Building the Earth with WebGL and JavaScript

This is pretty neat. I’m pretty sure that in the last example, you don’t want to offset the mesh position with earthMesh.position.set(-100, 0, 0);. The sphere is currently not at the center of the camera, so when you spin it around with the orbital control, it looks a little weird. (More noticeable if you set the camera close to the earth)