Special tween

i have a closed curve and its inward offset. now i would like to “tween” between these two curves keeping the original curve´s startpoint and the offset curve´s endpoint. in other words the tween factor should be “0” at the tweencurve start and “1” at its end. i made a quick approach by dividing and incrementally pulling, but maybe i am missing an instant functionality or component.
any suggestions? thanks in advance!


00_tst.gh (10.9 KB)

This could be another way. And I don’t know about the single component that does what you did.


00_tst_re.gh (12.5 KB)

BTW, If you increase the offset distance, you’ll get weird results with both cases.(mine especially)
Here we have another possible approach. You’ll need Tween Two Curves fr pufferfish plugin.



00_tst_reV2.gh (18.0 KB)

thanks for streamlining my solution with vector cross produkt and amplitude!

also thanks for the pufferfish solution. i use pufferfish, but did not see a solution here. the grafted evaluation approach looks smart to me. it gets slow with a high amount of curve points but gives good results.