Log In  

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.

Cart #newtgrav-0 | 2021-06-11 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
3

P#93346 2021-06-11 09:12 ( Edited 2021-06-11 09:14)


[Please log in to post a comment]