skia2/resources/skottie/skottie-gradient-opacity.json
Florin Malita 91a1ec34bf [skottie] Streamlined gradient stop merger
Refactor as a single interpolating loop, based on careful selection
of lerp coefficients.

Change-Id: I58786cddb2f042b53dcbac80c2346736429be102
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/252858
Commit-Queue: Florin Malita <fmalita@chromium.org>
Reviewed-by: Mike Reed <reed@google.com>
2019-11-05 19:44:11 +00:00

586 lines
10 KiB
JSON

{
"assets": [],
"ddd": 0,
"fr": 60,
"h": 500,
"ip": 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": [
250,
75,
0
]
},
"r": {
"a": 0,
"ix": 10,
"k": 0
},
"s": {
"a": 0,
"ix": 6,
"k": [
100,
100,
100
]
}
},
"nm": "Shape Layer 1",
"op": 301,
"shapes": [
{
"d": 1,
"hd": false,
"mn": "ADBE Vector Shape - Rect",
"nm": "Rectangle Path 1",
"p": {
"a": 0,
"ix": 3,
"k": [
0,
0
]
},
"r": {
"a": 0,
"ix": 4,
"k": 0
},
"s": {
"a": 0,
"ix": 2,
"k": [
400,
100
]
},
"ty": "rc"
},
{
"bm": 0,
"e": {
"a": 0,
"ix": 6,
"k": [
200,
0
]
},
"g": {
"k": {
"a": 0,
"ix": 9,
"k": [
0.50, 0, 1, 0,
0.50, 1, 0, 0,
0.00, 1,
0.25, 0,
0.50, 1,
0.75, 0,
1.00, 1
]
},
"p": 2
},
"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": [
-200,
0
]
},
"t": 1,
"ty": "gf"
}
],
"sr": 1,
"st": 0,
"ty": 4
},
{
"ao": 0,
"bm": 0,
"ddd": 0,
"ind": 2,
"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": [
250,
190,
0
]
},
"r": {
"a": 0,
"ix": 10,
"k": 0
},
"s": {
"a": 0,
"ix": 6,
"k": [
100,
100,
100
]
}
},
"nm": "Shape Layer 2",
"op": 301,
"shapes": [
{
"d": 1,
"hd": false,
"mn": "ADBE Vector Shape - Rect",
"nm": "Rectangle Path 1",
"p": {
"a": 0,
"ix": 3,
"k": [
0,
0
]
},
"r": {
"a": 0,
"ix": 4,
"k": 0
},
"s": {
"a": 0,
"ix": 2,
"k": [
400,
100
]
},
"ty": "rc"
},
{
"bm": 0,
"e": {
"a": 0,
"ix": 6,
"k": [
200,
0
]
},
"g": {
"k": {
"a": 0,
"ix": 9,
"k": [
0.00, 0, 1, 0,
0.25, 1, 0, 0,
0.50, 0, 0, 1,
0.75, 1, 0, 0,
1.00, 0, 1, 0,
0.50, 0.35,
0.50, 1.00
]
},
"p": 5
},
"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": [
-200,
0
]
},
"t": 1,
"ty": "gf"
}
],
"sr": 1,
"st": 0,
"ty": 4
},
{
"ao": 0,
"bm": 0,
"ddd": 0,
"ind": 3,
"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": [
250,
305,
0
]
},
"r": {
"a": 0,
"ix": 10,
"k": 0
},
"s": {
"a": 0,
"ix": 6,
"k": [
100,
100,
100
]
}
},
"nm": "Shape Layer 3",
"op": 301,
"shapes": [
{
"d": 1,
"hd": false,
"mn": "ADBE Vector Shape - Rect",
"nm": "Rectangle Path 1",
"p": {
"a": 0,
"ix": 3,
"k": [
0,
0
]
},
"r": {
"a": 0,
"ix": 4,
"k": 0
},
"s": {
"a": 0,
"ix": 2,
"k": [
400,
100
]
},
"ty": "rc"
},
{
"bm": 0,
"e": {
"a": 0,
"ix": 6,
"k": [
200,
0
]
},
"g": {
"k": {
"a": 0,
"ix": 9,
"k": [
0.00, 0, 1, 0,
0.25, 1, 0, 0,
0.50, 0, 0, 1,
0.75, 1, 0, 0,
1.00, 0, 1, 0,
0.25, 1,
0.37, 0,
0.50, 1,
0.62, 0,
0.75, 1
]
},
"p": 5
},
"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": [
-200,
0
]
},
"t": 1,
"ty": "gf"
}
],
"sr": 1,
"st": 0,
"ty": 4
},
{
"ao": 0,
"bm": 0,
"ddd": 0,
"ind": 4,
"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": [
250,
425,
0
]
},
"r": {
"a": 0,
"ix": 10,
"k": 0
},
"s": {
"a": 0,
"ix": 6,
"k": [
100,
100,
100
]
}
},
"nm": "Shape Layer 4",
"op": 301,
"shapes": [
{
"d": 1,
"hd": false,
"mn": "ADBE Vector Shape - Rect",
"nm": "Rectangle Path 1",
"p": {
"a": 0,
"ix": 3,
"k": [
0,
0
]
},
"r": {
"a": 0,
"ix": 4,
"k": 0
},
"s": {
"a": 0,
"ix": 2,
"k": [
400,
100
]
},
"ty": "rc"
},
{
"bm": 0,
"e": {
"a": 0,
"ix": 6,
"k": [
200,
0
]
},
"g": {
"k": {
"a": 0,
"ix": 9,
"k": [
0.25, 0, 1, 0,
0.37, 1, 0, 0,
0.50, 0, 0, 1,
0.62, 1, 0, 0,
0.75, 0, 1, 0,
0.00, 1,
0.25, 0,
0.50, 1,
0.75, 0,
1.00, 1
]
},
"p": 5
},
"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": [
-200,
0
]
},
"t": 1,
"ty": "gf"
}
],
"sr": 1,
"st": 0,
"ty": 4
},
{
"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": "White Solid 1",
"op": 301,
"sc": "#ffffff",
"sh": 500,
"sr": 1,
"st": 0,
"sw": 500,
"ty": 1
}
],
"markers": [],
"nm": "gradient opacity",
"op": 301,
"v": "5.5.5",
"w": 500
}