e-diamond / planet-sim

A simulator for the gravitational interactions between astronomical bodies

Home Page:https://e-diamond.github.io/planet-sim/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Solar System Simulator

Create your own solar system!

Screenshot of a simulated solar system with a central star and two orbiting planets, one red and one blue

Use the left-hand menu to add a new body to the system, and the right-hand menu to control the simulation (play/pause, speed control, reset, and remove bodies). You can also click and drag on the screen to see the simulation from different angles!

How many objects can I add to the simulation?

As many as your computer will render! Note that there is a limit of 5 stars as the graphics engine used only supports 5 light-casting objects on-screen at any one time.

What integration method is used here?

Currently, the Euler method is used for integration, but other methods are planned to be added soon!

About

A simulator for the gravitational interactions between astronomical bodies

https://e-diamond.github.io/planet-sim/


Languages

Language:JavaScript 95.8%Language:HTML 4.2%