/BouncingBalls

Balls bouncing on a board according to the laws of mechanics

Primary LanguagePython

BouncingBalls

A simulation of balls bouncing around on a board. Written for python 3.

Running

  • Make sure you have pygame and numpy installed (pip3 install numpy; pip3 install pygame)
  • Run with python3 visual.py
  • Enter f for fullscreen, as instructed.
  • Press space to start game.
  • Use arrow keys to move the purple ball
  • Press esc to exit.