Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Need an expression for “Hue/Saturation” (Colorize Hue) random seed with multiple objects

  • Need an expression for “Hue/Saturation” (Colorize Hue) random seed with multiple objects

    Posted by Miguel Primo on July 24, 2017 at 11:47 pm

    Hello guys!

    At first I apologize for my bad English, I’m a Brazilian and we do not have a good English language teaching in the schools, so I’m learning on my own.

    I have a composition in after effects with ~60 objects and i want to use the Hue/Saturation effect with a random seed in Colorize Hue option. Is there any kind of expression that can do this for me if I apply the effect on all objects?
    If there is not one to generalize, there is one for me to add to each one by one?

    Thanks.
    Miguel Primo.

    Dan Ebberts replied 8 years, 5 months ago 3 Members · 4 Replies
  • 4 Replies
  • Dan Ebberts

    July 25, 2017 at 3:33 am

    An expression like this probably:

    seedRandom(index,true);
    random(360)

    You have to apply it to each of the layers, but that’s pretty easy:

    Apply the expression to one layer.
    Select that layer’s Colorize Hue property.
    Edit > Copy Expression Only
    Select all other layers.
    Edit > Paste.

    Dan

  • Miguel Primo

    July 26, 2017 at 4:43 am

    Thank you, that is what I want <3

  • Mauro Achille

    February 22, 2018 at 5:18 pm

    Hi Dan! what should i do if i need the randomness to be different every frame. A different “colorize hue” every frame, randomly..

    thanks a lot!!

  • Dan Ebberts

    February 22, 2018 at 5:30 pm

    Just remove the first line.

    Dan

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