Saw this bug that was breaking these examples while I'm poking around and learning things so I figured I'd update it for you as well, THREE.OrbitControls: The second parameter "domElement" is now mandatory.
I also noticed the default template that is created when using threejs is the wireframed sphere, but I was going the frontend masters course so that's what led me to come and find the square example.
Saw this bug that was breaking these examples while I'm poking around and learning things so I figured I'd update it for you as well,
THREE.OrbitControls: The second parameter "domElement" is now mandatory.
I also noticed the default template that is created when using threejs is the wireframed sphere, but I was going the frontend masters course so that's what led me to come and find the square example.