Skip to content

ErakhtinB/AttractingGlobes

Repository files navigation

AttractingGlobes

Qt GUI Application with Multitreading

ENG

m is for mass; r is for radius; d is for distance; v is speed;

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

About

Qt GUI Application with Multithreading

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published