A simple gravitational simulator made with P5 using JS

To save a simulation, give it a name and click Save. 

To load a simulation, just type the name you gave and click Load. 

To add a body, give its X and Y position, the radius, color (red, green, blue...), and its mass.

Leave a comment

Log in with itch.io to leave a comment.