lottie-web icon indicating copy to clipboard operation
lottie-web copied to clipboard

Subframe issue

Open dnylnd opened this issue 9 months ago • 0 comments

i'm doing a frame by frame animation and my path or mask path vertices number varying in every frame. when i check my animation in the lottie player the whole animation is ruined, because of the subframes.

but not everything is frame by frame. for postion or scale or etc... i just set a few keyframes.

so i set the keyframe interpolation to toggle hold. that solves the subframing issue, but my animation now is like dashed or jittery.

if the web developer upload the animation with animation.setSubframe(false) than it should solve this issue?

in after effects there is no subframes so my animation looks good. How to solve this?

here is a test about set the animation.setSubframe(false). and its weird

https://codepen.io/edokeh/pen/oNjYBrM

dnylnd avatar May 14 '24 16:05 dnylnd