Billiard on Qt

So... In honor of Cosmonautics Day and coincidentally the faculty day at our university, I had a great chance to win some money and participate in a contest of physical modelers... One of the tasks was to write a billiard game on Qt (well, I've embellished it with Qt =) Here's what I came up with.

Method of molecular dynamics

The MD method is suitable for a variety of classical problems (it can be used in mechanics, thermodynamics, etc.). The distinctive feature of MD is the fact that classical mechanics is used to describe the motion of particles. Interatomic forces can be represented in the form of classical potential forces (as the gradient of the potential energy of the system).