From Dev.to
Find the current animation frame when holds have different durations
By Allen Zhao for MotifDeck. Prepared with AI assistance. A loop does not have to give every frame the same hold. If a three-frame animation holds for 100 ms, 200 ms and 100 ms, simply multiplying tim...
