Skip to content

Basic Setup

Suraya Shivji edited this page Apr 9, 2018 · 3 revisions

Planets.js is built on top of three.js, a WebGL framework for creating 3D graphics on the Web. As such, you need to use three.js for your scene management in order to use Planets.js. If you're already familiar with three.js then you already know the basics of Planets.js as well!

How do you add Planets.js to your project? In just one simple step! Add the three.js and planets.min.js files to your project along with <script> tags for each.

<script src='three.js'></script>
<script src='planets.min.js'></script>

The unminified build, planets.js, is documented and can be used for a development environment.

Clone this wiki locally