I am trying to have closed polylines repelling each other inside a boundary rectangle. For that I was planning to sample a certain amount of equidistant points along the polylines and set a repulsive force for each of them.
The problem is that the Kangaroo solver seems to process each polyline individually and thus appears to ignore/skip the repelling forces between them: vertices are repelling other vertices belonging to the same curve but not the ones from another curve.
Also, I don’t know how to set the solver so that these objects rightly collide on the boundary rectangle surrounding them.
Would love some help !
Test repelling curves.gh (13.2 KB)