A basic use of three.js. The result can be seen on rawgit https://cdn.rawgit.com/DbxDev/GravitationWithThreeJS/master/index.html
DbxDev/GravitationWithThreeJS
A simple simulation of the earth (and the moon) rotating around the sun. Uses three.js to render the scene in basic 3D.
JavaScript