Qt GUI Application with Multitreading
ENG
m is for mass; r is for radius; d is for distance; v is speed;
- 10 Balls are generated randomly in the working field with const r and m;
- The Attracting Force between 2 balls equals 1/d - 1/(d*d);
- If right mouse button clicked on empty space, new ball is generated up there, if the place is occupied ball placed there is deleted;
- Abilty to drag ball using mouse left button, v of ball becomes 0 till it's released. Other balls still interact with it.