@zaisma/effects 0.0.0-stage → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (123) hide show
  1. package/EFFECT-FILES.md +301 -0
  2. package/LICENSE.txt +93 -0
  3. package/README.md +63 -2
  4. package/batches/chunks.js +294 -0
  5. package/batches/marks.js +160 -0
  6. package/batches/ribbons.js +233 -0
  7. package/batches/shared.js +155 -0
  8. package/batches/sprites.js +447 -0
  9. package/batches/warps.js +222 -0
  10. package/budget.js +115 -0
  11. package/debris.js +173 -0
  12. package/emit.js +143 -0
  13. package/flashes.js +113 -0
  14. package/format.js +365 -0
  15. package/index.d.ts +373 -0
  16. package/index.js +1168 -0
  17. package/library/bubbles_rising.json +47 -0
  18. package/library/bullet_impact.json +588 -0
  19. package/library/campfire.json +235 -0
  20. package/library/candle_flame.json +100 -0
  21. package/library/confetti.json +165 -0
  22. package/library/dash_burst.json +73 -0
  23. package/library/debris_glass.json +96 -0
  24. package/library/debris_metal.json +106 -0
  25. package/library/debris_stone.json +106 -0
  26. package/library/debris_wood.json +101 -0
  27. package/library/dust_motes.json +51 -0
  28. package/library/dust_puff.json +49 -0
  29. package/library/electric_sparks.json +175 -0
  30. package/library/embers_drift.json +55 -0
  31. package/library/exhaust_puff.json +62 -0
  32. package/library/explosion_air.json +232 -0
  33. package/library/explosion_large.json +373 -0
  34. package/library/explosion_magic.json +266 -0
  35. package/library/explosion_medium.json +289 -0
  36. package/library/explosion_small.json +289 -0
  37. package/library/explosion_water.json +177 -0
  38. package/library/falling_leaves.json +54 -0
  39. package/library/fire_burst.json +185 -0
  40. package/library/fire_large.json +279 -0
  41. package/library/fireball.json +288 -0
  42. package/library/fireflies.json +51 -0
  43. package/library/firework_burst.json +127 -0
  44. package/library/footstep.json +270 -0
  45. package/library/fountain_spray.json +80 -0
  46. package/library/frost_burst.json +202 -0
  47. package/library/ground_mist.json +50 -0
  48. package/library/ground_slam.json +122 -0
  49. package/library/heat_haze.json +24 -0
  50. package/library/hit_blade.json +150 -0
  51. package/library/hit_block.json +157 -0
  52. package/library/hit_critical.json +293 -0
  53. package/library/hit_heavy.json +211 -0
  54. package/library/hit_light.json +122 -0
  55. package/library/hit_magic.json +114 -0
  56. package/library/impact.json +417 -0
  57. package/library/impact_heavy.json +279 -0
  58. package/library/index.json +464 -0
  59. package/library/jump_puff.json +46 -0
  60. package/library/landing_heavy.json +105 -0
  61. package/library/landing_puff.json +75 -0
  62. package/library/level_up.json +164 -0
  63. package/library/lightning_arc.json +90 -0
  64. package/library/lightning_strike.json +387 -0
  65. package/library/magic_aura.json +127 -0
  66. package/library/magic_bolt.json +107 -0
  67. package/library/magic_bolt_impact.json +181 -0
  68. package/library/magic_cast.json +115 -0
  69. package/library/magic_charge.json +91 -0
  70. package/library/magic_heal.json +123 -0
  71. package/library/magic_shield.json +89 -0
  72. package/library/magic_teleport.json +177 -0
  73. package/library/mark_bullet_hole.json +20 -0
  74. package/library/mark_crack.json +18 -0
  75. package/library/mark_footprint.json +20 -0
  76. package/library/mark_frost.json +18 -0
  77. package/library/mark_puddle.json +18 -0
  78. package/library/mark_scorch.json +18 -0
  79. package/library/mark_slash.json +18 -0
  80. package/library/mark_splat.json +18 -0
  81. package/library/pickup_collect.json +117 -0
  82. package/library/pickup_glow.json +76 -0
  83. package/library/poison_cloud.json +107 -0
  84. package/library/portal.json +328 -0
  85. package/library/shockwave_air.json +71 -0
  86. package/library/shockwave_ground.json +95 -0
  87. package/library/slide_dust.json +48 -0
  88. package/library/smoke_column.json +93 -0
  89. package/library/smoke_puff.json +48 -0
  90. package/library/smoke_screen.json +87 -0
  91. package/library/sparks_burst.json +85 -0
  92. package/library/sparks_fountain.json +93 -0
  93. package/library/sparks_shower.json +89 -0
  94. package/library/splash_large.json +181 -0
  95. package/library/splash_small.json +111 -0
  96. package/library/steam_vent.json +64 -0
  97. package/library/summon_circle.json +494 -0
  98. package/library/swim_splash.json +77 -0
  99. package/library/torch_flame.json +219 -0
  100. package/library/trail_blade.json +39 -0
  101. package/library/trail_blade_fire.json +90 -0
  102. package/library/trail_dash.json +80 -0
  103. package/library/trail_magic.json +94 -0
  104. package/library/trail_projectile.json +31 -0
  105. package/library/trail_smoke.json +125 -0
  106. package/library/warp_pulse.json +22 -0
  107. package/library/warp_ripple.json +23 -0
  108. package/library/water_ripple.json +69 -0
  109. package/library/waterfall_mist.json +95 -0
  110. package/looks.js +162 -0
  111. package/motion.js +145 -0
  112. package/online.d.ts +79 -0
  113. package/online.js +32 -0
  114. package/package.json +69 -4
  115. package/partners.js +255 -0
  116. package/piece.json +415 -0
  117. package/piece.json.js +416 -0
  118. package/server.d.ts +55 -0
  119. package/server.js +26 -0
  120. package/shapes.js +269 -0
  121. package/sync.js +528 -0
  122. package/tables.js +109 -0
  123. package/weather.js +289 -0
@@ -0,0 +1,235 @@
1
+ {
2
+ "effect_format_version_number": 1,
3
+ "name": "campfire",
4
+ "summary": "A steady fire with rising embers, thin smoke and a warm flickering light.",
5
+ "family": "fire",
6
+ "is_looping": true,
7
+ "duration_sec": 1,
8
+ "elements": [
9
+ {
10
+ "element_kind": "particles",
11
+ "material": "fire",
12
+ "emit": {
13
+ "per_sec": 20,
14
+ "from_kind": "ring",
15
+ "from_radius_m": 0.16
16
+ },
17
+ "move": {
18
+ "direction_kind": "up",
19
+ "spread_deg": 8,
20
+ "speed_m_per_sec": 0.8,
21
+ "speed_variation_pct": 35,
22
+ "gravity_pct": -6,
23
+ "turbulence_m": 0.04,
24
+ "turbulence_per_sec": 2.5,
25
+ "wind_pct": 35
26
+ },
27
+ "fade": {
28
+ "life_sec": 0.5,
29
+ "life_variation_pct": 30,
30
+ "size_over_life_m": [
31
+ 0.45,
32
+ 0.55,
33
+ 0.25
34
+ ],
35
+ "size_variation_pct": 30,
36
+ "colors_over_life": [
37
+ "#fff2a0",
38
+ "#ffc232",
39
+ "#ff7e18"
40
+ ],
41
+ "opacity_over_life_pct": [
42
+ 0,
43
+ 100,
44
+ 100,
45
+ 0
46
+ ],
47
+ "glow_pct": 170,
48
+ "spin_deg_per_sec": 40
49
+ }
50
+ },
51
+ {
52
+ "element_kind": "particles",
53
+ "material": "fire",
54
+ "emit": {
55
+ "per_sec": 18,
56
+ "from_kind": "ring",
57
+ "from_radius_m": 0.2
58
+ },
59
+ "move": {
60
+ "direction_kind": "up",
61
+ "spread_deg": 10,
62
+ "speed_m_per_sec": 1.7,
63
+ "speed_variation_pct": 35,
64
+ "gravity_pct": -6,
65
+ "turbulence_m": 0.07,
66
+ "turbulence_per_sec": 3,
67
+ "wind_pct": 35
68
+ },
69
+ "fade": {
70
+ "life_sec": 0.75,
71
+ "life_variation_pct": 30,
72
+ "size_over_life_m": [
73
+ 0.31,
74
+ 0.25,
75
+ 0.04
76
+ ],
77
+ "size_variation_pct": 30,
78
+ "colors_over_life": [
79
+ "#fff1b8",
80
+ "#ffb42c",
81
+ "#ff6212",
82
+ "#c02a0a"
83
+ ],
84
+ "opacity_over_life_pct": [
85
+ 0,
86
+ 100,
87
+ 90,
88
+ 0
89
+ ],
90
+ "glow_pct": 170,
91
+ "spin_deg_per_sec": 40
92
+ }
93
+ },
94
+ {
95
+ "element_kind": "particles",
96
+ "material": "glow",
97
+ "emit": {
98
+ "per_sec": 6
99
+ },
100
+ "move": {
101
+ "speed_m_per_sec": 0,
102
+ "is_attached": true
103
+ },
104
+ "fade": {
105
+ "life_sec": 0.5,
106
+ "life_variation_pct": 20,
107
+ "size_over_life_m": [
108
+ 1.1,
109
+ 1.25
110
+ ],
111
+ "size_variation_pct": 10,
112
+ "colors_over_life": [
113
+ "#ff8a2a"
114
+ ],
115
+ "opacity_over_life_pct": [
116
+ 0,
117
+ 24,
118
+ 0
119
+ ],
120
+ "glow_pct": 120
121
+ }
122
+ },
123
+ {
124
+ "element_kind": "particles",
125
+ "material": "ember",
126
+ "emit": {
127
+ "per_sec": 8,
128
+ "from_kind": "ring",
129
+ "from_radius_m": 0.2
130
+ },
131
+ "move": {
132
+ "direction_kind": "up",
133
+ "spread_deg": 25,
134
+ "speed_m_per_sec": 1.6,
135
+ "speed_variation_pct": 50,
136
+ "gravity_pct": -8,
137
+ "turbulence_m": 0.35,
138
+ "turbulence_per_sec": 1.4,
139
+ "wind_pct": 80
140
+ },
141
+ "fade": {
142
+ "life_sec": 2.2,
143
+ "life_variation_pct": 40,
144
+ "size_over_life_m": [
145
+ 0.035,
146
+ 0.02
147
+ ],
148
+ "colors_over_life": [
149
+ "#ffd070",
150
+ "#ff6a1a"
151
+ ],
152
+ "opacity_over_life_pct": [
153
+ 100,
154
+ 100,
155
+ 0
156
+ ],
157
+ "glow_pct": 320
158
+ }
159
+ },
160
+ {
161
+ "element_kind": "particles",
162
+ "material": "smoke",
163
+ "emit": {
164
+ "per_sec": 5,
165
+ "from_kind": "point",
166
+ "from_radius_m": 0.09
167
+ },
168
+ "move": {
169
+ "direction_kind": "up",
170
+ "spread_deg": 12,
171
+ "speed_m_per_sec": 1.3,
172
+ "speed_variation_pct": 30,
173
+ "drag_per_sec": 0.3,
174
+ "wind_pct": 100,
175
+ "turbulence_m": 0.225,
176
+ "turbulence_per_sec": 0.5
177
+ },
178
+ "fade": {
179
+ "life_sec": 3.2,
180
+ "life_variation_pct": 25,
181
+ "size_over_life_m": [
182
+ 0.3,
183
+ 0.9,
184
+ 1.4
185
+ ],
186
+ "size_variation_pct": 30,
187
+ "colors_over_life": [
188
+ "#3a3430",
189
+ "#5a5652"
190
+ ],
191
+ "opacity_over_life_pct": [
192
+ 0,
193
+ 0,
194
+ 30,
195
+ 0
196
+ ],
197
+ "spin_deg_per_sec": 20
198
+ },
199
+ "start_delay_sec": 0
200
+ },
201
+ {
202
+ "element_kind": "flash",
203
+ "color": "#ff9a40",
204
+ "strength_lux": 22,
205
+ "radius_m": 9,
206
+ "duration_sec": 1,
207
+ "strength_over_life_pct": [
208
+ 90,
209
+ 100,
210
+ 90
211
+ ],
212
+ "flicker_pct": 30,
213
+ "offset_m": [
214
+ 0,
215
+ 0.5,
216
+ 0
217
+ ]
218
+ },
219
+ {
220
+ "element_kind": "warp",
221
+ "warp_kind": "haze",
222
+ "life_sec": 1,
223
+ "radius_over_life_m": [
224
+ 0.9,
225
+ 0.9
226
+ ],
227
+ "strength_over_life_pct": [
228
+ 35,
229
+ 35
230
+ ],
231
+ "start_delay_sec": 0,
232
+ "minimum_quality_level": "medium"
233
+ }
234
+ ]
235
+ }
@@ -0,0 +1,100 @@
1
+ {
2
+ "effect_format_version_number": 1,
3
+ "name": "candle_flame",
4
+ "summary": "One small steady flame with a soft light round it.",
5
+ "family": "fire",
6
+ "is_looping": true,
7
+ "duration_sec": 1,
8
+ "importance": "low",
9
+ "elements": [
10
+ {
11
+ "element_kind": "particles",
12
+ "material": "fire",
13
+ "emit": {
14
+ "per_sec": 14,
15
+ "from_kind": "point",
16
+ "from_radius_m": 0
17
+ },
18
+ "move": {
19
+ "direction_kind": "up",
20
+ "spread_deg": 4,
21
+ "speed_m_per_sec": 0.3,
22
+ "speed_variation_pct": 35,
23
+ "gravity_pct": -6,
24
+ "turbulence_m": 0.004,
25
+ "turbulence_per_sec": 2.5,
26
+ "wind_pct": 15
27
+ },
28
+ "fade": {
29
+ "life_sec": 0.32,
30
+ "life_variation_pct": 30,
31
+ "size_over_life_m": [
32
+ 0.05,
33
+ 0.065,
34
+ 0.02
35
+ ],
36
+ "size_variation_pct": 30,
37
+ "colors_over_life": [
38
+ "#fff2a0",
39
+ "#ffc232",
40
+ "#ff7e18"
41
+ ],
42
+ "opacity_over_life_pct": [
43
+ 0,
44
+ 100,
45
+ 100,
46
+ 0
47
+ ],
48
+ "glow_pct": 170,
49
+ "spin_deg_per_sec": 40
50
+ }
51
+ },
52
+ {
53
+ "element_kind": "particles",
54
+ "material": "glow",
55
+ "emit": {
56
+ "per_sec": 4
57
+ },
58
+ "move": {
59
+ "speed_m_per_sec": 0,
60
+ "is_attached": true
61
+ },
62
+ "fade": {
63
+ "life_sec": 0.5,
64
+ "life_variation_pct": 0,
65
+ "size_over_life_m": [
66
+ 0.13,
67
+ 0.16
68
+ ],
69
+ "size_variation_pct": 8,
70
+ "colors_over_life": [
71
+ "#ffb860"
72
+ ],
73
+ "opacity_over_life_pct": [
74
+ 0,
75
+ 40,
76
+ 0
77
+ ],
78
+ "glow_pct": 130
79
+ }
80
+ },
81
+ {
82
+ "element_kind": "flash",
83
+ "color": "#ffb060",
84
+ "strength_lux": 2.4,
85
+ "radius_m": 3,
86
+ "duration_sec": 1,
87
+ "strength_over_life_pct": [
88
+ 92,
89
+ 100,
90
+ 92
91
+ ],
92
+ "flicker_pct": 22,
93
+ "offset_m": [
94
+ 0,
95
+ 0.04,
96
+ 0
97
+ ]
98
+ }
99
+ ]
100
+ }
@@ -0,0 +1,165 @@
1
+ {
2
+ "effect_format_version_number": 1,
3
+ "name": "confetti",
4
+ "summary": "A burst of paper in four colours, thrown up and fluttering down.",
5
+ "family": "other",
6
+ "duration_sec": 3,
7
+ "elements": [
8
+ {
9
+ "element_kind": "particles",
10
+ "material": "leaf",
11
+ "emit": {
12
+ "burst_count": 16
13
+ },
14
+ "move": {
15
+ "direction_kind": "up",
16
+ "spread_deg": 40,
17
+ "speed_m_per_sec": 7.5,
18
+ "speed_variation_pct": 45,
19
+ "drag_per_sec": 2.6,
20
+ "gravity_pct": 28,
21
+ "turbulence_m": 0.5,
22
+ "turbulence_per_sec": 1.2,
23
+ "wind_pct": 60
24
+ },
25
+ "fade": {
26
+ "life_sec": 3,
27
+ "life_variation_pct": 25,
28
+ "size_over_life_m": [
29
+ 0.13,
30
+ 0.13
31
+ ],
32
+ "size_variation_pct": 35,
33
+ "colors_over_life": [
34
+ "#ff5a6a"
35
+ ],
36
+ "opacity_over_life_pct": [
37
+ 100,
38
+ 100,
39
+ 100,
40
+ 0
41
+ ],
42
+ "spin_deg_per_sec": 500
43
+ },
44
+ "shape": "shard",
45
+ "start_delay_sec": 0
46
+ },
47
+ {
48
+ "element_kind": "particles",
49
+ "material": "leaf",
50
+ "emit": {
51
+ "burst_count": 16
52
+ },
53
+ "move": {
54
+ "direction_kind": "up",
55
+ "spread_deg": 40,
56
+ "speed_m_per_sec": 7.5,
57
+ "speed_variation_pct": 45,
58
+ "drag_per_sec": 2.6,
59
+ "gravity_pct": 28,
60
+ "turbulence_m": 0.5,
61
+ "turbulence_per_sec": 1.2,
62
+ "wind_pct": 60
63
+ },
64
+ "fade": {
65
+ "life_sec": 3,
66
+ "life_variation_pct": 25,
67
+ "size_over_life_m": [
68
+ 0.13,
69
+ 0.13
70
+ ],
71
+ "size_variation_pct": 35,
72
+ "colors_over_life": [
73
+ "#ffd040"
74
+ ],
75
+ "opacity_over_life_pct": [
76
+ 100,
77
+ 100,
78
+ 100,
79
+ 0
80
+ ],
81
+ "spin_deg_per_sec": 500
82
+ },
83
+ "shape": "shard",
84
+ "start_delay_sec": 0.02
85
+ },
86
+ {
87
+ "element_kind": "particles",
88
+ "material": "leaf",
89
+ "emit": {
90
+ "burst_count": 16
91
+ },
92
+ "move": {
93
+ "direction_kind": "up",
94
+ "spread_deg": 40,
95
+ "speed_m_per_sec": 7.5,
96
+ "speed_variation_pct": 45,
97
+ "drag_per_sec": 2.6,
98
+ "gravity_pct": 28,
99
+ "turbulence_m": 0.5,
100
+ "turbulence_per_sec": 1.2,
101
+ "wind_pct": 60
102
+ },
103
+ "fade": {
104
+ "life_sec": 3,
105
+ "life_variation_pct": 25,
106
+ "size_over_life_m": [
107
+ 0.13,
108
+ 0.13
109
+ ],
110
+ "size_variation_pct": 35,
111
+ "colors_over_life": [
112
+ "#40c8ff"
113
+ ],
114
+ "opacity_over_life_pct": [
115
+ 100,
116
+ 100,
117
+ 100,
118
+ 0
119
+ ],
120
+ "spin_deg_per_sec": 500
121
+ },
122
+ "shape": "shard",
123
+ "start_delay_sec": 0.04
124
+ },
125
+ {
126
+ "element_kind": "particles",
127
+ "material": "leaf",
128
+ "emit": {
129
+ "burst_count": 16
130
+ },
131
+ "move": {
132
+ "direction_kind": "up",
133
+ "spread_deg": 40,
134
+ "speed_m_per_sec": 7.5,
135
+ "speed_variation_pct": 45,
136
+ "drag_per_sec": 2.6,
137
+ "gravity_pct": 28,
138
+ "turbulence_m": 0.5,
139
+ "turbulence_per_sec": 1.2,
140
+ "wind_pct": 60
141
+ },
142
+ "fade": {
143
+ "life_sec": 3,
144
+ "life_variation_pct": 25,
145
+ "size_over_life_m": [
146
+ 0.13,
147
+ 0.13
148
+ ],
149
+ "size_variation_pct": 35,
150
+ "colors_over_life": [
151
+ "#70e070"
152
+ ],
153
+ "opacity_over_life_pct": [
154
+ 100,
155
+ 100,
156
+ 100,
157
+ 0
158
+ ],
159
+ "spin_deg_per_sec": 500
160
+ },
161
+ "shape": "shard",
162
+ "start_delay_sec": 0.06
163
+ }
164
+ ]
165
+ }
@@ -0,0 +1,73 @@
1
+ {
2
+ "effect_format_version_number": 1,
3
+ "name": "dash_burst",
4
+ "summary": "The kick-off of a dash: dust thrown back along its direction and a ring left in the air.",
5
+ "family": "character",
6
+ "importance": "low",
7
+ "duration_sec": 0.6,
8
+ "elements": [
9
+ {
10
+ "element_kind": "particles",
11
+ "material": "dust",
12
+ "emit": {
13
+ "burst_count": 9
14
+ },
15
+ "move": {
16
+ "direction_kind": "along",
17
+ "spread_deg": 30,
18
+ "speed_m_per_sec": 4,
19
+ "speed_variation_pct": 40,
20
+ "drag_per_sec": 4,
21
+ "wind_pct": 60
22
+ },
23
+ "fade": {
24
+ "life_sec": 0.55,
25
+ "life_variation_pct": 25,
26
+ "size_over_life_m": [
27
+ 0.14,
28
+ 0.45,
29
+ 0.56
30
+ ],
31
+ "size_variation_pct": 30,
32
+ "colors_over_life": [
33
+ "#c8b498",
34
+ "#d8c8b0"
35
+ ],
36
+ "opacity_over_life_pct": [
37
+ 0,
38
+ 45,
39
+ 0
40
+ ],
41
+ "spin_deg_per_sec": 30
42
+ }
43
+ },
44
+ {
45
+ "element_kind": "particles",
46
+ "material": "glow",
47
+ "emit": {
48
+ "burst_count": 1
49
+ },
50
+ "move": {
51
+ "speed_m_per_sec": 0
52
+ },
53
+ "fade": {
54
+ "life_sec": 0.22,
55
+ "life_variation_pct": 0,
56
+ "size_over_life_m": [
57
+ 0.3,
58
+ 1.5
59
+ ],
60
+ "size_variation_pct": 0,
61
+ "colors_over_life": [
62
+ "#ffffff"
63
+ ],
64
+ "opacity_over_life_pct": [
65
+ 55,
66
+ 0
67
+ ],
68
+ "facing_kind": "along"
69
+ },
70
+ "shape": "ring"
71
+ }
72
+ ]
73
+ }
@@ -0,0 +1,96 @@
1
+ {
2
+ "effect_format_version_number": 1,
3
+ "name": "debris_glass",
4
+ "summary": "Glass shattering: bright shards scattering and skidding, with glints in the air.",
5
+ "family": "debris",
6
+ "elements": [
7
+ {
8
+ "element_kind": "debris",
9
+ "material": "glass",
10
+ "count": 22,
11
+ "from_radius_m": 0.4,
12
+ "direction_kind": "along",
13
+ "spread_deg": 65,
14
+ "speed_m_per_sec": 4.5,
15
+ "speed_variation_pct": 55,
16
+ "size_m": 0.16,
17
+ "size_variation_pct": 60,
18
+ "life_sec": 5,
19
+ "bounce_pct": 25,
20
+ "grip_pct": 30,
21
+ "colors": [
22
+ "#c8e8f8",
23
+ "#a8d0e8",
24
+ "#e0f4ff"
25
+ ],
26
+ "spin_deg_per_sec": 600
27
+ },
28
+ {
29
+ "element_kind": "particles",
30
+ "material": "glass",
31
+ "emit": {
32
+ "burst_count": 30,
33
+ "from_kind": "sphere",
34
+ "from_radius_m": 0.35
35
+ },
36
+ "move": {
37
+ "direction_kind": "along",
38
+ "spread_deg": 75,
39
+ "speed_m_per_sec": 5,
40
+ "speed_variation_pct": 60,
41
+ "gravity_pct": 100
42
+ },
43
+ "fade": {
44
+ "life_sec": 0.9,
45
+ "size_over_life_m": [
46
+ 0.05,
47
+ 0.04
48
+ ],
49
+ "size_variation_pct": 60,
50
+ "colors_over_life": [
51
+ "#e0f4ff"
52
+ ],
53
+ "opacity_over_life_pct": [
54
+ 90,
55
+ 90,
56
+ 0
57
+ ],
58
+ "glow_pct": 170,
59
+ "spin_deg_per_sec": 900
60
+ }
61
+ },
62
+ {
63
+ "element_kind": "particles",
64
+ "material": "glow",
65
+ "emit": {
66
+ "burst_count": 12,
67
+ "from_kind": "sphere",
68
+ "from_radius_m": 0.5
69
+ },
70
+ "move": {
71
+ "direction_kind": "random",
72
+ "speed_m_per_sec": 1.5,
73
+ "gravity_pct": 40
74
+ },
75
+ "fade": {
76
+ "life_sec": 0.35,
77
+ "life_variation_pct": 50,
78
+ "size_over_life_m": [
79
+ 0.02,
80
+ 0.16,
81
+ 0.02
82
+ ],
83
+ "colors_over_life": [
84
+ "#ffffff"
85
+ ],
86
+ "opacity_over_life_pct": [
87
+ 0,
88
+ 100,
89
+ 0
90
+ ],
91
+ "glow_pct": 300
92
+ },
93
+ "shape": "star"
94
+ }
95
+ ]
96
+ }