Activity › Forums › Adobe After Effects Expressions › Pop image out of row
-
Pop image out of row
Posted by Pixolpower on November 2, 2006 at 5:40 pmHi, i would like to create 2 rows of 3 images and to pop up each image to full screen.. but it looks a little dull does anybody have some suggestions to make it more explosive / dynamic? instead of just scaling it ?
Also is it possible i can do one time the effects and use it for other images? so i would only have to load in the new images and have the same effects?
Mike Clasby replied 19 years, 6 months ago 2 Members · 3 Replies -
3 Replies
-
Mike Clasby
November 2, 2006 at 7:10 pmWhen you scale up the images (with keyframes) you might try adding this Dan Ebberts expression to the Scale (Highlight and Copy the expression, Alt Click the Scale stopwatch and Paste):
n = 0;
if (marker.numKeys > 0){
n = marker.nearestKey(time).index;
if (marker.key(n).time > time){
n–;
}
}if (n == 0){
value;
}else{
max_dev=20; // max deviation in pixels
spd=35; //speed of oscillation
decay=10; //how fast it slows down
t = time – marker.key(n).time;
s = max_dev*Math.sin(spd*(t))/Math.exp(decay*t);
value + [s,s];
}Then add a Marker (hit the * key on the numeric keypad) where you want this Squish and Squash to be, or at the spot where you scale up. Cahane the values for the max_dev, spd, and decay in the expression for variety.
Note: To apply the same expression to multiple layers at one time, you can select the Position on the first layer after the expression has been applied, then Edit>Copy Expression Only, then select the other layers you want the expression on, and Paste.
Methinks you’ll have to change the position too when you scale up.
As far as swapping layers in and out, just select the layer to be swapped out (in the timeline window),then hold down the Alt key as you drag the new layer (from the project Window) ontop of the layer to be swapped out.
-
Pixolpower
November 3, 2006 at 2:44 pmOk thanks it seems to work.. only cant really get it to work really smooth am i supposed to do this expression in between 2 keyframes?
https://img69.imageshack.us/img69/7457/1zk2.jpg
-
Mike Clasby
November 3, 2006 at 7:04 pmI’d slide the marker directly over the second keyframe. You can also change the values for max_dev, spd and decay. To see variation quickly, tie the above to Sliders, then you can see the changes quickly.
To tie a slider to max_dev, Click, Effects>Expression Controls>Slider Control, then rename the Slider (Enter key) to max_dev. Then select the scale, hit “ee” to expose the expression, highlight the “20” (after the equal sign for max_dev) the pickwhip that to the Slider. Now changing the Slider changes the max_dev in the expression. Do the same for spd and decay. It sounds a bit tedious but is pretty quick once you’ve done a few and it gives you instant feedback for changing the value of the expressions.
I’d give the Sliders a shot, but maybe this squish and squash isn’t the look your after.
Reply to this Discussion! Login or Sign Up