The JavaScript program below generates and displays a globe of a planet with random terrain. You can rotate the planet with the W, A, S and D keys. For more details, to see the source code, or to make a comment, visit https://thiscouldbebetter.wordpress.com/2014/09/14/generating-a-random-planet-in-javascript/.