Skip to content

Rishi943/orbit-visualizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌍 Orbit Visualizer 🌌

A beginner-friendly Python project that simulates 2D Keplerian orbits of planets around the Sun with real elliptical geometry, beautiful plots, and Excel + GIF exports.

Python Version License: MIT GitHub Stars


🪐 Overview

This project simulates elliptical orbits for multiple bodies around the Sun using Kepler’s equation, rendered with matplotlib.
It’s fully offline, non-interactive (Agg backend), and exports plots, animation (optional GIF), and tidy ephemeris data in Excel.


⚙️ Features

  • Simulates orbits for Mercury → Saturn and a high-eccentricity comet ☄️
  • Solves Kepler’s equation with Newton–Raphson method
  • Produces two static plots (full system + inner planets)
  • Black background with colored bodies (yellow Sun, blue/green Earth, white comet)
  • Optional animated GIF using imageio
  • Exports orbital data to Excel (orbit_ephemeris.xlsx)

🧩 Installation

1️⃣ Clone the repository

git clone https://github.com/Rishi943/orbit-visualizer.git
cd orbit-visualizer

About

A simple Python project simulating 2D planetary orbits using Kepler’s laws and matplotlib.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages