Skip to content

noizebox/bouncingball

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

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

About

Small physics simulator with python and opengl

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages