Random wiggle expression after effects

broken image

This way, you would be able to keyframe one or both of those sliders in order to increase or decrease the wiggle effect. Next, on your layer’s position property, you would add this expression: wiggle(thisComp.layer('Controller').effect('Frequency')('Slider'), thisComp.layer('Controller').effect('Amplitude')('Slider')) You can name them however you like, but I think these names are the most obvious. One named Frequencythe other one Amplitude. This can easily be resolved by creating a null layer, typically named Controller, to which you would apply two Slider Control effects. You often might want to keyframe a wiggled value. If you would like instead to have x wiggled normally, but y and z to have a bigger wiggle you could do: var low_wiggle = wiggle(.5, 20) The only difference with a 3D layer is that it would need a third value. Here, only our value x will have the wiggle. If you want to just wiggle one of the axis of a 2D layer you can simply do this: var wiggle = wiggle(.5, 20) If you are applying it on a 3D layer, it returns an array of three numbers ( ) and if you are applying it on a 2D layer it returns an array of two numbers ( ). The wiggle function returns an array or numbers. So if you would like your position to move on a scale of 20 pixels every half second you would use this expression on the position property: wiggle(.5, 20) The typical wiggle expression in After Effects is this: wiggle(frequency, amplitude)

broken image