I am trying to do a line attractor, meaning the closer to the curve the smaller the circles, and also why are the CNR not following the curve of the surface? I am obviously doing something wrong so I need advise on the 2 problems. I am still learning Grasshopper, I am totally obsessed with it! I am getting there very very slowly!! Please help.
For you first question, the trick is to create a domain with Bounds, which takes in a list of values and creates a continuous domain encompassing all the values, so you can then remap it on your domain of choice to get the desired range of radiusses
For the second one, you can use Brep Closest Point to extract the normal to the brep the cirle’s centers in matter to make the circles tangent to the surface
(although you will note that now you have two circles per point since you have two curves to take distances from - I will let you try to find a solution to this issue by yourself )