Incremental turning of curves from straight to 90 degrees

Hello,
I’m a new user to the forum, so apologies it this topic has been resolved.
I am currently trying to incrementally interpolate a set of curves, ranging from completely straight to a 90 degree curve (as an array). I’ve attached a sketch of the intent.

Thanks in advance,
Ameer


Incremental_curves_2021Jan18a.gh (10.5 KB)


BezierSpan_re.gh (11.5 KB)