A desktop application that simulates orbits and gravity. Users can customize their own orbits and create their own planetary systems! Provides a full N-body simulation, as well as a simple mode allowing the user to just click around and spawn in planets, so no physics knowledge is needed.
Milky Way Simulation | Precision Orbit Tracking |
---|---|
- Clone this repo
- In this directory, run:
npm install && npm start
- Press the hamburger button in the bottom left corner and have fun
To build a publish ready version of the app, in this directory, run:
npm dist
This will create a build that is native to your OS.
Building the app for multiple operating systems at once is not recommended because of the compliation errors that often arise, but you can run:
npm dist-all
If you're brave enough.
- Two modes
- Advanced: larger simulation details
- Simple: black hole type planet spawning
- Full N-body simulation (simulation of a dynamical system of particles)
- Play, pause, restart simulations
- You can use preset planitary systems, create your own, or edit the presets
- Record and export a gif of the simulation
- Object collisions
- Watch orbit track
Sample Screen | Galaxy Cluster |
---|---|
- Click the hamburger button in the bottom left of the screen
- Maneuver through the menu system
- If on Advanced, place your planets/choose your preset and then click Playback > Play
We use SemVer for versioning. For the versions available, see the tags on this repository.
- Electron - To program the cross-platform app
- Electron Builder - To build a publish ready version of the app
This project is licensed under the MIT License - see the LICENSE file for details