pygame is
Simple DirectMedia Layer is
Site Swing
Gravity Situation

Gravity Situation - 3.0.0

Ian Mallett (geometrian)



At the request of a friend I have at NASA, I modified Gravity to show what happens to the inner planets when the sun explodes! Press F1 to do so. You'll have to do it quickly--to get all of the planets on screen, keep them visible, and prevent the planets from taking years to go around the sun, the laws of physics had to be altered. The orbits are very unstable.


Just added a tracing system on the planets only. The planets leave tracks. You can easily see the instability of the orbits; they decay constantly.


Home Page:


click to view original size


Gravity Situation - 3.0.0 - Feb 11, 2008
Gravity Situation - 2.0.0 - Feb 8, 2008 account Comments

If you wish to leave a comment with your account, please sign in first.

February 19, 2008 11:49pm - Wil Alvarez - nickname: (satanas666) - 5/5
Way cool dude! It's really amazing. I can't imagine all the maths involved in this simulation... The sun explode slowly but maybe is this old machine. Really interesting. Way to go.

Btw, Solaris is UNIX, not GNU/Linux and isn't free. OpenSolaris is the open source part of Solaris and is free :D
February 18, 2008 6:32pm - Ian Mallett - nickname: (geometrian)
Solaris is free, and it can run .exe files...
February 11, 2008 10:49pm - Ian Mallett - nickname: (geometrian)
Added source.
February 11, 2008 10:10pm - Wil Alvarez - nickname: (satanas666)
Hey it looks really cool dude! But i'm a GNU/Linux users and i can't run the .exe file... Post the source xD i wanna try it :D
February 11, 2008 9:40pm - Ian Mallett - nickname: (geometrian)
Version 3.0.0 released!
February 8, 2008 3:45pm - Ian Mallett - nickname: (geometrian)
February 8, 2008 3:45pm - pymike - nickname: (pymike) - 5/5
This is AWESOME!!! The exploding sun is kinda slow, but I guess that's normal when you got several hundred particles and lots of math calculations going at the same time. Nice work! You rock at math!
February 8, 2008 3:40pm - Ian Mallett - nickname: (geometrian)
Version 2.0.0 released! (Version 1.0.0 was pre-release work).

our projects welcomes all python game, art, music, sound, video and multimedia projects. If they use pygame or not.
recent releases
Jan 31, 2017

Jan 24, 2017

Jan 19, 2017

Jan 18, 2017

Jan 7, 2017

Dec 30, 2016

Dec 8, 2016

Nov 28, 2016

Nov 27, 2016

... more!
for pygame related questions, comments, and suggestions, please see help (lists, irc)