How do I add a 3D wiggle expression to a seamless loop expression in After Effects?
I am using this xyz wiggle expression for several layer (each layer having slightly different integers to have different movement.
a =wiggle(0.2,150);
b =wiggle(0.15,160);
c = wiggle(0.2,500);
[a[0],b[1],c[2]]
But I want to make it a seamless loop. I found another expression that does this, but it is not in 3d space.
freq = 1;
amp = 110;
loopTime = 3; //this will be changed to 6 seconds
t = time % loopTime;
wiggle1 = wiggle(freq, amp, 1, 0.5, t);
wiggle2 = wiggle(freq, amp, 1, 0.5, t - loopTime);
linear(t, 0, loopTime, wiggle1, wiggle2)
How can I merge the expression?
