Activity › Forums › Adobe After Effects Expressions › How to control an animation using a slider but keep the animation properties.
-
How to control an animation using a slider but keep the animation properties.
John Pritchett replied 14 years, 8 months ago 2 Members · 14 Replies
-
Dan Ebberts
November 10, 2011 at 11:04 pmSo you want it to start at some random value between 73 and 87, and increase? At what rate? Is there a maximum?
Dan
-
John Pritchett
November 10, 2011 at 11:35 pmI guess this is where it becomes difficult. It can start anywhere +or-7 from the value. In this case 80, and finish anywhere within that range to. It just can’t go back and forth. Over what time? Perhaps lets make it over 10secs from frame 0.
John
-
Dan Ebberts
November 11, 2011 at 12:14 amI think this is what you’re asking for, but I think I’ve lost track of what you’re trying to do:
dur = 10;
seedRandom(index,true);
startVal = 80 + random(-7,7);
endVal = 80 + random(-7,7);
curVal = linear(time,inPoint,inPoint+dur,startVal,endVal);
wipe=effect(“Radial Wipe”)(“Transition Completion”);
linear(wipe,0,100,curVal,0);Dan
-
John Pritchett
November 11, 2011 at 3:00 amI think I’m getting a little lost too!
You truly are a legend.
With a little tweaking, this worked perfectly.A huge thanks again.
John
Reply to this Discussion! Login or Sign Up