: After Effects: Expression to randomly change to specific Color Balance (HLS) Effect Hue Color, every x frames In AfterEffects, I'd like to use the Color Balance (HLS) layer effect to Hue shift
In AfterEffects, I'd like to use the Color Balance (HLS) layer effect to Hue shift every x frames. At that point, I'd like the effect to randomly shift to any one of three distinct hues (angles).
I'm not sure what expression could achieve this.
For example, I'm using this expression now for Hue (Alt+Klick the keyframe clock icon):
x = 14.693877554;
f = thisComp.frameDuration * x; //The duration in seconds of 'x' frames in this composition
posterizeTime(1 / f); //Evaluate everything after this line every x frames
random(1, 360);
x is the amount of frames that should pass before attempting the Hue shift (it's timed to a song in 98 bpm). The above expression randomly selects any angle rotation.
How could I make it shift only to any of three specific angles?
More posts by @Samaraweera207
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2025 All Rights reserved.