This is a Python application that simulates projectile motion and plots a graph of the trajectory of a particle acting under gravity.
- Simulate projectile motion with user-defined initial velocity and launch angle.
- Plot the trajectory of the projectile in a customizable graph.
- Set custom x and y limits for the graph.
- Teaching aid.
-
Download the Executable:
- Go to the GitHub releases page.
- Find the latest release and locate the Windows executable file (e.g.,
projectile_motion_simulator.exe
). - Click on the file to download it.
-
Run the Executable:
- Once the executable file is downloaded, double-click it to run the application.
-
Enter Initial Parameters:
- You'll see the application window with fields for "Initial Velocity (m/s)" and "Launch Angle (degrees)."
- Enter the desired initial velocity and launch angle.
-
Set Graph Limits:
- You can adjust the X and Y limits for the graph using the sliders.
- Set the desired limits for the graph.
-
Update the Plot:
- Click the "Update Plot" button to visualize the projectile motion.
-
Download Python File:
- Download the Python file from the repository.
-
Install Dependencies:
-
Make sure you have Python 3.x installed on your system.
-
Install the required dependencies using pip:
pip install tkinter matplotlib numpy
-
-
Run the Python Script:
- Run using the following:
python3 Projectile Motion Simulator.py
- Run using the following:
-
Enter Initial Parameters:
- The application window will open with fields for "Initial Velocity (m/s)" and "Launch Angle (degrees)."
- Enter the desired initial velocity and launch angle.
-
Set Graph Limits:
- You can adjust the X and Y limits for the graph using the sliders.
- Set the desired limits for the graph.
-
Update the Plot:
- Click the "Update Plot" button to visualize the projectile motion.
- Python 3.x
- tkinter
- matplotlib
- numpy
Contributions are welcome! If you'd like to contribute to this project, feel free to fork the repository and submit a pull request. Here are some areas where you can contribute:
- Adding new features.
- Enhancing the user interface.
- Improving code performance.
- Fixing bugs or issues.