Descending Sine on Curve?

How do we modify this script so a curve can be selected rather than be generated?

See attached

VarSinCrv_V0.gh (122.7 KB)

1 Like