ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

A "No-Less-Than" expression.

COW Forums : Adobe After Effects

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Justin MaloneyA "No-Less-Than" expression.
by on Jul 25, 2014 at 4:26:34 pm

Hey there, kinda new to using expressions. Whats the best way to tell a value not to go above or below a certain value, regardless of what other expressions are being applied?

For example. A wiggle effect on opacity, to make an image fade in and out, that always remains at at-least 50% and wiggles from there.


Return to posts index

Brian CharlesRe: A "No-Less-Than" expression.
by on Jul 25, 2014 at 4:54:56 pm
Last Edited By Brian Charles on Jul 25, 2014 at 4:55:58 pm

[Justin Maloney] "For example. A wiggle effect on opacity, to make an image fade in and out, that always remains at at-least 50% and wiggles from there."

Wiggle can take several parameters, the first 2 are frequency and amplitude. Wiggle uses the current value of a property as a base, so setting opacity to 75% and the wiggle amplitude to 25 would restrict it to between 50% and 100%.

i.e. wiggle(2,25) would wiggle opacity 2 times a second with a range restricted to 25 from the base value.

If you're new to expressions you may want to check out Dan Ebberts site http://www.motionscript.com



Return to posts index

Michael SzalapskiRe: A "No-Less-Than" expression.
by on Jul 25, 2014 at 5:47:18 pm

You could always use clamp expressions too.

- The Great Szalam
(The 'Great' stands for 'Not So Great, in fact, Extremely Humble')

No trees were harmed in the creation of this message, but several thousand electrons were mildly inconvenienced.


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]