Newtonian gravity simulation
It's a bit unstable. Vector math and fixed point numbers don't mix too well, although I'm sure this could be modified to better utilize the available digit range..
Press Z to pause and adjust the velocities.
Press Ctrl+R to reset the simulation.
[Please log in to post a comment]