Skip to content

Latest commit

 

History

History
21 lines (17 loc) · 621 Bytes

README.md

File metadata and controls

21 lines (17 loc) · 621 Bytes

Bouncingball

Have you ever wondered what 100 bouncy balls falling into a box would look like in slow motion?

Bouncing ball is a small physics simulator that simulates an arbitrary number of balls of varying size and mass in a closed space. Collisions with walls and between balls are accurately modelled with variable elasticity. The project grew from previous physics simulation projects in Python and a desire to learn basic OpenGL

Usage

python3 bouncingball.py

For fullscreen mode

python3 bouncingball.py -f

Dependecies

  • Numpy
  • OpenGL
  • Pyglet