A simple gravitational simulator made with P5 using JS for a university project. 

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.

 If a body has more than 20 mass it is considered a star, and it does not have an initial velocity.

StatusPrototype
PlatformsHTML5
AuthorCaixita
GenreSimulation
Made withp5.js
TagsMinimalist, No AI, Space
Average sessionA few minutes
InputsKeyboard

Leave a comment

Log in with itch.io to leave a comment.