Skip to content

rm1771/Planet-Simulation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Planet Simulation

Overview

This project contains a Python-based simulation that models the orbits of planets in a two-dimensional space. The simulation uses Pygame to visualize the motion of planets around the sun, based on Newtonian mechanics of gravity and motion. It includes models for the Sun, Earth, Mars, Mercury, and Venus, each moving according to calculated gravitational forces.

Features

  • Visualization of planetary orbits in 2D.
  • Realistic simulation of gravitational interactions between multiple celestial bodies.
  • Interactive display of distance metrics and orbit paths.

Requirements

To run this simulation, you will need Python and Pygame installed.

Installation

Follow these steps to set up the project locally:

  1. Clone the repository:
    git clone https://github.com/rm1771/Planet-Simulation.git
  2. Install the required package:
    pip install pygame
    

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published