Skip to content

Latest commit

 

History

History
32 lines (17 loc) · 974 Bytes

README.md

File metadata and controls

32 lines (17 loc) · 974 Bytes

Planets.js 🌎

JavaScript 3D Planet Library

Planets.js is a simple library built on Three.js that creates procedural and texture-based Planets.

Installation

Script

Download the minified build at libs/planets.min.js and include it as a script tag in a web page. You must include three.js as well, and planets.js must be included after.

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

Examples

You can use the interactive planet builder tool to see the attributes' effects on a planet in real time.

Alternatively, you can see demos in the examples directory

Documentation

You can find the docs here.

Dependencies