Actually if you don't need an exact sine function you could do also using simple ramp for the sine with 3 entry black, white, black and set interpolation to smooth. On the 2d placement, set V repeat to 5. The rest could be the same, maybe you want to add more entry to the envelope so it has some variance to the envelope value maybe a U and V wave will have some interesting effect too. Maybe I'm too lazy to setup ramp with so many entries, that's why I'm so useless.