this is a simulation of gravity between particles according to their masses as newton's law of universal gravitation
initially a big particle is created at the origin with infinity mass that will attrackt any new particle creatd by left clicking on the mouse by the user as the new particle is smaller than the big mass so the gravitation force accelerate the small particles towards the origin (Big mass)
- change in velocity on x and y axis
events:
left click --> add samll particle at the mouse position
right click ---> add big particle at the mouse position
scroll click --> remove all the particles from the screen