Creative COW SIGN IN :: SPONSORS :: ABOUT US :: CONTACT US
ADOBE AFTER EFFECTS: ForumAE BasicsAE ExpressionsTutorialsArticlesPodcastsMotion GraphicsTrainingCinema 4D

How to cover the whole Composite with scale property?

Cow Forums : Adobe After Effects Expressions
cow
How to cover the whole Composite with scale property?
by john kevien on May 3, 2008 at 4:57:47 pm

the subject as the title!!

I am going to moving a small solid layer to left upper corner,and then scale it up to cover the whole composite.

So, I need some advices.

Thanks in advance!!


Respond to this post     Return to posts index

cow
Re: How to cover the whole Composite with scale property?
by Dan Ebberts on May 3, 2008 at 7:35:28 pm

This should get you close:

startScale = 1; //time when scaling starts (seconds)
scaleDur = 2; // scale duratation (seconds)
initScale = [100,100]; // initial scale value

w = thisComp.width*thisComp.pixelAspect;
h = thisComp.height;
finalScale = [w/(width*source.pixelAspect),h/height]*100
ease(time,startScale,startScale+scaleDur,initScale,finalScale)


If you're doing this from the upper-left corner, you'll probably want to move the anchor point to the upper left corner of your layer.

Dan



Respond to this post     Return to posts index

<< PREVIOUS THREAD   •   VIEW ALL THREADS   •   PRINT   •   NEXT THREAD >>


FORUMSLIBRARYPODCASTSBLOGSMAGAZINESERVICESNEWSLETTERSNEWSSTOREEVENTS

© CreativeCOW.net All rights are reserved.

[Top]