Hi All,

I am trying to loop a sine expression within a 10sec frame so that when playback the sine wave is seamless.

What i did was this

Create a layer under Trapcode Particular

under Emitter>Position XY the expression is

xPos = 2800;

freq=0.15;

amp=random(50,100);

y = amp*Math.sin(freq*time*Math.PI*2);

yPos = y+360;

[xPos,yPos]

See my sample here.

Need some guidance on how to write the sine expression to loop whilst holding the same wave height/length and frequency ?

Please help!

Thanks!

Nina

`xPos = 2800;`

freq=0.15;

amp=random(50,100);

y = amp*Math.sin(freq*time*Math.PI*2);

yPos = y+360;

[xPos,yPos]