The Realistic Projectile Simulation is an advanced computational tool designed for simulating projectile motion with a focus on realism. It accounts for various physical factors such as air resistance, wind speed, and angle of launch. This tool is ideal for educational purposes, physics research, and engineering applications.
Requirements:
- Python 3.8 or higher
- PyQt6 for GUI components
- NumPy for numerical computations
- Matplotlib for plotting trajectories
Installation:
- Clone the repository:
git clone https://github.com/trymthoren/realistic-projectile-simulation.git
- Navigate to the cloned directory.
- Install dependencies:
pip install -r requirements.txt
main.py
: The entry point of the application. It sets up the main window and the application loop.gui.py
: Handles the graphical user interface, allowing users to input parameters and view simulations.air_resistance.py
: Contains functions for calculating the effects of air resistance on the projectile.angle_loop.py
: Iterates over different launch angles to simulate and compare trajectories.monte_carlo_simulation.py
: Implements Monte Carlo simulations for a probabilistic analysis of projectile motion.
To run the application:
- Ensure you are in the project's root directory.
- Execute
python main.py
. - Use the GUI to input simulation parameters and run simulations.
We welcome contributions, including bug fixes, feature requests, and documentation improvements. Please submit pull requests for any contributions.
This project is licensed under the MIT License. See the LICENSE file for more details.