-
Animating several brush stroke offset time expression
Hello everybody, I’m trying to animate a paint on effect on a layer with paint effect applyed.
I drew the subject without the write on option and now I have 1518 brush strokes in the effect.
I’d like to offset in time the property end keyframing of each stroke with an expression that uses the previous stroke timing to offset the current.
I tried with this expression applyed on the end property of the second stroke
effect("Paint").stroke("Brush 1518").strokeOption.end.valueAtTime(time-framesToTime(50));
that works between the stroke n°1517 and n°1518
I’d like to use this expression indexing the strokes in a way like usingindex-1to apply the same expression to all the strokes at once and so it has to work with an indexing behaviour
This one naturally doesn’t works
effect("Paint").stroke(propertyIndex-1).strokeOption.end.valueAtTime(time-framesToTime(50));May someone more expert than me can figure it out?
Thank you in advance
Igor