Skip to content

Files

Latest commit

 

History

History

Bouncing_ball_simulator

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Bouncing ball simulator

This script shows the simulation of few balls bouncing in a container under gravity. They also collide with the bottom part and the walls of the container.

Prerequisites

The script runs in python3. pygame module is needed

pip3 install requirements.txt

How to run the script

Navigate to the folder where the source code is written. Open a terminal and execute the command:

python3 ball_bounce.py

Author Name

Ayush Shaw