Skip to content

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.

Notifications You must be signed in to change notification settings

NetBr3ak/Planetary-System-Simulation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

7 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

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! ๐Ÿ‘ฉโ€๐Ÿ’ป

About

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.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •