Skip to content

Latest commit

 

History

History
27 lines (16 loc) · 621 Bytes

README.md

File metadata and controls

27 lines (16 loc) · 621 Bytes

chaos-balls

Balls bouncing inside of a circle. This was inspired by a similar Numberphile video on chaotic systems.

Requirements

  • python 3.9

Using pip install these packages:

  • pygame.

pip install pygame

  • numpy (not sure but get it just in case)

pip install numpy

Run

Simply run the chaos_balls.py file either by double clicking it or

py chaos_balls.py

features

To Add/Remove balls and manipulate their properties, i.e velocity, position, etc you can do so by opening chaos_balls.py in a text editor and follow the comments in line 153 as a guide.

controls

-press p to pause