LottieFiles / dotlottie-web

Official LottieFiles player for rendering Lottie and dotLottie animations in the web. Supports React, Vue, Svelte, SolidJS and Web Components.
https://developers.lottiefiles.com/docs/dotlottie-player/
MIT License
141 stars 9 forks source link

Trim paths speed do not match original clip #178

Closed Rapsssito closed 3 months ago

Rapsssito commented 4 months ago

Overview

Sorry for opening these many issues. We are moving from @dotlottie/player-component to @lottiefiles/dotlottie-web and we want to make sure everything works as expected. We are primarily working with this animation.

With @dotlottie/player-component it works flawlessly. However, when running the animation with @lottiefiles/dotlottie-web, some paths (trimming) go much faster than expected (only some of them). In the case of our animation, the windows of some houses are drawn too quickly. Example (I highlighted some of the mismatches in red):

https://github.com/LottieFiles/dotlottie-web/assets/44206249/e37df481-6b07-495d-acb0-fcdd0a276f98

You can check the same animation running with each package in:

hermet commented 4 months ago

The fix will be in thorvg v0.13.1 by @mgrudzinska. Thanks for reporting.

theashraf commented 3 months ago

@mgrudzinska This should have been fixed in the latest dotlottie-web@0.21.0