block by tophtucker 16fbd7e7c6274ed329111cbe139a6bb6

Elastic collisions

Full Screen

Adapting d3.forceCollide to do elastic collisions (like billiards). You can click and drag the balls.

High school physics refresher from Wikipedia. Inspired by chatting with Robert Monfera and Chris Given’s riffing on d3.forceCollide.

To-do:

index.html

forceCollideElastic.js