Hi,

I want to wrap a sine wave along a curve. I have tried a couple of things but it’s turned out a non-symmetrical wavy curve.

Thanks in advance.

wavy curve.gh (11.1 KB)

this post from a few days ago on the same topic

Thank you. However, it seems it is not working for closed curves.

Check this

There is another topic with different solutions but I don’t find its link

You could do half and mirror it.

here a solution . It is a simple Math problem. If you want something symetric you MUST have a domain inside the Sinus that is a multiple of 2 * PI. Sin(x) = sin(x+ 2*pi).

wavy curve_LD.gh (17.6 KB)

2 Likes

Thank you very much. I have forgotten the math classes