在可循环表达式中摆动颜色的蓝色值 - After Effects
Wiggle the blue value of the color in loopable expression - After Effects
我有这个 After Effects 的循环表达式:
seedRandom(1,true);
freq = 1.4;
amp = 1;
loopTime = 1;
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)
这 amp = 1
完全随机化颜色(所有 rgb 值)。我只需要摆动颜色的蓝色值。如何在这个表达式中做到这一点?
我知道我可以添加级别 - 单独控制效果并在那里摆动蓝色值,但在我的特定情况下,我需要蓝色值的表达式。
seedRandom(1,true);
freq = 1.4;
amp = 1;
loopTime = 10;
t = time % loopTime;
wiggle1 = wiggle(freq, amp, 1, 0.5, t);
wiggle2 = wiggle(freq, amp, 1, 0.5, t - loopTime);
w = linear(t, 0, loopTime, wiggle1, wiggle2);
[value[0],value[1],w[2],value[3]];
我有这个 After Effects 的循环表达式:
seedRandom(1,true);
freq = 1.4;
amp = 1;
loopTime = 1;
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)
这 amp = 1
完全随机化颜色(所有 rgb 值)。我只需要摆动颜色的蓝色值。如何在这个表达式中做到这一点?
我知道我可以添加级别 - 单独控制效果并在那里摆动蓝色值,但在我的特定情况下,我需要蓝色值的表达式。
seedRandom(1,true);
freq = 1.4;
amp = 1;
loopTime = 10;
t = time % loopTime;
wiggle1 = wiggle(freq, amp, 1, 0.5, t);
wiggle2 = wiggle(freq, amp, 1, 0.5, t - loopTime);
w = linear(t, 0, loopTime, wiggle1, wiggle2);
[value[0],value[1],w[2],value[3]];