Creative COW SIGN IN :: SPONSORS :: ABOUT US :: CONTACT US
ADOBE AFTER EFFECTS: HomeForumBasicsExpressionsTutorialsPodcastsMotion GraphicsTrainingCinema 4DFAQ

Wiggling Color

Cow Forums : Adobe After Effects Expressions

<< PREVIOUS THREAD   •   VIEW ALL THREADS   •   PRINT   •   NEXT THREAD >>
Wiggling Color
by Yaron Bar on Sep 15, 2009 at 8:41:31 pm

Hello,

How do I wiggle a color value? (For example, I would like the color of my 3D light to wiggle between different shades of red).

Thanks for your help !
Yaron.

Respond to this post   •   Return to posts index

Re: Wiggling Color
by Todd Kopriva on Sep 15, 2009 at 9:49:05 pm

One tip: You might find that it's easier to wiggle the hue value in HSL than to wiggle channels in RGB if you're trying to "wiggle between different shades of red". Other than that, you just wiggle color like any other multi-dimensional property, like Position.

See Color Conversion methods and the page about the wiggle method.

---------------------------------------------------------------------------------------------------------
Todd Kopriva, Adobe Systems Incorporated
putting the 'T' back in 'RTFM' : After Effects Help on the Web
---------------------------------------------------------------------------------------------------------
If a page of After Effects Help answers your question, please consider rating it. If you have a tip, technique, or link to share---or if there is something that you'd like to see added or improved---please leave a comment.


Respond to this post   •   Return to posts index

Re: Wiggling Color
by Dan Ebberts on Sep 15, 2009 at 11:29:25 pm

This should give you some ideas. Set your color to a mid red (r = 127). Then use a wiggle expression like this:

w = wiggle(3,.5);
[w[0],value[1],value[2],value[3]]

That should move it around quite a bit. In expressions, color channels are values between 0 and 1, so if you set the red channel in the middle (.5) and then wiggle it up and down .5, you get the full range of reds. If what you really want is reds with small amounts of blue and green, that's a different story...


Dan



Respond to this post   •   Return to posts index


Thanks !
by Yaron Bar on Sep 16, 2009 at 4:51:51 am

Thanks !

Respond to this post   •   Return to posts index

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


FORUMSTUTORIALSMAGAZINETRAININGVIDEOS - REELSPODCASTSEVENTSSERVICESNEWSLETTERNEWSBLOGS

© CreativeCOW.net All rights are reserved.

[Top]