A physics simulation including a ball’s vertical and horizontal movement, gravity influence, and energy losses on bounces from walls. The simulation involves user interaction with ball movements to ...
Balls bouncing in a ring. This simulation outlines how chaos emerges from a simple ball bouncing around in a ring. This code was inspired by a numberphile video on chaos-theory.