All examples By author By category About

vasturiano

Collision Forces Comparison

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.