Solar System Simulator
This is what the our Solar System looks like right now!
This Solar System Simulator is an interactive Python-based program that allows you to explore and visualize the planets in our solar system. It uses the Pygame library to render a 2D simulation of the solar system, where you can zoom, pan, and follow planets in real time.
The program syncs with real planet positions. The simulation includes:
- Dynamic planet positions based on real data from the de440.bsp ephemeris.
- Simulated asteroid belt with randomly generated asteroids.
- Interactive controls to change time speed, zoom, and follow specific planets.
- Planet and moon info panels that display relevant information about each celestial body.
Controls
- Pan: Left-click and drag the mouse.
- Zoom: Use the mouse wheel.
- Click on a planet: Follow it or view its information.
- Arrow keys: Adjust time speed.
- Spacebar: Pause time.
- R: Reset time.
- Free View: Stops following a planet.
- Sync Time: Synchronize the simulation with real-time.
The simulation provides a visually rich experience, with planet and moon orbits, starry backgrounds, and glowing effects around the Sun. You can interact with the simulation through various buttons and controls, making it a fun way to learn about the solar system.