Gravity Simulator

A dynamic three dimensional N-body gravity simulator!

You are now following this Submission

* Numerical solver via Verlet algorithm
* Fully vectorized code
* N interacting masses
* Rings or spherical clusters of massless particles
* Elliptical orbit initial conditions. Any orientation.
* Lots of test and analysis
* Create indexed screenshots to make movies

For more details (including a full technical note) see http://www.eclecticon.info/physics.htm

Cite As

Andrew French (2026). Gravity Simulator (https://se.mathworks.com/matlabcentral/fileexchange/41381-gravity-simulator), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired: GalaxyModel

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0