Many celestial bodies

by fizyk
  scripts
  sprites
See inside
Instructions

Run in Turbo mode (Shift + click)!
Simulation of many celestial bodies. Number of bodies = nG. Two bodies interact if they are further apart than rMinG. I use the approximation:
dr = v * dt
dv = a * dt

Notes and Credits

The names of global variables end with "G".

Shared: 17 Mar 2018 Modified: 17 Mar 2018
Favorite this project 1
Love this project 1
Total views 5
View the remix tree  1
  
More projects by fizyk