Basic force layout Repulsion and spring force alone let scattered points settle on their own

18 nodes · repulsion+spring · rAF arc · lineTo · Math.hypot