Activity › Forums › Adobe After Effects Expressions › Wiggling Color
-
Wiggling Color
Posted by Y. Bar on September 15, 2009 at 8:41 pmHello,
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.Y. Bar replied 16 years, 10 months ago 3 Members · 3 Replies -
3 Replies
-
Todd Kopriva
September 15, 2009 at 9:49 pmOne 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. -
Dan Ebberts
September 15, 2009 at 11:29 pmThis 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
Reply to this Discussion! Login or Sign Up