generative modeling for Rhino
I am trying to scale a bunch of curves dependent on their distance to attractor points. Essentially, the closer they are to the attractor, the smaller they should get. As you can see in the attached definition, the definition works with one attractor point. It is acheiving the affect I am looking for. But I want to do this with multiple attractor points located throughout the screening system, and I want the points to act independently from each other, without compounding effect.
I think in your case the easiest thing will be to simply take the smallest distance. Instead of grafting your attractors, try grafting the other points before giving them to the distance component. Then sort the output, and use list item with index 0 to extract the smallest distance from each list. Then just flatten the resulting list and feed it into your divide component.
This works perfectly, thanks Andrew!