Skip to content

The code simulates accurate 3D solar system model with accurate planet positions and their respective dimensions. Might be helpful for astronomy classes in high school.

License

Notifications You must be signed in to change notification settings

M-Roshal/3D-Solar-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

3D Solar System Visualization

Project Overview

This project provides a 3D visualization of the solar system, illustrating the positions and movements of planets around the sun.

Features

  • Realistic rendering of planets and orbits.
  • User controls to manipulate the view.
  • Simulation of orbital mechanics based on gravitational interactions.

Dependencies

  • Python 3.x
  • Pygame
  • NumPy
  • Matplotlib

How to Run

  1. Ensure you have Python 3.x installed.
  2. Install the required dependencies:
    pip install pygame numpy matplotlib
  3. Run the simulation:
    python solar_system.py

Orbital Mechanics

The simulation uses Kepler's laws of planetary motion and Newton's law of universal gravitation to calculate the movement of each planet. The position of each planet is updated in real-time based on its orbital parameters.

About

The code simulates accurate 3D solar system model with accurate planet positions and their respective dimensions. Might be helpful for astronomy classes in high school.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages