block by HarryStevens f8f83172e23f3044df07afc2b5bc212b

Force with Springy Links

Full Screen

Forked from Pratap Vardhan’s block.

Make link paths wavy for randomly-generated network.

wave function creates a wavy-like path between source and target link, using coordinate transforamtions.

I just updated the wave function so that the step variable is dependent upon the distance between nodes, so the link looks like a spring.

index.html