Creative Communities of the World Forums

The peer to peer support community for media production professionals.

  • Posted by Y. Bar on September 15, 2009 at 8:41 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.

    Y. Bar replied 16 years, 10 months ago 3 Members · 3 Replies
  • 3 Replies
  • Todd Kopriva

    September 15, 2009 at 9:49 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.

  • Dan Ebberts

    September 15, 2009 at 11:29 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

  • Y. Bar

    September 16, 2009 at 4:51 am

    Thanks !

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy