FORUMS: list search recent posts

Another post on sliders and wiggle expression - time offset / freeze?

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
bart stevens
Another post on sliders and wiggle expression - time offset / freeze?
on Dec 2, 2011 at 5:19:44 pm

I'm trying to "freeze time" in my wiggle expression with a slider.
I'm currently using a control layer with two sliders for numerous layers with the wiggle expression.
Two sliders, One for speed, and one for scale.
Each layer has the expression posted below for position:

If I animate the "speed" to 0, I get the wiggle expression to stop, which what I want, but the 0 value in my "speed slider" is a specific position for all my layers. This creates two challenges:
1) I want different freeze positions for my "wiggle layers"
2) I want to eliminate the "reverse appearing" movement to reach 0 speed from my current speed.

What I'm trying to do is slow down and stop the wiggle movement at different times, which would give me different arrangements.
I'm thinking this would be some kind of time offset/freeze expression.
Thoughts?
Thanks
-B

pos=wiggle(thisComp.layer("Control").effect("speed")("Slider"),thisComp.layer("Control").effect("scale")("Slider"));
[pos[0],pos[1],pos[2]]


Return to posts index

Dan Ebberts
Re: Another post on sliders and wiggle expression - time offset / freeze?
on Dec 2, 2011 at 6:34:22 pm

Animating wiggle frequency never works the way you hope it will. You're better off animating the time parameter, like this:

t = thisComp.layer("Control").effect("time")("Slider");
pos=wiggle(1,thisComp.layer("Control").effect("scale")("Slider"),1,.5,t);
[pos[0],pos[1],pos[2]]

It's not ideal, but by controlling the rate at which the time slider increases, you can achieve the effect you're looking for. Holding the time slider will hold the wiggle at it's current value.

Dan



Return to posts index

bart stevens
Re: Another post on sliders and wiggle expression - time offset / freeze?
on Dec 2, 2011 at 6:40:57 pm

You're the Man Dan.
Thanks for the help,
-Bart


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]