You probably want to take a look at either the Terrain Test, or Planet Test of Noctis IV JS.
This project has now been (mostly) discontinued.