Skip to content

[Lottie exporter] Add support for linear gradient - #1286

Merged
ice0 merged 9 commits into
synfig:masterfrom
saurabh-ramola:gradient_layer
May 9, 2020
Merged

ice0 merged 9 commits into
synfig:masterfrom
saurabh-ramola:gradient_layer

Conversation

@saurabh-ramola

Copy link
Copy Markdown
Member

Linear gradients whose colors opacity is set to 100% are now working. I have raised my concerns at lottie-web repo regarding the issue I am facing(airbnb/lottie-web#2055 (comment)).
I have made this as a draft because the opacity of gradients is not yet supported.
@AnishGG please have a look at this. ^__^

@lgtm-com

lgtm-com Bot commented Mar 25, 2020

Copy link
Copy Markdown

This pull request introduces 3 alerts when merging 4d66737 into 1db7f4d - view on LGTM.com

new alerts:

  • 3 for Unused local variable

@AnishGG AnishGG left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have added some comments, have a look at them. Also the gradient layer is not currently working for group layer(have added comments regarding that also)

@lgtm-com

lgtm-com Bot commented Mar 26, 2020

Copy link
Copy Markdown

This pull request introduces 3 alerts when merging a8712bf into f806eb5 - view on LGTM.com

new alerts:

  • 3 for Unused local variable

@lgtm-com

lgtm-com Bot commented Mar 26, 2020

Copy link
Copy Markdown

This pull request introduces 3 alerts when merging 99e82a3 into f806eb5 - view on LGTM.com

new alerts:

  • 3 for Unused local variable

@lgtm-com

lgtm-com Bot commented Mar 26, 2020

Copy link
Copy Markdown

This pull request introduces 3 alerts when merging 6aa7d86 into f806eb5 - view on LGTM.com

new alerts:

  • 3 for Unused local variable

@lgtm-com

lgtm-com Bot commented Apr 4, 2020

Copy link
Copy Markdown

This pull request introduces 12 alerts when merging f622fd9 into f584626 - view on LGTM.com

new alerts:

  • 7 for Unused import
  • 5 for Unused local variable

@lgtm-com

lgtm-com Bot commented Apr 7, 2020

Copy link
Copy Markdown

This pull request introduces 12 alerts when merging 00ad04a into 90e4e3b - view on LGTM.com

new alerts:

  • 7 for Unused import
  • 5 for Unused local variable

@lgtm-com

lgtm-com Bot commented Apr 12, 2020

Copy link
Copy Markdown

This pull request introduces 5 alerts when merging de93840 into 28696ba - view on LGTM.com

new alerts:

  • 3 for Unused local variable
  • 2 for Unused import

@saurabh-ramola

Copy link
Copy Markdown
Member Author

@AnishGG , Linear Gradient layer is now complete. Can you please test it and let me know if it is correct?

@saurabh-ramola
saurabh-ramola marked this pull request as ready for review April 12, 2020 12:35
AnishGG
AnishGG previously approved these changes Apr 12, 2020
@AnishGG
AnishGG dismissed their stale review April 12, 2020 13:38

Will reavaluate

@AnishGG

AnishGG commented Apr 12, 2020

Copy link
Copy Markdown
Member

I will test this soon!

@AnishGG AnishGG left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have tested your PR and it works perfectly!
Have asked some changes also.
@ice0 could you also test it with an example of your choice. ^__^

@saurabh-ramola

Copy link
Copy Markdown
Member Author

@AnishGG , I have made the required changes ^_^.

@ice0
ice0 self-requested a review April 16, 2020 06:29
@ice0
ice0 merged commit eede90c into synfig:master May 9, 2020
@ice0

ice0 commented May 9, 2020

Copy link
Copy Markdown
Collaborator

Merged. Thank you!

@AnishGG

AnishGG commented May 24, 2020

Copy link
Copy Markdown
Member

Linking this to original issue: #934

rodolforg added a commit to rodolforg/synfig that referenced this pull request Jul 8, 2021
- Convert methods not working with radius of simple circle layer (synfig#1101)
- [Lottie exporter] Add support for variable gamma correction (synfig#1174)
- Changes made to offsetKeyFrame file (synfig#1233)
- Add support for converters: sine, cos, integer, linear gradient, aTan2, Vector angle, radial_composite, radial gradient, vector x, vector y, power, dot product, logarithm, reciprocal, range, vector length, not (synfig#1236 synfig#1254 synfig#1286 synfig#1363 synfig#1409 synfig#1447 synfig#1446 synfig#1516 synfig#1515 synfig#1593 synfig#1586 synfig#1619 synfig#1606 synfig#1650 synfig#1587)
- Add support for blur layers (synfig#1505)
- Add support for Outline layer without variable widths (synfig#1647)
- Improve support for exported values (synfig#2182)
- Some code cleanup (synfig#1199 synfig#1213 synfig#1226 synfig#1456 synfig#2061)
rodolforg added a commit to rodolforg/synfig that referenced this pull request Jul 10, 2021
- Convert methods not working with radius of simple circle layer (synfig#1101)
- [Lottie exporter] Add support for variable gamma correction (synfig#1174)
- Changes made to offsetKeyFrame file (synfig#1233)
- Add support for converters: sine, cos, integer, linear gradient, aTan2, Vector angle, radial_composite, radial gradient, vector x, vector y, power, dot product, logarithm, reciprocal, range, vector length, not (synfig#1236 synfig#1254 synfig#1286 synfig#1363 synfig#1409 synfig#1447 synfig#1446 synfig#1516 synfig#1515 synfig#1593 synfig#1586 synfig#1619 synfig#1606 synfig#1650 synfig#1587)
- Add support for blur layers (synfig#1505)
- Add support for Outline layer without variable widths (synfig#1647)
- Improve support for exported values (synfig#2182)
- Some code cleanup (synfig#1199 synfig#1213 synfig#1226 synfig#1456 synfig#2061)
rodolforg added a commit to rodolforg/synfig that referenced this pull request Jul 10, 2021
- Convert methods not working with radius of simple circle layer (synfig#1101)
- [Lottie exporter] Add support for variable gamma correction (synfig#1174)
- Changes made to offsetKeyFrame file (synfig#1233)
- Add support for converters: sine, cos, integer, linear gradient, aTan2, Vector angle, radial_composite, radial gradient, vector x, vector y, power, dot product, logarithm, reciprocal, range, vector length, not (synfig#1236 synfig#1254 synfig#1286 synfig#1363 synfig#1409 synfig#1447 synfig#1446 synfig#1516 synfig#1515 synfig#1593 synfig#1586 synfig#1619 synfig#1606 synfig#1650 synfig#1587)
- Add support for blur layers (synfig#1505)
- Add support for Outline layer without variable widths (synfig#1647)
- Improve support for exported values (synfig#2182)
- Some code cleanup (synfig#1199 synfig#1213 synfig#1226 synfig#1456 synfig#2061)
@rodolforg rodolforg mentioned this pull request Jul 12, 2021
morevnaproject pushed a commit that referenced this pull request Jul 12, 2021
- Convert methods not working with radius of simple circle layer (#1101)
- [Lottie exporter] Add support for variable gamma correction (#1174)
- Changes made to offsetKeyFrame file (#1233)
- Add support for converters: sine, cos, integer, linear gradient, aTan2, Vector angle, radial_composite, radial gradient, vector x, vector y, power, dot product, logarithm, reciprocal, range, vector length, not (#1236 #1254 #1286 #1363 #1409 #1447 #1446 #1516 #1515 #1593 #1586 #1619 #1606 #1650 #1587)
- Add support for blur layers (#1505)
- Add support for Outline layer without variable widths (#1647)
- Improve support for exported values (#2182)
- Some code cleanup (#1199 #1213 #1226 #1456 #2061)
morevnaproject pushed a commit to morevnaproject/synfig that referenced this pull request Aug 9, 2021
- Convert methods not working with radius of simple circle layer (synfig#1101)
- [Lottie exporter] Add support for variable gamma correction (synfig#1174)
- Changes made to offsetKeyFrame file (synfig#1233)
- Add support for converters: sine, cos, integer, linear gradient, aTan2, Vector angle, radial_composite, radial gradient, vector x, vector y, power, dot product, logarithm, reciprocal, range, vector length, not (synfig#1236 synfig#1254 synfig#1286 synfig#1363 synfig#1409 synfig#1447 synfig#1446 synfig#1516 synfig#1515 synfig#1593 synfig#1586 synfig#1619 synfig#1606 synfig#1650 synfig#1587)
- Add support for blur layers (synfig#1505)
- Add support for Outline layer without variable widths (synfig#1647)
- Improve support for exported values (synfig#2182)
- Some code cleanup (synfig#1199 synfig#1213 synfig#1226 synfig#1456 synfig#2061)
morevnaproject pushed a commit to morevnaproject/synfig that referenced this pull request Aug 9, 2021
- Convert methods not working with radius of simple circle layer (synfig#1101)
- [Lottie exporter] Add support for variable gamma correction (synfig#1174)
- Changes made to offsetKeyFrame file (synfig#1233)
- Add support for converters: sine, cos, integer, linear gradient, aTan2, Vector angle, radial_composite, radial gradient, vector x, vector y, power, dot product, logarithm, reciprocal, range, vector length, not (synfig#1236 synfig#1254 synfig#1286 synfig#1363 synfig#1409 synfig#1447 synfig#1446 synfig#1516 synfig#1515 synfig#1593 synfig#1586 synfig#1619 synfig#1606 synfig#1650 synfig#1587)
- Add support for blur layers (synfig#1505)
- Add support for Outline layer without variable widths (synfig#1647)
- Improve support for exported values (synfig#2182)
- Some code cleanup (synfig#1199 synfig#1213 synfig#1226 synfig#1456 synfig#2061)
morevnaproject pushed a commit to morevnaproject/synfig that referenced this pull request Aug 10, 2021
- Convert methods not working with radius of simple circle layer (synfig#1101)
- [Lottie exporter] Add support for variable gamma correction (synfig#1174)
- Changes made to offsetKeyFrame file (synfig#1233)
- Add support for converters: sine, cos, integer, linear gradient, aTan2, Vector angle, radial_composite, radial gradient, vector x, vector y, power, dot product, logarithm, reciprocal, range, vector length, not (synfig#1236 synfig#1254 synfig#1286 synfig#1363 synfig#1409 synfig#1447 synfig#1446 synfig#1516 synfig#1515 synfig#1593 synfig#1586 synfig#1619 synfig#1606 synfig#1650 synfig#1587)
- Add support for blur layers (synfig#1505)
- Add support for Outline layer without variable widths (synfig#1647)
- Improve support for exported values (synfig#2182)
- Some code cleanup (synfig#1199 synfig#1213 synfig#1226 synfig#1456 synfig#2061)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants