/CollisionsGalore

Billiard ball collisions simulated in 3D.

Primary LanguageC++

Description

Shoot a billiard ball at a crowd of other billiard balls in 3D space. The program will simulate the balls colliding and bouncing apart. Collisions conserve momentum, angular momentum and energy. All billiard balls have the same mass and are of uniform density. See the screenshot below.

alt text

Download

  • Download: zip
  • Git: git clone https://github.com/jostmey/CollisionsGalore

Requirements

An operating system that supports the Win32 environment, such as Windows XP.

Run

Open the folder Release/ and run the executable file CollisionsGallore.exe. Once the program starts running, use the arrows keys to adjust the view. Hit the spacebar to fire your billiard ball.