Skip to content

WebGL Solar System & orbital mechanics simulator

License

Notifications You must be signed in to change notification settings

chris-hs-chung/jsorrery

 
 

Repository files navigation

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

About

WebGL Solar System & orbital mechanics simulator

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 87.2%
  • HTML 8.9%
  • CSS 2.1%
  • GLSL 1.8%