How to use the kangaroo plug to attach the line to the surface

How to use a kangaroo to attach a flat curve to a curved surface, as shown in the picture above

Image_circlepacking11.gh (129.3 KB)

I want it to look like this with my formula in it

Please search some first about “circle packing” before posting a question.


https://github.com/Dan-Piker/Kangaroo-examples/blob/master/collisions_and_packing/CircleFill_Dome_tangentboundary.gh