A bounding box collision detection constraint for d3 forceSimulation.
constrain particles to an area for forceSimulation in d3v4.
A force to straighten curved paths through a network
test for collision with a circle and point
intersect a ray and triangle in 3 dimensions