Skip to main content
Participant
Dec 29, 2022 12:34 PM UTC
Answered

Stroke taper not showing up in Lottie File render

I have a looping trim path with a tapered stroke on both ends. Upon rendering the tapering does not show up in the Lottie File. The Lottie supported Feature page doesn't talk about tapering. Either I'm doing something wrong, or Lottie does not support tapering.

This topic is closed to new replies. Start a new post to keep the conversation going.
Mylenium
MyleniumCorrect answer
Legend
Dec 29, 2022 2:23 PM UTC

Tapering is not a native property of SVG or HTML canvas, so inevitably Lottie cannot support it natively. You have to render the stuff to an inmage sequence if it's really that important to retain the taper.

 

Mylenium

3 replies

Participating Frequently
Aug 15, 2023 12:20 PM UTC
Participating Frequently
Aug 17, 2023 8:18 AM UTC

Actually a bad solution, because the file size increases significantly, in the end we just abandoned the sharp lines

Translate
Mylenium
MyleniumCorrect answer
Legend
Dec 29, 2022 2:23 PM UTC

Tapering is not a native property of SVG or HTML canvas, so inevitably Lottie cannot support it natively. You have to render the stuff to an inmage sequence if it's really that important to retain the taper.

 

Mylenium

Translate