Gravity sandbox 80
This is a tiny game where you can play with Newtonian Gravity.
All objects in the programm are attracted to each other with a certain force due to the law of universal gravitation. Any two bodies are attracted to each other with a force that is directly proportional to the mass of each and inversely proportional to the square of the distance between them.
Controls:
LMB - add new dynamic object; S - add new static object
C - clear screen; Space - pause simulation
left/right keys - change the mass (yeah, negative mass is also possible)
this project on TIC-80 site: https://tic80.com/play?cart=3924
Download
Download NowName your own price
Click download now to get access to the following files:
GS80_linux1.1 9 MB
GS80_mac1.1 7.4 MB
GS80_win1.2.exe 6.8 MB
old.zip 25 MB
Comments
Log in with itch.io to leave a comment.
Haha, I don't really understand what it actually meant. anyway the sound is nice
And what exactly is the problem? All objects in the programm are attracted to each other with a certain force due to the law of universal gravitation. Any two bodies are attracted to each other with a force that is directly proportional to the mass of each and inversely proportional to the square of the distance between them.
I thought, They are colliding each other lol😂. When I increased the mass so high all bodies fallen down like there's a gravity pulling it down but there were no bodies under it.
Wow. If it's not difficult, can you take a screenshot? I just don't quite understand what exactly happened.