Apply unique scale to each geometry in data set

I would like to create a parametric script in GH, that allows me to scale each geometry individually at various points along a curve. I have attached a copy of the script here.

I can explode the tree and then scale each geometry, however when I change the number of perp frames, this won’t happen parametrically. Does anyone have any suggestions on how I might go about doing this? (13.3 KB)


Something like this is what you want to achieve? (13.6 KB)