Real time fully elastic collisions animation1.mp4 Program arguments: -r circle radius (int) -c number of circles (int) -w display width (int) -h display height (int) -draw draw lines Controls: Press space to stop/resume animation Use left/right arrows to reverse/advance animation Drag and drop circles to change their position Press d to turn lines on and off Press [ to save state to memory Press ] to load state from memory Press i to display this dialog Collisions: implemented without trig (https://www.vobarian.com/collisions/2dcollisions2.pdf) TODO implement sweep and prune collision detection algorithm