An open API service indexing awesome lists of open source software.

https://github.com/monteirooscar98/solar-system-animation

Visualize the Solar System in Motion
https://github.com/monteirooscar98/solar-system-animation

jupyter-notebook matplotlib-animation skyfield solar-system

Last synced: 2 months ago
JSON representation

Visualize the Solar System in Motion

Awesome Lists containing this project

README

          

# 🌌 Solar System Animation using Skyfield

**Visualize the Solar System in Motion 🌍🪐🌞**

This project animates the orbital positions of the planets in our Solar System using real astronomical data via [Skyfield](https://rhodesmill.org/skyfield/). It simulates planetary motion for a a specified range of timeand renders a beautiful 2D visualization with a space-themed aesthetic.

---

## 📽️ Preview

![Solar System Animation Preview](https://github.com/MonteiroOscar98/Solar-System-Animation/blob/main/plot1.png?raw=true)

![Solar System Animation GIF](https://github.com/MonteiroOscar98/Solar-System-Animation/blob/main/plot2.gif?raw=true)

🎥 [Click here to download the full MP4 animation](https://github.com/MonteiroOscar98/Solar-System-Animation/raw/main/plot2.mp4)

📓 [View the Jupyter Notebook on GitHub](https://github.com/MonteiroOscar98/Solar-System-Animation/blob/main/Solar_System_Position.ipynb)

---

## 🚀 Features

- Accurate planetary motion from Mercury to Neptune
- Uses real ephemeris data (`de421.bsp`) from NASA JPL
- Minimalist 2D animation with orbit paths and starfield background
- Animated in `matplotlib` and supports HTML5 video output
- Displays date range and total duration of the animation

---

## 📦 Requirements

Install the required Python packages:

```bash
pip install skyfield matplotlib numpy