Orbital Mechanics Sandbox (JavaScript, Canvas, WebGL, Three.js, Webpack2)
This project is an interactive simulation of the Solar System. Planets are calculated approximately using Keplerian Elements provided by NASA's Jet Propulsion Laboratory.
Technology used:
- JavaScript (self-contained, runs in the browser)
- CanvasRenderingContext2D (provides 2D graphics)
- Three.js / WebGL (provides 3D graphics)
- Webpack (provides build / bundling / dev server)
Requires npm
$ git clone https://github.com/seanpile/expanse-sandbox
$ cd expanse-sandbox
# Install all dependencies
$ npm install
# Start dev server
$ npm start
# Simulation is available at http://localhost:8080/index.html
Sean Dawson – @seanpiled
Distributed under the MIT license. See LICENSE
for more information.