You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Lottie exporter] Export outlines without variable widths #1217
@morevnaproject , I discussed this with @AnishGG and we found a way that will allow us to not animate the animation frame by frame and this method leads to a huge decrease in .json file size as well leading to faster playback 😃 . The only limitations are that :
Width will be the same in the outline, though it can be animated.
The ends of the outline(tip) cannot be animated in this method.
@saurabh-ramola please mention the points that were discussed regarding the use of first vertex as the common width. This way we can ensure that we are all on the same page and then you can start with the implementation. ^__^
@saurabh-ramola please mention the points that were discussed regarding the use of first vertex as the common width. This way we can ensure that we are all on the same page and then you can start with the implementation. ^__^
Yes, I forgot to mention the options for width :
We could use the width of the first vertex as the common width.
We could take the average width of the three vertices but this would be problematic to implement in Lottie.
Activity
saurabh-ramola commentedon Aug 18, 2020
@morevnaproject , I discussed this with @AnishGG and we found a way that will allow us to not animate the animation frame by frame and this method leads to a huge decrease in
.jsonfile size as well leading to faster playback 😃 . The only limitations are that :AnishGG commentedon Aug 18, 2020
@saurabh-ramola please mention the points that were discussed regarding the use of first vertex as the common width. This way we can ensure that we are all on the same page and then you can start with the implementation. ^__^
saurabh-ramola commentedon Aug 18, 2020
Yes, I forgot to mention the options for width :
Personally I'm in favour of first option.
AnishGG commentedon Aug 18, 2020
I think you meant all vertices :D
+1 in favour of using the width of first vertex as the common width.
morevnaproject commentedon Aug 19, 2020
I think we should use value in Outline Width parameter (1), as the widthpoints (2) are just define relative scale for that value ^__^ -

AnishGG commentedon Aug 19, 2020
Oh yes, this is much better!
@saurabh-ramola please make a note. ^__^
AnishGG commentedon Jul 17, 2021
Linking the PR here: #1647