Forum

Billowing curtains (smooth wave)

Hi,
I’m trying to make a curtain which i can draw back and it will bend naturally as it bunches up.

Essentially i’m just applying a waveshaper to the z plane of a grid, but whether fed by a linear spread or an lfo, i always get hard corners/points even with the waveshaper on sine.
It curves fine for the middle of the spread, but where the spread wraps around it creates a sharp point in the curve.

any idea how to make the sine wave wrap smoothly? Or a better method for the whole thing!? I know this is a pretty crude way of doing it but im in a bit of a hurry…

thanks for any pointers!

curtain test.v4p (13.6 kB)

try a circularspread instead the linearspread for the z values.

aaahhhh, thankyou thankyou thankyou! so easy haha

Actually your Linear spread with waveshaper should work, you should just set input on linear spread to 0.5 and width to 1 so you get all the values from 0 to 1 and no negative ones.

if the waves are too big, then you can use map after the waveshaper to make them smaller.

I guess this is again a case of multiple ways of doing the same thing

Edit: You should then just input the lfo directly to the phase input of the linearspread