All examples By author By category About

Stroked

Polygon collision with d3.forceSimulation

This block is inspired by this other block and d3 forceCollide. It also uses a segment crossing function posted on this stackoverflow question.

However I think the repositionning of nodes can be improved so if you do that please let me know!

Built with blockbuilder.org

forked from pbellon's block: Polygon collision with d3.forceSimulation