skia2/resources/skottie/skottie-shift-channels-effect.json
Florin Malita c1b501c352 [skottie] Shift Channels effect support
(https://helpx.adobe.com/after-effects/using/channel-effects.html#shift_channels_effect)

Limitations: no HSL sources for now.

Change-Id: Iffd63f2bbfc8c5f1de00846412be26847e822420
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/250036
Commit-Queue: Florin Malita <fmalita@chromium.org>
Reviewed-by: Mike Klein <mtklein@google.com>
Reviewed-by: Mike Reed <reed@google.com>
2019-10-22 20:36:01 +00:00

1254 lines
28 KiB
JSON

{
"assets": [
{
"id": "comp_0",
"layers": [
{
"ao": 0,
"bm": 0,
"ddd": 0,
"ind": 1,
"ip": 0,
"ks": {
"a": {
"a": 0,
"ix": 1,
"k": [
0,
0,
0
]
},
"o": {
"a": 0,
"ix": 11,
"k": 100
},
"p": {
"a": 0,
"ix": 2,
"k": [
125,
125,
0
]
},
"r": {
"a": 0,
"ix": 10,
"k": 0
},
"s": {
"a": 0,
"ix": 6,
"k": [
50,
50,
100
]
}
},
"nm": "Shape Layer 1",
"op": 302.5,
"shapes": [
{
"bm": 0,
"cix": 2,
"hd": false,
"it": [
{
"d": 1,
"hd": false,
"ir": {
"a": 0,
"ix": 6,
"k": 35
},
"is": {
"a": 0,
"ix": 8,
"k": 0
},
"ix": 1,
"mn": "ADBE Vector Shape - Star",
"nm": "Polystar Path 1",
"or": {
"a": 0,
"ix": 7,
"k": 100
},
"os": {
"a": 0,
"ix": 9,
"k": 0
},
"p": {
"a": 0,
"ix": 4,
"k": [
0,
0
]
},
"pt": {
"a": 0,
"ix": 3,
"k": 9
},
"r": {
"a": 0,
"ix": 5,
"k": 0
},
"sy": 1,
"ty": "sr"
},
{
"a": {
"a": 0,
"ix": 8,
"k": 0
},
"bm": 0,
"e": {
"a": 0,
"ix": 6,
"k": [
100,
0
]
},
"g": {
"k": {
"a": 0,
"ix": 9,
"k": [
0,
0,
0.5,
1,
1,
1,
0,
0.5
]
},
"p": 2
},
"h": {
"a": 0,
"ix": 7,
"k": 0
},
"hd": false,
"mn": "ADBE Vector Graphic - G-Fill",
"nm": "Gradient Fill 1",
"o": {
"a": 0,
"ix": 10,
"k": 100
},
"r": 1,
"s": {
"a": 0,
"ix": 5,
"k": [
0,
0
]
},
"t": 2,
"ty": "gf"
},
{
"a": {
"a": 0,
"ix": 1,
"k": [
0,
0
]
},
"nm": "Transform",
"o": {
"a": 0,
"ix": 7,
"k": 75
},
"p": {
"a": 0,
"ix": 2,
"k": [
0,
0
]
},
"r": {
"a": 1,
"ix": 6,
"k": [
{
"i": {
"x": [
0.833
],
"y": [
0.833
]
},
"o": {
"x": [
0.167
],
"y": [
0.167
]
},
"s": [
0
],
"t": 0
},
{
"s": [
80
],
"t": 300
}
]
},
"s": {
"a": 0,
"ix": 3,
"k": [
100,
100
]
},
"sa": {
"a": 0,
"ix": 5,
"k": 0
},
"sk": {
"a": 0,
"ix": 4,
"k": 0
},
"ty": "tr"
}
],
"ix": 1,
"mn": "ADBE Vector Group",
"nm": "Group 1",
"np": 2,
"ty": "gr"
},
{
"bm": 0,
"cix": 2,
"hd": false,
"it": [
{
"d": 1,
"hd": false,
"mn": "ADBE Vector Shape - Ellipse",
"nm": "Ellipse Path 1",
"p": {
"a": 0,
"ix": 3,
"k": [
-85,
0
]
},
"s": {
"a": 0,
"ix": 2,
"k": [
150,
150
]
},
"ty": "el"
},
{
"a": {
"a": 0,
"ix": 8,
"k": 0
},
"bm": 0,
"e": {
"a": 0,
"ix": 6,
"k": [
-10,
0
]
},
"g": {
"k": {
"a": 0,
"ix": 9,
"k": [
0,
0.5,
1,
0,
1,
0,
0.5,
1
]
},
"p": 2
},
"h": {
"a": 0,
"ix": 7,
"k": 0
},
"hd": false,
"mn": "ADBE Vector Graphic - G-Fill",
"nm": "Gradient Fill 1",
"o": {
"a": 0,
"ix": 10,
"k": 100
},
"r": 1,
"s": {
"a": 0,
"ix": 5,
"k": [
-85,
0
]
},
"t": 2,
"ty": "gf"
},
{
"a": {
"a": 0,
"ix": 1,
"k": [
0,
0
]
},
"nm": "Transform",
"o": {
"a": 0,
"ix": 7,
"k": 75
},
"p": {
"a": 0,
"ix": 2,
"k": [
0,
0
]
},
"r": {
"a": 1,
"ix": 6,
"k": [
{
"i": {
"x": [
0.833
],
"y": [
0.833
]
},
"o": {
"x": [
0.167
],
"y": [
0.167
]
},
"s": [
0
],
"t": 0
},
{
"s": [
360
],
"t": 300
}
]
},
"s": {
"a": 0,
"ix": 3,
"k": [
100,
100
]
},
"sa": {
"a": 0,
"ix": 5,
"k": 0
},
"sk": {
"a": 0,
"ix": 4,
"k": 0
},
"ty": "tr"
}
],
"ix": 2,
"mn": "ADBE Vector Group",
"nm": "Group 2",
"np": 2,
"ty": "gr"
},
{
"bm": 0,
"cix": 2,
"hd": false,
"it": [
{
"d": 1,
"hd": false,
"mn": "ADBE Vector Shape - Rect",
"nm": "Rectangle Path 1",
"p": {
"a": 0,
"ix": 3,
"k": [
75,
75
]
},
"r": {
"a": 0,
"ix": 4,
"k": 0
},
"s": {
"a": 0,
"ix": 2,
"k": [
150,
150
]
},
"ty": "rc"
},
{
"a": {
"a": 0,
"ix": 8,
"k": 0
},
"bm": 0,
"e": {
"a": 0,
"ix": 6,
"k": [
160,
75
]
},
"g": {
"k": {
"a": 0,
"ix": 9,
"k": [
0,
0.5,
0,
1,
1,
1,
0.5,
0
]
},
"p": 2
},
"h": {
"a": 0,
"ix": 7,
"k": 0
},
"hd": false,
"mn": "ADBE Vector Graphic - G-Fill",
"nm": "Gradient Fill 1",
"o": {
"a": 0,
"ix": 10,
"k": 100
},
"r": 1,
"s": {
"a": 0,
"ix": 5,
"k": [
75,
75
]
},
"t": 2,
"ty": "gf"
},
{
"a": {
"a": 0,
"ix": 1,
"k": [
0,
0
]
},
"nm": "Transform",
"o": {
"a": 0,
"ix": 7,
"k": 75
},
"p": {
"a": 0,
"ix": 2,
"k": [
0,
0
]
},
"r": {
"a": 1,
"ix": 6,
"k": [
{
"i": {
"x": [
0.833
],
"y": [
0.833
]
},
"o": {
"x": [
0.167
],
"y": [
0.167
]
},
"s": [
0
],
"t": 0
},
{
"s": [
-360
],
"t": 300
}
]
},
"s": {
"a": 0,
"ix": 3,
"k": [
100,
100
]
},
"sa": {
"a": 0,
"ix": 5,
"k": 0
},
"sk": {
"a": 0,
"ix": 4,
"k": 0
},
"ty": "tr"
}
],
"ix": 3,
"mn": "ADBE Vector Group",
"nm": "Group 3",
"np": 2,
"ty": "gr"
}
],
"sr": 1,
"st": 0,
"ty": 4
}
]
}
],
"ddd": 0,
"fr": 60,
"h": 500,
"ip": 0,
"layers": [
{
"ao": 0,
"bm": 0,
"ddd": 0,
"h": 250,
"ind": 1,
"ip": 0,
"ks": {
"a": {
"a": 0,
"ix": 1,
"k": [
125,
125,
0
]
},
"o": {
"a": 0,
"ix": 11,
"k": 100
},
"p": {
"a": 0,
"ix": 2,
"k": [
125,
125,
0
]
},
"r": {
"a": 0,
"ix": 10,
"k": 0
},
"s": {
"a": 0,
"ix": 6,
"k": [
100,
100,
100
]
}
},
"nm": "baseline",
"op": 301,
"refId": "comp_0",
"sr": 1,
"st": 0,
"ty": 0,
"w": 250
},
{
"ao": 0,
"bm": 0,
"ddd": 0,
"ef": [
{
"ef": [
{
"ix": 1,
"mn": "ADBE Shift Channels-0001",
"nm": "Take Alpha From",
"ty": 7,
"v": {
"a": 0,
"ix": 1,
"k": 5
}
},
{
"ix": 2,
"mn": "ADBE Shift Channels-0002",
"nm": "Take Red From",
"ty": 7,
"v": {
"a": 0,
"ix": 2,
"k": 3
}
},
{
"ix": 3,
"mn": "ADBE Shift Channels-0003",
"nm": "Take Green From",
"ty": 7,
"v": {
"a": 0,
"ix": 3,
"k": 4
}
},
{
"ix": 4,
"mn": "ADBE Shift Channels-0004",
"nm": "Take Blue From",
"ty": 7,
"v": {
"a": 0,
"ix": 4,
"k": 2
}
}
],
"en": 1,
"ix": 1,
"mn": "ADBE Shift Channels",
"nm": "Shift Channels",
"np": 6,
"ty": 5
}
],
"h": 250,
"ind": 2,
"ip": 0,
"ks": {
"a": {
"a": 0,
"ix": 1,
"k": [
125,
125,
0
]
},
"o": {
"a": 0,
"ix": 11,
"k": 100
},
"p": {
"a": 0,
"ix": 2,
"k": [
125,
375,
0
]
},
"r": {
"a": 0,
"ix": 10,
"k": 0
},
"s": {
"a": 0,
"ix": 6,
"k": [
100,
100,
100
]
}
},
"nm": "shift1",
"op": 301,
"refId": "comp_0",
"sr": 1,
"st": 0,
"ty": 0,
"w": 250
},
{
"ao": 0,
"bm": 0,
"ddd": 0,
"ef": [
{
"ef": [
{
"ix": 1,
"mn": "ADBE Shift Channels-0001",
"nm": "Take Alpha From",
"ty": 7,
"v": {
"a": 0,
"ix": 1,
"k": 2
}
},
{
"ix": 2,
"mn": "ADBE Shift Channels-0002",
"nm": "Take Red From",
"ty": 7,
"v": {
"a": 0,
"ix": 2,
"k": 5
}
},
{
"ix": 3,
"mn": "ADBE Shift Channels-0003",
"nm": "Take Green From",
"ty": 7,
"v": {
"a": 0,
"ix": 3,
"k": 2
}
},
{
"ix": 4,
"mn": "ADBE Shift Channels-0004",
"nm": "Take Blue From",
"ty": 7,
"v": {
"a": 0,
"ix": 4,
"k": 3
}
}
],
"en": 1,
"ix": 1,
"mn": "ADBE Shift Channels",
"nm": "Shift Channels",
"np": 6,
"ty": 5
}
],
"h": 250,
"ind": 3,
"ip": 0,
"ks": {
"a": {
"a": 0,
"ix": 1,
"k": [
125,
125,
0
]
},
"o": {
"a": 0,
"ix": 11,
"k": 100
},
"p": {
"a": 0,
"ix": 2,
"k": [
375,
125,
0
]
},
"r": {
"a": 0,
"ix": 10,
"k": 0
},
"s": {
"a": 0,
"ix": 6,
"k": [
100,
100,
100
]
}
},
"nm": "shift2",
"op": 301,
"refId": "comp_0",
"sr": 1,
"st": 0,
"ty": 0,
"w": 250
},
{
"ao": 0,
"bm": 0,
"ddd": 0,
"ef": [
{
"ef": [
{
"ix": 1,
"mn": "ADBE Shift Channels-0001",
"nm": "Take Alpha From",
"ty": 7,
"v": {
"a": 1,
"ix": 1,
"k": [
{
"h": 1,
"s": [
1
],
"t": 0
},
{
"h": 1,
"s": [
2
],
"t": 30
},
{
"h": 1,
"s": [
3
],
"t": 75
},
{
"h": 1,
"s": [
4
],
"t": 120
},
{
"h": 1,
"s": [
5
],
"t": 165
},
{
"h": 1,
"s": [
9
],
"t": 210
},
{
"h": 1,
"s": [
9
],
"t": 255
},
{
"h": 1,
"s": [
9
],
"t": 285
}
]
}
},
{
"ix": 2,
"mn": "ADBE Shift Channels-0002",
"nm": "Take Red From",
"ty": 7,
"v": {
"a": 1,
"ix": 2,
"k": [
{
"h": 1,
"s": [
2
],
"t": 0
},
{
"h": 1,
"s": [
3
],
"t": 30
},
{
"h": 1,
"s": [
4
],
"t": 75
},
{
"h": 1,
"s": [
5
],
"t": 120
},
{
"h": 1,
"s": [
9
],
"t": 165
},
{
"h": 1,
"s": [
10
],
"t": 210
},
{
"h": 1,
"s": [
1
],
"t": 255
}
]
}
},
{
"ix": 3,
"mn": "ADBE Shift Channels-0003",
"nm": "Take Green From",
"ty": 7,
"v": {
"a": 1,
"ix": 3,
"k": [
{
"h": 1,
"s": [
3
],
"t": 0
},
{
"h": 1,
"s": [
4
],
"t": 30
},
{
"h": 1,
"s": [
5
],
"t": 75
},
{
"h": 1,
"s": [
9
],
"t": 120
},
{
"h": 1,
"s": [
10
],
"t": 165
},
{
"h": 1,
"s": [
1
],
"t": 210
},
{
"h": 1,
"s": [
2
],
"t": 255
}
]
}
},
{
"ix": 4,
"mn": "ADBE Shift Channels-0004",
"nm": "Take Blue From",
"ty": 7,
"v": {
"a": 1,
"ix": 4,
"k": [
{
"h": 1,
"s": [
4
],
"t": 0
},
{
"h": 1,
"s": [
5
],
"t": 30
},
{
"h": 1,
"s": [
9
],
"t": 75
},
{
"h": 1,
"s": [
10
],
"t": 120
},
{
"h": 1,
"s": [
1
],
"t": 165
},
{
"h": 1,
"s": [
2
],
"t": 210
},
{
"h": 1,
"s": [
3
],
"t": 255
}
]
}
}
],
"en": 1,
"ix": 1,
"mn": "ADBE Shift Channels",
"nm": "Shift Channels",
"np": 6,
"ty": 5
}
],
"h": 250,
"ind": 4,
"ip": 0,
"ks": {
"a": {
"a": 0,
"ix": 1,
"k": [
125,
125,
0
]
},
"o": {
"a": 0,
"ix": 11,
"k": 100
},
"p": {
"a": 0,
"ix": 2,
"k": [
375,
375,
0
]
},
"r": {
"a": 0,
"ix": 10,
"k": 0
},
"s": {
"a": 0,
"ix": 6,
"k": [
100,
100,
100
]
}
},
"nm": "shift3",
"op": 301,
"refId": "comp_0",
"sr": 1,
"st": 0,
"ty": 0,
"w": 250
},
{
"ao": 0,
"bm": 0,
"ddd": 0,
"ind": 5,
"ip": 0,
"ks": {
"a": {
"a": 0,
"ix": 1,
"k": [
250,
250,
0
]
},
"o": {
"a": 0,
"ix": 11,
"k": 100
},
"p": {
"a": 0,
"ix": 2,
"k": [
250,
250,
0
]
},
"r": {
"a": 0,
"ix": 10,
"k": 0
},
"s": {
"a": 0,
"ix": 6,
"k": [
100,
100,
100
]
}
},
"nm": "Pale Cyan Solid 1",
"op": 302.5,
"sc": "#e1e8e8",
"sh": 500,
"sr": 1,
"st": 0,
"sw": 500,
"ty": 1
}
],
"markers": [],
"nm": "shift channel",
"op": 301,
"v": "5.5.5",
"w": 500
}