Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Different rendering result compared to lottie-web #143

Closed
ebeloded opened this issue Mar 15, 2024 · 4 comments
Closed

Different rendering result compared to lottie-web #143

ebeloded opened this issue Mar 15, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@ebeloded
Copy link

ebeloded commented Mar 15, 2024

Overview

When rendering a simple animation from the same JSON file, the result is different when using dotlottie-web compared to lottie-web. The dotlottie-web rendering produces unexpected opaque center within the rocket:

2024-03-15 at 12 19 38

In the above example, lottie-web uses canvas renderer for fair comparison. Both use the same JSON file as a source. I tried converting JSON to dotlottie format, but it didn't change the result.

Reproduction

I created minimal reproduction that can be observed here: https://stackblitz.com/edit/vitejs-vite-2pieau?file=src%2FApp.svelte

@theashraf theashraf added the bug Something isn't working label Mar 16, 2024
@theashraf
Copy link
Member

Thanks @ebeloded for bringing this issue, it appears this might be related to ThorVG (the underlying rendering engine used by dotlottie-web).

@hermet Can you help have a look at this issue ? This version of dotlottie-web is using ThorVG@v0.12.7

@hermet
Copy link
Member

hermet commented Mar 28, 2024

@ebeloded @theashraf hello, this issue will be fixed in thorvg 0.12.10, thanks for reporting!

@theashraf
Copy link
Member

@ebeloded, this issue has been resolved in dotlottie-web@0.18.1. I've tested it here.

Feel free to close the issue if everything looks good on your end.

image

@ebeloded
Copy link
Author

Great! Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants