Refiting a curve using exact radius circles in grasshopper


A while back someone at the office took a curve and created a new trace using exact radius to redefine it. As you can see in the image, the yellow line is the original (hand crafted) trace and overlapped with it there is a line that has different colors (the colors express what radius does each segment has been created with) Divided every 15m. That person is no longer in the office and I am not sure how can this be done.