Billiard Ball Sim
Computer Animation / Winter 2020



Summary
Billiards, or pool, is a game where a cue ball is struck and in turn strikes other billiard balls in attempts for them to enter pockets. This simulation takes into account the friction of the table to both spin and slow down the billiard balls. It also uses continuous collision detection. This is more expensive and much more accurate method of collision detection. There are no pockets in this simulation and the balls never leave the table.
This was my first big OpenGL project. I learned so much during coding this. I attempted to use a more advanced collision detection algorithm with decent results. I am most happy with my spin and friction components. In a lot of cases the billiard balls look to act quite real. This project really inspired me to pursue computer graphics and will always be dear to me even though it doesn’t work as perfectly as I originally wanted. I coded this project from the ground up.