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

Exponential Functions in AE Expressions

Cow Forums : Adobe After Effects Expressions
VIEW POSTS   •   ADD A NEW POST   •   SEARCH   •   CHANGE FORUM
Return to Posts Index   •   Read Entire Thread   •   Reply To This Post


cow
Exponential Functions in AE Expressions
by Roman Alvarado on Jun 30, 2008 at 1:00:32 pm

Hello. I am completely new to AE and recently began working with Expressions from scratch. I want a 2D object to scale from 10% to 100% over a modifiable length of time. However, I do not want the transformation to be linear and I don't want to create keyframes since this effect will later be triggered by another layer's properties.

begS=10;//initial and minimum scale
dK=.95//decay rate, must be < 1
xScale=begS+90-(90*(dK^time));// initial time + 90- a value that decreases with time from 90, never reaching 0.
yScale=xScale
[xScale,yScale]

I suspect it's a noob's syntax or language issue because the formula looks right in a graphing calculator. Basically, when I use this expression the animation jumps around and begins at 100% scale.

Anything to the 0 power is 1, so the scale value at time=0 should be: 10+90-(90*1)=10%.
At time=1, the scale should be: 10+90-(90*.95)=14.5%... and so on.

Thanks you for any help.




I searched the forums and found no explicit discussion about exponential notation within After Effects Expressions.


Return to Posts Index   •   Read Entire Thread   •   Reply To This Post


Current Message Thread:


Related Tags:
AE



Note: If you are a registered user and you do not see your name and email in the two respective fields above, you may reset your account cookies by clicking here. Your post will not be accepted if the name and email provided above are not currently registered in our database.

Name
E-Mail Address
Subject
E-Mail me when someone responds
Just This Message   Entire Thread   None  


Message                Add Bold Tag To Message (JavaScript required)

To put any item inside this tag:

1. Highlight the desired text
2.Click this buttonAdd Italic Tag To Message (JavaScript required)

To put any item inside this tag:

1. Highlight the desired text
2.Click this buttonAdd Underline Tag To Message (JavaScript required)

To put any item inside this tag:

1. Highlight the desired text
2.Click this buttonAdd Image Link Tag To Message (JavaScript required)

To put any item inside this tag:

1. Highlight the desired text
2.Click this buttonAdd URL Link Tag To Message (JavaScript required)

To put any item inside this tag:

1. Highlight the desired text
2.Click this button

Note: The following characters are HTML command characters, and may cause parts of your post to disappear, if not used correctly: < > &. To include any portion of the post in your response, highlight the desired text and hit the "Q" key. For more on how to post, click here.


Add your message signature


 


Note: By clicking "Post Direct" button above, you are agreeing to the Creative Cow's Code of Conduct.



FORUMSLIBRARYPODCASTSBLOGSMAGAZINESERVICESNEWSLETTERSNEWSSTOREEVENTS

© CreativeCOW.net All rights are reserved.

[Top]