Lottie-android: Masks and strokes

Created on 21 Mar 2017  路  2Comments  路  Source: airbnb/lottie-android

Hello,

I've made some small isolated tests to understand the limits and I had some issues with strokes and masks. I'm almost sure the problem comes from "Create shapes from vector layer", but I'm not sure why or how to fix it.

I'm using version 1.5.3.
And this is my workflow:

  • Build shapes in Illustrator
  • Import .ai file into After Effects
  • "Create shapes from vector layer"
  • Animate them
  • Bodymovin JSON -> Lottie

Here's a ZIP containing: .aep, .ai, .html, .json and .mp4: lottie.zip

Here's the expected:
screen shot 2017-03-21 at 8 07 00 pm

Bodymovin's version:
screen shot 2017-03-21 at 8 08 33 pm

Lottie's version:
screen shot 2017-03-21 at 8 09 09 pm

Most helpful comment

Well here's what they look like in 2.0.0-beta2 :)
image
Enjoy!

And what they look like with merge paths enabled (KitKat and above only):
image

All 2 comments

Well here's what they look like in 2.0.0-beta2 :)
image
Enjoy!

And what they look like with merge paths enabled (KitKat and above only):
image

Marvelous! (:

Was this page helpful?
0 / 5 - 0 ratings