Skip to main content
Participant
December 29, 2022
Answered

Stroke taper not showing up in Lottie File render

  • December 29, 2022
  • 2 replies
  • 3730 views

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 has been closed for replies.
Correct answer Mylenium

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

2 replies

Participating Frequently
August 15, 2023
Participating Frequently
August 17, 2023

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

Mylenium
MyleniumCorrect answer
Legend
December 29, 2022

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