block by vasturiano ea5f3488bf649fa3a5567dbaef7bfe17

Collision Forces Comparison

Full Screen

Difference in how collisions are handled by d3.forceBounce and d3.forceCollide.

d3.forceCollide with full strength (1) is equivalent to d3.forceBounce with 0 elasticity (inelastic collision), which loses kinetic energy at each impact.

index.js

index.html

style.css