Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/t3ac0d3/planetary-system-simulation
Planetary System Simulation enables users to simulate the trajectories of two planets in a gravitational system. Through a simple web interface, users can predict planetary movements using technologies such as Flask, NumPy, and SciPy.
https://github.com/t3ac0d3/planetary-system-simulation
astronomy flask gravitational-dynamics numerical-analysis numpy physics planetary-systems scipy simulation web-application
Last synced: about 1 month ago
JSON representation
Planetary System Simulation enables users to simulate the trajectories of two planets in a gravitational system. Through a simple web interface, users can predict planetary movements using technologies such as Flask, NumPy, and SciPy.
- Host: GitHub
- URL: https://github.com/t3ac0d3/planetary-system-simulation
- Owner: T3aC0d3
- Created: 2024-05-18T22:16:13.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-05-19T12:30:44.000Z (6 months ago)
- Last Synced: 2024-10-01T06:03:05.780Z (about 1 month ago)
- Topics: astronomy, flask, gravitational-dynamics, numerical-analysis, numpy, physics, planetary-systems, scipy, simulation, web-application
- Language: JavaScript
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Planetary System Simulation 🪐🚀
Welcome to the **Planetary System Simulation** project! This web application allows you to simulate the trajectories of two planets in a gravitational system.
## Features
🌌 **Simulation Form**: Enter the masses, initial positions, and velocities of two planets.
📈 **Trajectory Prediction**: Calculate the predicted trajectories based on your input.
🎥 **Live Simulation**: View the trajectories interactively with Plotly.## Technologies Used
🖥️ **Python**: Backend powered by Flask.
🔢 **NumPy**: For numerical computations and array handling.
📊 **Plotly**: To create interactive visualizations of the trajectories.
🌐 **HTML/CSS**: For the frontend user interface.## Getting Started
To run this project locally:
1. 🚀 Clone the repository to your local machine.
2. 📦 Install the required dependencies: `pip install -r requirements.txt`
3. 🖥️ Start the Flask application: `python app.py`
4. 🌐 Open your web browser and navigate to `http://localhost:5000`## How to Use
1. 📝 Enter the masses, initial positions, and velocities of the two planets in the provided form.
2. 🔮 Click "Predict Trajectory" to simulate and visualize the paths of the planets.
3. 🌠 Use the interactive plot to observe the planetary movements.
4. 🎬 Optionally, click "Show Live Simulation" for a dynamic visualization of the trajectories.## Contributing
We welcome contributions! If you have suggestions, bug reports, or feature requests, please open an issue or submit a pull request.
---
👨💻 Happy simulating! 👩💻