/balls

2d static+dynamic circle collision physics turned into a nice visual/webtoy

Primary LanguageJavaScript

Balls visit

OneLoneCoder's method of 2D sphere collision, implemented by me in JavaScript.
I decided to use it to make a satisfying screensaver/webtoy/graph visualisation thingy.
Click and hold to drag balls, release while moving to project them.

Example setup gif

ezgif-1-f519ed890256