Trying to make a dome out of conical shape

Hello,

I am attempting to create a grasshopper script that will let me make a dome out of this conical cylinder I have made. I would like for the cylinders to not overlap/intersect and be tight enough to be believable as a dome that could stand. I have gotten this far with my script and would like guidance on how to make it more precise in having the quality i mentioned above (no overlap or intersections, but still tight together)

I would appreciate any help.


Help Us Help You - Grasshopper - McNeel Forum

Please give it a try with Kangaroo, fyi,


K24Circles.gh (35.6 KB)