This is my first post on Creative Cow but this site has been an indispensable source of information for as long as I can remember. My question is regarding sequencing layers with expressions, specifically how to change the delay period between layers in an increasing or decreasing fashion.
I use Dan Ebberts expression below all the time (thanks Dan!) to sequentially move or scale multiple layers with one set of keyframes. What I can't do is have the delay for each layer change, so while I can ease the keyframes as desired, the delay between layers (i.e. 5 frames) is linear.
I tried keyframing the delay which kind of works but it seems to actually shorten the duration of the animation over time. Is there a way to modify this expression so that I can have the delay between layers be non-linear? In case i'm not explaining this well (which I'm probably not) I'm trying to accomplish something similar to this script: https://aescripts.com/lazy but without keyframing each layer.
delay = 5; //number of frames to delay
d = delay*thisComp.frameDuration;
thisComp.layer(index - 1).scale.valueAtTime(time - d)