Adjustable curve

Hello everyone,

I want to make a script in grasshopper to create a curve that always has the same length and is adjustable by an (optical and) simple way to morph the curve with edit points or similar. Afterwards I will array other forms along the curve.
Can I maybe use “Interpolate” or “graph mapper” to get a curve like this?

hope you get what I mean.

I would be happy about some advices!

Anything you do to reshape a curve is likely to change its length so I would re-adjust its length to match the original (or target length) using either SubCrv or Extend Curve with one or two negative values.

Thank you Joseph!
But how do I reshape the curve to have the best control about its form?