This project is an interactive solar system representation that shows the relative positions of the planets to each other as they orbit around the sun. We were inspired by the fact that the theme for the hackathon was "Exploration," and we both have always been interested in space. All the speeds of the planet's orbits are accurate to each other. When a user clicks on two of the planets and clicks the button that says "Calculate Orbital Distance," the average orbital distance between the two planets will be displayed. Orbital distance is the distance between the planets when they are both in line with the sun. The live distance between the two planets, as shown in the simulation, will also be shown. This is the actual distance between the planets. This program calculates the updated coordinates of each planet. Each planet is assigned a fixed distance from the sun and a fixed angle that continuously adjusts to indicate its location along the orbit. Since the angle value changes over time, new coordinates are created that allow for accurate, instantaneous orbital movement of all planets. On the other side, a space quiz will be displayed. The Space Quiz will have 5 questions about various space topics and will allow viewers to demonstrate a wide understanding of astronomy. The multiple-choice quiz will tell you a final score out of 5 at the end. Our vision for this project is that it will be in space museums as an attraction to children. Our goal in creating this was to show children, or even anyone interested in space science, the basics of astronomy and foster their interest more with a fun and interesting demonstration. We hope to expand more on this idea by making this into a full app or website soon. This app or website will contain all of the information about space that beginners can easily understand. Some challenges that we faced were that initially, we had a lot of problems with getting the distance of the planets correctly, but we managed to solve that with some debugging and mathematical skills.

Built With

Share this project:

Updates