Generates a random terrain using the 'Diamond-Square' algorithm
and displays it in threejs. Use the mouse to rotate the camera and arrow
keys to move the camera position on the map. Space toggles an animated
rotation. Drawing code is not compatible with newer versions of threejs.