[2008] Accurate simulation of the solar system
Hey all, after that very nice piece of code submitted in response to the orbiting button thread, I just finished the concept by creating a model of the solar system that is accurate, at least in terms of planetary motion. Size and distance from the sun are estimates at best.. The inclusion of earth's moon was just for fun :p
Nothing special, but quite fun to watch, especially if you're able to find the right starting degree so you can watch a simulated Grand Alignment as it happens. No hints on that one.
Zip is attached below.
# 1 Re: [2008] Accurate simulation of the solar system
If this is to demonstrate your code rather than to ask a question you should ask a moderator to move it to the CodeBank forum.
# 2 Re: [2008] Accurate simulation of the solar system
Hey thats nice. :)
But you shouldnt include the exe's as the members should be able to compile from your code anyways. Its much safer too. ;)
Do you want me to move it to CB or is it stil in progress as I didnt see any moons around other planets?
Ps, the addition of some rings to show the orbiting path of each planet would be helpful.
# 3 Re: [2008] Accurate simulation of the solar system
Yes please move it to codebank, my apologies! i've never submitted finished code before so I didn't know where to put it! As for the other moons, i'll be adding those slowly, and may make it more interactive. On-going project maybe :)
And thanks for the great rings idea!
# 4 Re: [2008] Accurate simulation of the solar system
I haven't looked at your finished product but have fun doing Pluto, if indeed you consider it a planet. :D
# 7 Re: [2008] Accurate simulation of the solar system
Now. Write it such that you can add items at will, wherever you want, in a variety of colors and sizes, and there's nothing predefined about it. Every action is computed fresh every time.
And the one thing we do agree on: watching gravity in action is fun.
# 8 Re: [2008] Accurate simulation of the solar system
Madness.. I think i'll make it a waste-of-time project, like the calendar ( http://www.vbforums.com/showthread.php?t=497269) i just finished..