3d76d1bf46
Bug: skia: Change-Id: Ie6485a11bb57fecef470d727dcf3b4fe5dff0b90 Reviewed-on: https://skia-review.googlesource.com/c/195582 Reviewed-by: Brian Osman <brianosman@google.com> Commit-Queue: Brian Osman <brianosman@google.com>
85 lines
1.8 KiB
JSON
85 lines
1.8 KiB
JSON
{
|
|
"MaxCount": 4096,
|
|
"Duration": 1,
|
|
"Rate": 90,
|
|
"Life": {
|
|
"XValues": [],
|
|
"Segments": [
|
|
{
|
|
"Type": "Constant",
|
|
"Ranged": false,
|
|
"Bidirectional": false,
|
|
"A0": 30
|
|
}
|
|
]
|
|
},
|
|
"Drawable": {
|
|
"Type": "SkCircleDrawable",
|
|
"Radius": 2
|
|
},
|
|
"Spawn": [
|
|
{
|
|
"Type": "SkPositionInCircleAffector",
|
|
"Enabled": true,
|
|
"SetHeading": true,
|
|
"X": {
|
|
"XValues": [],
|
|
"Segments": [
|
|
{
|
|
"Type": "Constant",
|
|
"Ranged": false,
|
|
"Bidirectional": false,
|
|
"A0": 0
|
|
}
|
|
]
|
|
},
|
|
"Y": {
|
|
"XValues": [],
|
|
"Segments": [
|
|
{
|
|
"Type": "Constant",
|
|
"Ranged": false,
|
|
"Bidirectional": false,
|
|
"A0": 0
|
|
}
|
|
]
|
|
},
|
|
"Radius": {
|
|
"XValues": [],
|
|
"Segments": [
|
|
{
|
|
"Type": "Constant",
|
|
"Ranged": false,
|
|
"Bidirectional": false,
|
|
"A0": 40
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"Update": [
|
|
{
|
|
"Type": "SkPointForceAffector",
|
|
"Enabled": true,
|
|
"Point": { "x": 0, "y": 0 },
|
|
"Constant": -10,
|
|
"InvSquare": 0
|
|
},
|
|
{
|
|
"Type": "SkSizeAffector",
|
|
"Enabled": true,
|
|
"Curve": {
|
|
"XValues": [],
|
|
"Segments": [
|
|
{
|
|
"Type": "Linear",
|
|
"Ranged": false,
|
|
"Bidirectional": false,
|
|
"A0": 0.25,
|
|
"D0": 3
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
} |