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

Exponential slider query...

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


Exponential slider query...
by Danny Parsons on May 4, 2008 at 9:28:01 pm

Hi there - 'May the fourth' be with you all...

I’m having some trouble figuring out how to get a slider to control an effects property in the precise way I want it to. I’d initially thought I could just use the linear() function, but clearly I hadn’t thought things through properly…

Describing the actual scenario would probably be unnecessarily long-winded to go into, so I’ve just come up with an analogous hypothetical situation, which should help explain more simply the basic principle that eludes me…

Let’s say that I want to link a layer's opacity value to a null's slider control and have it translate the input in the following way:

When the slider is set at zero, opacity = 50
If we turn the slider up to 1.0, opacity = (50* 1.05)
And then if we turn it up another notch to 2.0, opacity = (50* 1.05)*1.05
… And so on, multiplying the previous value by the same amount each time. It also needs to work in the opposite direction – if the slider is set to a negative value, it should divide the previous value by the same amount each time, so if the slider = -1.0, opacity = (50/ 1.05).

Thanks in advance,

DP


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


Current Message Thread:




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]