-
Random Color Change at Layer Marker (with transition)?
Hey guys — searched around but can’t find an answer to this.
How can I create a random color change at each layer marker that transitions between the colors?
In other words, it doesn’t just abruptly cut to a different color, it changes to that color over the course of a couple of frames? Like if you just keyframed a color property?
I have an expression yields a random color change at each layer marker, when applied to the HUE property of the Color Balance (HLS) effect (see below) but this just cuts to the new color, no transition.
I don’t nearly have the intelligence to put together something like this, but it would be GREATLY appreciated.
Thanks,
RobmarkerLayer = thisComp.layer(1);
m = markerLayer.marker;
n = 0;
if (m.numKeys > 0){
n = m.nearestKey(time).index;
if (m.key(n).time > time) n--;
}seedRandom(n,true);
random([n*81.79],[n*n*7.77])