-
Not understanding an expression
Hey all I am reading through the expressions reference in adobe and don’t quite get this part in wiggle:
“Example: position.wiggle(5, 20, 3, .5) produces about 5 wiggles per second with an average size of about 20 pixels. In addition to the main wiggle, two more levels of detailed wiggles occur with a frequency of 10 and 20 wiggles per second, and sizes of 10 and 5 pixels, respectively.”
I understand that 5 is the frequency, 20 is the amplitude, 3 is the octave and .5 is the amp_mult. What I am not understanding is this part:
“In addition to the main wiggle, two more levels of detailed wiggles occur with a frequency of 10 and 20 wiggles per second, and sizes of 10 and 5 pixels, respectively.”
Here is the entire excerpt from the page:
“wiggle(freq, amp, octaves=1, amp_mult=.5, t=time)
Return type: Number or Array.
Argument type: freq, amp, octaves, amp_mult, and t are Numbers.
Randomly shakes (wiggles) the value of the property.
freq value is the frequency in wiggles per second.
amp value is the amplitude in units of the property to which it is applied.
octaves is the number of octaves of noise to add together. This value controls how much detail is in the wiggle. Make this value higher than the default of 1 to include higher frequencies or lower to include amplitude harmonics in the wiggle.
amp_mult is the amount that amp is multiplied by for each octave. This value controls how fast the harmonics drop off. The default is 0.5; make it closer to 1 to have the harmonics added at the same amplitude as the base frequency, or closer to 0 to add in less detail.
t is the base start time. This value defaults to the current time. Use this parameter if you want the output to be a wiggle of the property value sampled at a different time.
Example: position.wiggle(5, 20, 3, .5) produces about 5 wiggles per second with an average size of about 20 pixels. In addition to the main wiggle, two more levels of detailed wiggles occur with a frequency of 10 and 20 wiggles per second, and sizes of 10 and 5 pixels, respectively.
This example, on a two-dimensional property such as Scale, wiggles both dimensions by the same amount:
v = wiggle(5, 10); [v[0], v[0]]
This example, on a two-dimensional property, wiggles only along the y axis:
freq = 3; amp = 50; w = wiggle(freq,amp); [value[0],w[1]];”
If someone could explain it, it would be great.