Until the docs are comperhensive enough, take a peak inside index.html
. Here you will see the ThreeJS dependant libraries, plus the webgl-earth.js
file.
Simply call the following to create an earth instance.
var earth = new Earth({
container: '.container',
rotate: true
});
- Better docs
- More configurable options