(remixed from nbody-vectors, by ohshima) by rubilebron
See Code Download Embed
A gravity simulation with arbitrary number of mass with different weights. Set the initial condition to change the number of bodies and their initial conditions. black arrows show the velocity vector and blue ones show the acceleration.

Created March 29, 2022

Last updated March 29, 2022

Published March 29, 2022