/jsorrery

WebGL Solar System & orbital mechanics simulator

Primary LanguageJavaScriptMIT LicenseMIT

jsOrrery

jsOrrery is a Solar System / orbital mechanics simulation, or orrery, that I wrote in WebGL and Javascript. The main feature of jsOrrery is that the planets positions are accurate in regards to the date you set, and it has the consequence that you can observe things that happen in the real Solar System.

See the project live at [orrery.com] (http://orrery.com). Thanks to [@neave] (https://twitter.com/neave) for the domain :)

Usage

You can use webpack to display the app in a local environment with npm start, which will then make the orrery available at http://localhost:3000

To build the js, you can run webpack directly in the terminal, for example webpack --config webpack/prod.config.js. index.html, shaders and img are required to run jsOrrery, and are not built with webpack, only the js is built.

Credits

More details on La Grange's blog at http://lab.la-grange.ca/en/jsorrery