M11.4: Lottie export/import
New crate effectcraft-lottie (L3): export a comp to Lottie JSON / dotLottie (precomp and base64 image assets; shape, solid, null, precomp, image and text layers or glyph shapes; transforms with parenting, separated position, anchor; keyframes with speed/influence converted to normalised i/o tangents, hold keys, spatial ti/to; all shape items incl. gradients, dashes, trim, repeater and path operators; masks, track mattes, blend modes, time remap, timing, markers, optional expressions, a few Lottie effects) with a warnings list for what Lottie cannot express, and the inverse import. Commands file.exportLottie / file.importLottie with File > Export / Import entries. Round-trip tests (values and rendered frames) and hand-written fixtures. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
5273f1ba96
commit
c4100bcf80
+51
@@ -0,0 +1,51 @@
|
||||
{
|
||||
"v": "4.8.0",
|
||||
"nm": "Legacy Masks",
|
||||
"fr": 30,
|
||||
"ip": 0,
|
||||
"op": 30,
|
||||
"w": 120,
|
||||
"h": 120,
|
||||
"assets": [],
|
||||
"layers": [
|
||||
{
|
||||
"ind": 1,
|
||||
"ty": 1,
|
||||
"nm": "Card",
|
||||
"sc": "#e0c040",
|
||||
"sw": 120,
|
||||
"sh": 120,
|
||||
"ip": 0,
|
||||
"op": 30,
|
||||
"st": 0,
|
||||
"sr": 1,
|
||||
"hasMask": true,
|
||||
"ks": {
|
||||
"a": { "a": 0, "k": [60, 60, 0] },
|
||||
"p": { "a": 0, "k": [60, 60, 0] },
|
||||
"s": { "a": 0, "k": [100, 100, 100] },
|
||||
"r": { "a": 0, "k": 0 },
|
||||
"o": { "a": 1, "k": [{ "t": 0, "s": [0], "e": [100], "i": { "x": [0.833], "y": [0.833] }, "o": { "x": [0.167], "y": [0.167] } }, { "t": 20 }] }
|
||||
},
|
||||
"masksProperties": [
|
||||
{
|
||||
"nm": "Outer",
|
||||
"mode": "a",
|
||||
"inv": false,
|
||||
"pt": { "a": 0, "k": { "c": true, "v": [[10, 10], [110, 10], [110, 110], [10, 110]], "i": [[0, 0], [0, 0], [0, 0], [0, 0]], "o": [[0, 0], [0, 0], [0, 0], [0, 0]] } },
|
||||
"o": { "a": 0, "k": 100 },
|
||||
"x": { "a": 0, "k": 0 }
|
||||
},
|
||||
{
|
||||
"nm": "Hole",
|
||||
"mode": "s",
|
||||
"inv": true,
|
||||
"pt": { "a": 0, "k": { "c": true, "v": [[40, 40], [80, 40], [80, 80], [40, 80]], "i": [[0, 0], [0, 0], [0, 0], [0, 0]], "o": [[0, 0], [0, 0], [0, 0], [0, 0]] } },
|
||||
"o": { "a": 0, "k": 100 },
|
||||
"x": { "a": 0, "k": 0 }
|
||||
}
|
||||
]
|
||||
},
|
||||
{ "ind": 2, "ty": 6, "nm": "Sound", "ip": 0, "op": 30, "st": 0, "sr": 1 }
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user