airbnb / lottie-web

Render After Effects animations natively on Web, Android and iOS, and React Native. http://airbnb.io/lottie/
MIT License
29.85k stars 2.85k forks source link

Different shape position on canvas and svg renderers #2974

Open stepancar opened 1 year ago

stepancar commented 1 year ago

Tell us about your environment

In this demo https://jsfiddle.net/42d09f58/17/ I have created 2 lottie animation items with canvas and svg renderers. They both load the same animation But results are different

Screenshot 2023-04-28 at 1 40 45 PM

What did you expect to happen? Position of moving white shape should look the same for canvas and svg renderer

knenkne commented 1 year ago

Hey, have you seen supported features table? I guess some features you're using are not supported by Canvas renderer.

stepancar commented 1 year ago

@knenkne as far, as I know (double checked this table) There is no such feature which supported in canvas renderer, but not supported in svg renderer