FORUMS: list search recent posts

Doubt about an expression

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
xdominguez pukkas
Doubt about an expression
on Dec 13, 2012 at 2:03:08 pm

So I posted this on the wrong forum:

I know it is simple but I am clueless when it comes to expressions:

I have a text I want to randomly change the color (using the tint effect) every two seconds for an undetermined amount of time. I have been copying keyframes, but it is no longer feasible.

What code should I use?

Thank you all!


Return to posts index

Dan Ebberts
Re: Doubt about an expression
on Dec 13, 2012 at 6:40:33 pm

Try this on "Map White To":

period = 2;
seedRandom(Math.floor(time/period),true);
random([0,0,0,1],[1,1,1,1])

That will give you randoms colors from the entire spectrum every two seconds.


Dan



Return to posts index

xdominguez pukkas
Re: Doubt about an expression
on Dec 17, 2012 at 12:31:31 pm

This works!

I'd like the colors to change gradually, as if dissolving, instead of changing abruptly. What expression should I use?


Return to posts index

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