Skip to main content
Known Participant
December 26, 2024
Question

Can wiggle be made less random using seed?

  • December 26, 2024
  • 1 reply
  • 1239 views

Using a wiggle expression to a film jitter effect, eg wiggle(12,7)

 

Is there a way to make the wiggle effect use each keyframe as the "seed" of the subsequent keyframe, instead of using the center as the point of reference, and in that way making it less random? I'm looking for an effect that produces "drift" while jittering. Is this possible using a math expression, with a set minimum and maxium excursion of position?

This topic has been closed for replies.

1 reply

Dan Ebberts
Community Expert
Community Expert
December 26, 2024

You can stack multiple wiggles, like this (in this example w1 is a fast jittery wiggle, where w2 is slower, providing drift):

w1 = wiggle(12,7) - value;
w2 = wiggle(.5,25) - value;
value + w1 + w2
paul_7484Author
Known Participant
December 26, 2024

Great - thank you, that's a neat solution. So w2 is moving position based on where it is in w1, not just in parralel, right?

 

Can I use that same type of 'nested' expression of "wiggle" for other effects that wiggle, eg a flicker in level of exposure? 

Dan Ebberts
Community Expert
Community Expert
December 26, 2024

Both w1 and w2 are based on the pre-expression value, but they're added together so the result is cumulative. Not sure if that answers your question though. wiggle() is somewhat unique in that its result includes the pre-expression value, so to get just the wiggle part, you have to subtract value from the result. This technique should work for any property, if that's what you're asking.