blob: 91c6690a138d33f7c4fc62d97859a7a63af15ed0 [file] [log] [blame]
Brian Osman7c979f52019-02-12 13:27:51 -05001{
2 "MaxCount": 4096,
Brian Osman8b6283f2019-02-14 16:55:21 -05003 "Duration": 1,
Brian Osman7c979f52019-02-12 13:27:51 -05004 "Rate": 30,
5 "Life": {
Brian Osman8b6283f2019-02-14 16:55:21 -05006 "XValues": [],
7 "Segments": [
8 {
9 "Constant": true,
10 "Ranged": false,
11 "Bidirectional": false,
12 "A0": 10,
13 "B0": 0,
14 "C0": 0,
15 "D0": 0,
16 "A1": 0,
17 "B1": 0,
18 "C1": 0,
19 "D1": 0
20 }
21 ]
Brian Osman7c979f52019-02-12 13:27:51 -050022 },
23 "StartColor": [ 1, 0.999994, 0.99999, 1 ],
24 "EndColor": [ 0.99999, 0.999992, 1, 1 ],
Brian Osman543d2e22019-02-15 14:29:38 -050025 "Drawable": {
26 "Type": "SkCircleDrawable",
27 "Radius": 1
Brian Osman7c979f52019-02-12 13:27:51 -050028 },
Brian Osman7c979f52019-02-12 13:27:51 -050029 "Emitter": {
30 "Type": "SkLineEmitter",
31 "P1": { "x": 61, "y": 34 },
32 "P2": { "x": 606, "y": 32 }
33 },
Brian Osman8b6283f2019-02-14 16:55:21 -050034 "Spawn": [
35 {
36 "Type": "SkLinearVelocityAffector",
37 "Force": false,
38 "Angle": {
39 "XValues": [],
40 "Segments": [
41 {
42 "Constant": true,
43 "Ranged": true,
44 "Bidirectional": false,
45 "A0": 80,
46 "B0": 1,
47 "C0": 0,
48 "D0": 0,
49 "A1": 100,
50 "B1": 0,
51 "C1": 0,
52 "D1": 0
53 }
54 ]
55 },
56 "Strength": {
57 "XValues": [],
58 "Segments": [
59 {
60 "Constant": true,
61 "Ranged": true,
62 "Bidirectional": false,
63 "A0": 10,
64 "B0": 0,
65 "C0": 0,
66 "D0": 0,
67 "A1": 30,
68 "B1": 0,
69 "C1": 0,
70 "D1": 0
71 }
72 ]
73 }
74 }
75 ],
Brian Osman5c1f8eb2019-02-14 14:49:55 -050076 "Update": [
Brian Osman7c979f52019-02-12 13:27:51 -050077 {
Brian Osman8b6283f2019-02-14 16:55:21 -050078 "Type": "SkSizeAffector",
79 "Curve": {
80 "XValues": [],
81 "Segments": [
82 {
83 "Constant": false,
84 "Ranged": true,
85 "Bidirectional": false,
86 "A0": 10,
87 "B0": 10,
88 "C0": 10,
89 "D0": 0,
90 "A1": 10,
91 "B1": 0,
92 "C1": 0,
93 "D1": 0
94 }
95 ]
Brian Osman7c979f52019-02-12 13:27:51 -050096 }
97 }
98 ]
99}