-
How to reduce dashes AND offset on a stroke over time? (solved)
Hello, I was looking for a way to reduce a random number of dashes on a stroke over time, starting at a given time. Using some similar code from Dan (https://forums.adobe.com/thread/1612864), I was able do to this like so by applying this to the “Dash” value of the stroke:
animationTime = 4;
seedRandom(index,true)
tStart = 3; // start at 3 sec from beginning of comp
startDashes = random(5,100);
endDashes = 0;
ease(time, tStart, tStart + animationTime, startDashes, endDashes);
Figured I’d share in case any other inexperienced coders like me need this solution. 🙂 Thanks Dan.
Sorry, there were no replies found.