Inspiration
To learn how planets move in our solar system
What it does -
Our program is a full simulation of our solar system and how the planets move in an orbit due to gravity.
How we built it
In python, we used the libraries turtle and json. Json was used to store the information on each of the planets, such as mass and perihelion. Turtle was used for the animations and the actual window for the simulator. We also used a couple of the math library and default math functions from python in order to calculate the forces on the planets to cause the elliptical movement in orbit.
Challenges we ran into
- Planets moving randomly around the sun
- Planets flying into the sun
- The sun moving off the screen
- The planets not showing up
- Not being able to see a few planets
- Planets moving too fast
- Not being able to read from a json file
Accomplishments that we're proud of
- Being able to make the planets move in an elliptical route
- Being able to read from a json file
- Being able to have steady animations with no lag
Log in or sign up for Devpost to join the conversation.