This project uses Django and Docker to display a simulation of an inclined projectile motion with air resistance in a web application.
The simulation calculates the trajectory of a projectile under the influence of gravity and air resistance. It solves the following differential equation:
and the air drag force
- Simulation of projectile motion with adjustable initial conditions
- Realistic modeling of air resistance
- Interactive web interface to visualize the trajectory
- Easy setup with Docker
-
Clone the repository:
git clone https://github.com/51moon/projectile_motion.git cd projectile_motion
-
Create and activate a virtual environment:
python -m venv .venv source .venv/bin/activate
-
Build the Docker image:
docker build -t projectile_motion .
-
Run the Docker container:
docker run -it -p 8080:8080 projectile_motion
Now you can access the development server at http://0.0.0.0:8080.