Progressive diameters/radius

Hi everyone!
I’m trying to create a circle centered in every division of this line, and I want for the radius to decrease from the center to the end points (symmetrically). Any ideas on how to do it? Desechos.gh (12.9 KB)

Mainly to do with index order, quite simple especially when your segments are equal. See attached 2 examples, odd and even numbers.



Circles.gh (19.5 KB)