This project have 4 physics simulation:
- Free Fall
- Set parameters (Height, Gravitational Acceleration, Fall Time, Velocity)
- Calculate missing parameters
- Spawn object
- Control camera with
W
/S
- Pendulum Motion
- Click to create pendulum
- Increase/Decrease pendulum speed
- Increase/Decrease damping
- Draw graph
- Projectile Motion
- Click and drag to aim projectile, release to fire
- Create new projectile with
C
- Create new static obstacle using in-game menu
- Remove static obstacle (by name) using in-game menu
- Control camera with
W
/A
/S
/D
- Light Refraction
- Click to set incident ray
- Change material parameter
Clone this project
git clone https://github.com/nhatlong1/final_project_physics.git
(Or click Code -> Download ZIP and extract)
In project's root folder, run command:
pip3 install requirements.txt
python3 main.py
- Free Fall
- Pendulum Motion
- Projectile Motion
- Light Refraction