Balls + gravity + friction + gravitational attraction + collision + controls === fun

Nothing especially new with this bouncing balls example as it's essentially a rehash - using p5.js - of something I did years ago in Processing that's now buried on openProcessing. That was itself largely code ported from the excellent resource (still) ActionScript Animation.

I need to update the demo page with a link to the source which includes a readme with a bit more background info; and I still need to do another bug-swatting/optimisation sweep...

You can have some fun fiddling with the balls [lame euphemism :\"> ]... and independent controls. Balls can be clicked, dragged and thrown...

Sign In or Register to comment.