-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update supported features; Update path to layer parameters in Lottie
- Loading branch information
1 parent
1ac60f0
commit 87a4b85
Showing
6 changed files
with
220 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
Group Layer | ||
============ | ||
|
||
+------------------+------------------------------------------------------------------+ | ||
| Property | Path to Property in lottie | | ||
+==================+==================================================================+ | ||
| Z depth | Depends on ordering of layers in lottie format | | ||
+------------------+------------------------------------------------------------------+ | ||
| Amount | layers/preComp.json -> "ks" -> helpers/transform.json -> "o" | | ||
+------------------+------------------------------------------------------------------+ | ||
| Blend_method | layers/preComp.json -> “bm” -> helpers/blendMode.json | | ||
+------------------+------------------------------------------------------------------+ | ||
| Origin | layers/preComp.json -> "ks" -> helpers/transform.json -> "p"/"a" | | ||
+------------------+------------------------------------------------------------------+ | ||
| Transformation | layers/preComp.json -> "ks" -> helpers/transform.json | | ||
+------------------+------------------------------------------------------------------+ | ||
| Canvas | sources/preComp.json | | ||
+------------------+------------------------------------------------------------------+ | ||
| Speed | layers/preComp.json -> "tm"(time remapping) | | ||
+------------------+------------------------------------------------------------------+ | ||
| Time Offset | layer/preComp.json -> "tm"(time remapping) | | ||
+------------------+------------------------------------------------------------------+ | ||
| Lock selection | Not needed | | ||
+------------------+------------------------------------------------------------------+ | ||
| Outline Grow | Global parameter -> ``settings.OUTLINE_GROW`` | | ||
+------------------+------------------------------------------------------------------+ | ||
| Z Range | Opacity of layers in canvas is modified accordingly | | ||
+------------------+------------------------------------------------------------------+ | ||
| Z Range Position | Opacity of layers in canvas is modified accordingly | | ||
+------------------+------------------------------------------------------------------+ | ||
| Z Range Depth | Opacity of layers in canvas is modified accordingly | | ||
+------------------+------------------------------------------------------------------+ | ||
| Z Range Blur | Not Supported | | ||
+------------------+------------------------------------------------------------------+ | ||
|
||
Important points | ||
---------------- | ||
|
||
- In Lottie, all the parts of shapes/elements lying outside a precomposition are cut off and never displayed. Hence the over all size of a pre-comp is increased by some amount as a precaution. Some part which is outside a pre-comp might come inside the overall canvas after some transformations(rotation/translation/scale). This increase is given by: | ||
``ADDITIONAL_PRECOMP_WIDTH`` and ``ADDITIONAL_PRECOMP_HEIGHT`` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
Rotate Layer | ||
============ | ||
|
||
+----------+------------------------------------------------------------------+ | ||
| Property | Path to Property in lottie | | ||
+==========+==================================================================+ | ||
| Origin | layers/preComp.json -> "ks" -> helpers/transform.json -> "p"/"a" | | ||
+----------+------------------------------------------------------------------+ | ||
| Amount | layers/preComp.json -> "ks" -> helpers/transform.json -> "r" | | ||
+----------+------------------------------------------------------------------+ | ||
|
||
|
||
Important points | ||
---------------- | ||
|
||
- In Lottie, all the parts of shapes/elements lying outside a precomposition are cut off and never displayed. Hence the over all size of a pre-comp is increased by some amount as a precaution. Some part which is outside a pre-comp might come inside the overall canvas after some transformations(rotation/translation/scale). This increase is given by: | ||
``ADDITIONAL_PRECOMP_WIDTH`` and ``ADDITIONAL_PRECOMP_HEIGHT`` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
Scale Layer | ||
============ | ||
|
||
+----------+------------------------------------------------------------------+ | ||
| Property | Path to Property in lottie | | ||
+==========+==================================================================+ | ||
| Origin | layers/preComp.json -> "ks" -> helpers/transform.json -> "p"/"a" | | ||
+----------+------------------------------------------------------------------+ | ||
| Amount | layers/preComp.json -> "ks" -> helpers/transform.json -> "s" | | ||
+----------+------------------------------------------------------------------+ | ||
|
||
|
||
Important points | ||
---------------- | ||
|
||
- In Lottie, all the parts of shapes/elements lying outside a precomposition are cut off and never displayed. Hence the over all size of a pre-comp is increased by some amount as a precaution. Some part which is outside a pre-comp might come inside the overall canvas after some transformations(rotation/translation/scale). This increase is given by: | ||
``ADDITIONAL_PRECOMP_WIDTH`` and ``ADDITIONAL_PRECOMP_HEIGHT`` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
Switch Group Layer | ||
================== | ||
|
||
+-------------------+-----------------------------------------------------------------------+ | ||
| Property | Path to Property in lottie | | ||
+===================+=======================================================================+ | ||
| Z depth | Depends on ordering of layers in lottie format | | ||
+-------------------+-----------------------------------------------------------------------+ | ||
| Amount | layers/preComp.json -> "ks" -> helpers/transform.json -> "o" | | ||
+-------------------+-----------------------------------------------------------------------+ | ||
| Blend_method | layers/preComp.json -> “bm” -> helpers/blendMode.json | | ||
+-------------------+-----------------------------------------------------------------------+ | ||
| Origin | layers/preComp.json -> "ks" -> helpers/transform.json -> "p"/"a" | | ||
+-------------------+-----------------------------------------------------------------------+ | ||
| Transformation | layers/preComp.json -> "ks" -> helpers/transform.json | | ||
+-------------------+-----------------------------------------------------------------------+ | ||
| Canvas | sources/preComp.json | | ||
+-------------------+-----------------------------------------------------------------------+ | ||
| Speed | layers/preComp.json -> "tm"(time remapping) | | ||
+-------------------+-----------------------------------------------------------------------+ | ||
| Time Offset | layer/preComp.json -> "tm"(time remapping) | | ||
+-------------------+-----------------------------------------------------------------------+ | ||
| Lock selection | Not needed | | ||
+-------------------+-----------------------------------------------------------------------+ | ||
| Outline Grow | Global parameter -> settings.OUTLINE_GROW | | ||
+-------------------+-----------------------------------------------------------------------+ | ||
| Active Layer Name | Opacity of layers in canvas is modified according to the active layer | | ||
+-------------------+-----------------------------------------------------------------------+ | ||
|
||
Important points | ||
---------------- | ||
|
||
- In Lottie, all the parts of shapes/elements lying outside a precomposition are cut off and never displayed. Hence the over all size of a pre-comp is increased by some amount as a precaution. Some part which is outside a pre-comp might come inside the overall canvas after some transformations(rotation/translation/scale). This increase is given by: | ||
``ADDITIONAL_PRECOMP_WIDTH`` and ``ADDITIONAL_PRECOMP_HEIGHT`` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
Transform Layer | ||
============ | ||
|
||
+----------+--------------------------------------------------------------+ | ||
| Property | Path to Property in lottie | | ||
+==========+==============================================================+ | ||
| Origin | layers/preComp.json -> "ks" -> helpers/transform.json -> "p" | | ||
+----------+--------------------------------------------------------------+ | ||
|
||
|
||
Important points | ||
---------------- | ||
|
||
- In Lottie, all the parts of shapes/elements lying outside a precomposition are cut off and never displayed. Hence the over all size of a pre-comp is increased by some amount as a precaution. Some part which is outside a pre-comp might come inside the overall canvas after some transformations(rotation/translation/scale). This increase is given by: | ||
``ADDITIONAL_PRECOMP_WIDTH`` and ``ADDITIONAL_PRECOMP_HEIGHT`` | ||
|
||
- Anchor point is always set to zero. But it is bound to change when the width and height of the pre-composition are changed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters