@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,219 @@
1
+ {
2
+ "effect_format_version_number": 1,
3
+ "name": "torch_flame",
4
+ "summary": "A torch's flame, for something carried: it streams back as it moves and lights what's near.",
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": 22,
14
+ "from_kind": "ring",
15
+ "from_radius_m": 0.064
16
+ },
17
+ "move": {
18
+ "direction_kind": "up",
19
+ "spread_deg": 8,
20
+ "speed_m_per_sec": 0.32000000000000006,
21
+ "speed_variation_pct": 35,
22
+ "gravity_pct": -6,
23
+ "turbulence_m": 0.016,
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.18000000000000002,
32
+ 0.22000000000000003,
33
+ 0.1
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": 20,
56
+ "from_kind": "ring",
57
+ "from_radius_m": 0.08000000000000002
58
+ },
59
+ "move": {
60
+ "direction_kind": "up",
61
+ "spread_deg": 10,
62
+ "speed_m_per_sec": 0.68,
63
+ "speed_variation_pct": 35,
64
+ "gravity_pct": -6,
65
+ "turbulence_m": 0.028000000000000004,
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.124,
74
+ 0.1,
75
+ 0.016
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
+ 0.44000000000000006,
109
+ 0.5
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": 3,
128
+ "from_kind": "ring",
129
+ "from_radius_m": 0.04
130
+ },
131
+ "move": {
132
+ "direction_kind": "up",
133
+ "spread_deg": 25,
134
+ "speed_m_per_sec": 1.2,
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": 1.2,
143
+ "life_variation_pct": 40,
144
+ "size_over_life_m": [
145
+ 0.02,
146
+ 0.012
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": 4,
165
+ "from_kind": "point",
166
+ "from_radius_m": 0.03
167
+ },
168
+ "move": {
169
+ "direction_kind": "up",
170
+ "spread_deg": 12,
171
+ "speed_m_per_sec": 1,
172
+ "speed_variation_pct": 30,
173
+ "drag_per_sec": 0.3,
174
+ "wind_pct": 100,
175
+ "turbulence_m": 0.075,
176
+ "turbulence_per_sec": 0.5
177
+ },
178
+ "fade": {
179
+ "life_sec": 1.4,
180
+ "life_variation_pct": 25,
181
+ "size_over_life_m": [
182
+ 0.1,
183
+ 0.3,
184
+ 0.45
185
+ ],
186
+ "size_variation_pct": 30,
187
+ "colors_over_life": [
188
+ "#3a3430",
189
+ "#5a5652"
190
+ ],
191
+ "opacity_over_life_pct": [
192
+ 0,
193
+ 22,
194
+ 0
195
+ ],
196
+ "spin_deg_per_sec": 20
197
+ },
198
+ "minimum_quality_level": "medium"
199
+ },
200
+ {
201
+ "element_kind": "flash",
202
+ "color": "#ff9a40",
203
+ "strength_lux": 9,
204
+ "radius_m": 6,
205
+ "duration_sec": 1,
206
+ "strength_over_life_pct": [
207
+ 90,
208
+ 100,
209
+ 90
210
+ ],
211
+ "flicker_pct": 35,
212
+ "offset_m": [
213
+ 0,
214
+ 0.15,
215
+ 0
216
+ ]
217
+ }
218
+ ]
219
+ }
@@ -0,0 +1,39 @@
1
+ {
2
+ "effect_format_version_number": 1,
3
+ "name": "trail_blade",
4
+ "summary": "The arc a blade leaves in the air: a pale ribbon the length of the edge. Follows the weapon.",
5
+ "family": "trails",
6
+ "is_looping": true,
7
+ "duration_sec": 1,
8
+ "elements": [
9
+ {
10
+ "element_kind": "ribbon",
11
+ "life_sec": 0.2,
12
+ "width_over_length_m": [
13
+ 1,
14
+ 1
15
+ ],
16
+ "colors_over_length": [
17
+ "#ffffff",
18
+ "#c8e4ff"
19
+ ],
20
+ "opacity_over_length_pct": [
21
+ 75,
22
+ 35,
23
+ 0
24
+ ],
25
+ "glow_pct": 200,
26
+ "minimum_step_m": 0.04,
27
+ "from_offset_m": [
28
+ 0,
29
+ 0.25,
30
+ 0
31
+ ],
32
+ "to_offset_m": [
33
+ 0,
34
+ 1.25,
35
+ 0
36
+ ]
37
+ }
38
+ ]
39
+ }
@@ -0,0 +1,90 @@
1
+ {
2
+ "effect_format_version_number": 1,
3
+ "name": "trail_blade_fire",
4
+ "summary": "A burning blade's arc: a ribbon of flame the length of the edge, shedding embers.",
5
+ "family": "trails",
6
+ "is_looping": true,
7
+ "duration_sec": 1,
8
+ "elements": [
9
+ {
10
+ "element_kind": "ribbon",
11
+ "life_sec": 0.28,
12
+ "width_over_length_m": [
13
+ 1,
14
+ 1
15
+ ],
16
+ "colors_over_length": [
17
+ "#fff0b0",
18
+ "#ff8a20",
19
+ "#a02008"
20
+ ],
21
+ "opacity_over_length_pct": [
22
+ 90,
23
+ 60,
24
+ 0
25
+ ],
26
+ "glow_pct": 240,
27
+ "minimum_step_m": 0.04,
28
+ "from_offset_m": [
29
+ 0,
30
+ 0.25,
31
+ 0
32
+ ],
33
+ "to_offset_m": [
34
+ 0,
35
+ 1.25,
36
+ 0
37
+ ]
38
+ },
39
+ {
40
+ "element_kind": "particles",
41
+ "material": "ember",
42
+ "emit": {
43
+ "per_sec": 40,
44
+ "from_kind": "line",
45
+ "from_radius_m": 0.5
46
+ },
47
+ "move": {
48
+ "direction_kind": "random",
49
+ "speed_m_per_sec": 0.8,
50
+ "gravity_pct": 25,
51
+ "drag_per_sec": 1.5
52
+ },
53
+ "fade": {
54
+ "life_sec": 0.7,
55
+ "life_variation_pct": 40,
56
+ "size_over_life_m": [
57
+ 0.04,
58
+ 0.02
59
+ ],
60
+ "colors_over_life": [
61
+ "#ffd070",
62
+ "#ff6a1a"
63
+ ],
64
+ "opacity_over_life_pct": [
65
+ 100,
66
+ 100,
67
+ 0
68
+ ],
69
+ "glow_pct": 320
70
+ }
71
+ },
72
+ {
73
+ "element_kind": "flash",
74
+ "color": "#ff9030",
75
+ "strength_lux": 10,
76
+ "radius_m": 5,
77
+ "duration_sec": 1,
78
+ "strength_over_life_pct": [
79
+ 100,
80
+ 100
81
+ ],
82
+ "flicker_pct": 30,
83
+ "offset_m": [
84
+ 0,
85
+ 0.75,
86
+ 0
87
+ ]
88
+ }
89
+ ]
90
+ }
@@ -0,0 +1,80 @@
1
+ {
2
+ "effect_format_version_number": 1,
3
+ "name": "trail_dash",
4
+ "summary": "The blur behind someone dashing: a wide faint ribbon the height of a body, and dust at the feet.",
5
+ "family": "trails",
6
+ "is_looping": true,
7
+ "duration_sec": 1,
8
+ "elements": [
9
+ {
10
+ "element_kind": "ribbon",
11
+ "life_sec": 0.22,
12
+ "width_over_length_m": [
13
+ 1,
14
+ 1
15
+ ],
16
+ "colors_over_length": [
17
+ "#ffffff",
18
+ "#d0e8ff"
19
+ ],
20
+ "opacity_over_length_pct": [
21
+ 40,
22
+ 18,
23
+ 0
24
+ ],
25
+ "glow_pct": 140,
26
+ "minimum_step_m": 0.08,
27
+ "from_offset_m": [
28
+ 0,
29
+ 0.2,
30
+ 0
31
+ ],
32
+ "to_offset_m": [
33
+ 0,
34
+ 1.5,
35
+ 0
36
+ ]
37
+ },
38
+ {
39
+ "element_kind": "particles",
40
+ "material": "dust",
41
+ "emit": {
42
+ "burst_count": 0,
43
+ "from_kind": "sphere",
44
+ "from_radius_m": 0.1,
45
+ "per_sec": 16
46
+ },
47
+ "move": {
48
+ "direction_kind": "up",
49
+ "speed_m_per_sec": 0.6,
50
+ "speed_variation_pct": 45,
51
+ "drag_per_sec": 2.5,
52
+ "gravity_pct": -4,
53
+ "wind_pct": 100,
54
+ "turbulence_m": 0.3,
55
+ "turbulence_per_sec": 0.8,
56
+ "spread_deg": 70
57
+ },
58
+ "fade": {
59
+ "life_sec": 0.5,
60
+ "life_variation_pct": 30,
61
+ "size_over_life_m": [
62
+ 0.12,
63
+ 0.35,
64
+ 0.45
65
+ ],
66
+ "size_variation_pct": 30,
67
+ "colors_over_life": [
68
+ "#c8b498",
69
+ "#d8c8b0"
70
+ ],
71
+ "opacity_over_life_pct": [
72
+ 0,
73
+ 35,
74
+ 0
75
+ ],
76
+ "spin_deg_per_sec": 25
77
+ }
78
+ }
79
+ ]
80
+ }
@@ -0,0 +1,94 @@
1
+ {
2
+ "effect_format_version_number": 1,
3
+ "name": "trail_magic",
4
+ "summary": "A ribbon of coloured light with motes falling from it, behind anything enchanted.",
5
+ "family": "trails",
6
+ "is_looping": true,
7
+ "duration_sec": 1,
8
+ "elements": [
9
+ {
10
+ "element_kind": "ribbon",
11
+ "life_sec": 0.6,
12
+ "width_over_length_m": [
13
+ 0.32,
14
+ 0.2,
15
+ 0
16
+ ],
17
+ "colors_over_length": [
18
+ "#ffffff",
19
+ "#b090ff",
20
+ "#40c0ff"
21
+ ],
22
+ "opacity_over_length_pct": [
23
+ 90,
24
+ 60,
25
+ 0
26
+ ],
27
+ "glow_pct": 260,
28
+ "minimum_step_m": 0.07
29
+ },
30
+ {
31
+ "element_kind": "particles",
32
+ "material": "magic",
33
+ "emit": {
34
+ "per_sec": 34,
35
+ "from_kind": "sphere",
36
+ "from_radius_m": 0.1
37
+ },
38
+ "move": {
39
+ "direction_kind": "random",
40
+ "speed_m_per_sec": 0.5,
41
+ "gravity_pct": 6,
42
+ "drag_per_sec": 1.5
43
+ },
44
+ "fade": {
45
+ "life_sec": 0.8,
46
+ "life_variation_pct": 40,
47
+ "size_over_life_m": [
48
+ 0.1,
49
+ 0.03
50
+ ],
51
+ "colors_over_life": [
52
+ "#e8dcff",
53
+ "#a080ff",
54
+ "#6a48ff"
55
+ ],
56
+ "opacity_over_life_pct": [
57
+ 100,
58
+ 100,
59
+ 0
60
+ ],
61
+ "glow_pct": 280,
62
+ "spin_deg_per_sec": 200
63
+ }
64
+ },
65
+ {
66
+ "element_kind": "particles",
67
+ "material": "glow",
68
+ "emit": {
69
+ "per_sec": 20
70
+ },
71
+ "move": {
72
+ "speed_m_per_sec": 0,
73
+ "is_attached": true
74
+ },
75
+ "fade": {
76
+ "life_sec": 0.12,
77
+ "life_variation_pct": 0,
78
+ "size_over_life_m": [
79
+ 0.4,
80
+ 0.5
81
+ ],
82
+ "size_variation_pct": 10,
83
+ "colors_over_life": [
84
+ "#d8c8ff"
85
+ ],
86
+ "opacity_over_life_pct": [
87
+ 70,
88
+ 0
89
+ ],
90
+ "glow_pct": 200
91
+ }
92
+ }
93
+ ]
94
+ }
@@ -0,0 +1,31 @@
1
+ {
2
+ "effect_format_version_number": 1,
3
+ "name": "trail_projectile",
4
+ "summary": "A thin bright line behind anything fast: an arrow, a thrown blade, a shot.",
5
+ "family": "trails",
6
+ "is_looping": true,
7
+ "duration_sec": 1,
8
+ "importance": "low",
9
+ "elements": [
10
+ {
11
+ "element_kind": "ribbon",
12
+ "life_sec": 0.22,
13
+ "width_over_length_m": [
14
+ 0.07,
15
+ 0.04,
16
+ 0
17
+ ],
18
+ "colors_over_length": [
19
+ "#ffffff",
20
+ "#ffe8a0"
21
+ ],
22
+ "opacity_over_length_pct": [
23
+ 90,
24
+ 50,
25
+ 0
26
+ ],
27
+ "glow_pct": 300,
28
+ "minimum_step_m": 0.06
29
+ }
30
+ ]
31
+ }
@@ -0,0 +1,125 @@
1
+ {
2
+ "effect_format_version_number": 1,
3
+ "name": "trail_smoke",
4
+ "summary": "A rocket's trail: a hot point with a rope of smoke swelling behind it.",
5
+ "family": "trails",
6
+ "is_looping": true,
7
+ "duration_sec": 1,
8
+ "elements": [
9
+ {
10
+ "element_kind": "particles",
11
+ "material": "smoke",
12
+ "emit": {
13
+ "per_sec": 44
14
+ },
15
+ "move": {
16
+ "direction_kind": "random",
17
+ "speed_m_per_sec": 0.35,
18
+ "wind_pct": 100,
19
+ "gravity_pct": -3,
20
+ "turbulence_m": 0.2,
21
+ "turbulence_per_sec": 1
22
+ },
23
+ "fade": {
24
+ "life_sec": 1.7,
25
+ "life_variation_pct": 30,
26
+ "size_over_life_m": [
27
+ 0.22,
28
+ 0.8,
29
+ 1.05
30
+ ],
31
+ "size_variation_pct": 30,
32
+ "colors_over_life": [
33
+ "#c8c6c2",
34
+ "#9a9894",
35
+ "#b0aeaa"
36
+ ],
37
+ "opacity_over_life_pct": [
38
+ 0,
39
+ 60,
40
+ 30,
41
+ 0
42
+ ],
43
+ "spin_deg_per_sec": 30
44
+ }
45
+ },
46
+ {
47
+ "element_kind": "particles",
48
+ "material": "glow",
49
+ "emit": {
50
+ "per_sec": 24
51
+ },
52
+ "move": {
53
+ "speed_m_per_sec": 0,
54
+ "is_attached": true
55
+ },
56
+ "fade": {
57
+ "life_sec": 0.1,
58
+ "life_variation_pct": 0,
59
+ "size_over_life_m": [
60
+ 0.45,
61
+ 0.6
62
+ ],
63
+ "size_variation_pct": 20,
64
+ "colors_over_life": [
65
+ "#fff0b0",
66
+ "#ff9020"
67
+ ],
68
+ "opacity_over_life_pct": [
69
+ 90,
70
+ 0
71
+ ],
72
+ "glow_pct": 220
73
+ }
74
+ },
75
+ {
76
+ "element_kind": "particles",
77
+ "material": "spark",
78
+ "emit": {
79
+ "burst_count": 0,
80
+ "per_sec": 22
81
+ },
82
+ "move": {
83
+ "direction_kind": "random",
84
+ "speed_m_per_sec": 2,
85
+ "speed_variation_pct": 60,
86
+ "drag_per_sec": 1.2,
87
+ "gravity_pct": 100
88
+ },
89
+ "fade": {
90
+ "life_sec": 0.35,
91
+ "life_variation_pct": 50,
92
+ "size_over_life_m": [
93
+ 0.06,
94
+ 0.025
95
+ ],
96
+ "size_variation_pct": 40,
97
+ "colors_over_life": [
98
+ "#fff6d8",
99
+ "#ffb040",
100
+ "#ff5a10"
101
+ ],
102
+ "opacity_over_life_pct": [
103
+ 100,
104
+ 100,
105
+ 0
106
+ ],
107
+ "glow_pct": 380,
108
+ "facing_kind": "velocity",
109
+ "streak_duration_sec": 0.05
110
+ }
111
+ },
112
+ {
113
+ "element_kind": "flash",
114
+ "color": "#ffa040",
115
+ "strength_lux": 16,
116
+ "radius_m": 7,
117
+ "duration_sec": 1,
118
+ "strength_over_life_pct": [
119
+ 100,
120
+ 100
121
+ ],
122
+ "flicker_pct": 30
123
+ }
124
+ ]
125
+ }
@@ -0,0 +1,22 @@
1
+ {
2
+ "effect_format_version_number": 1,
3
+ "name": "warp_pulse",
4
+ "summary": "The picture swelling from one point and settling: a force push, a heartbeat of power.",
5
+ "family": "warps",
6
+ "duration_sec": 0.4,
7
+ "elements": [
8
+ {
9
+ "element_kind": "warp",
10
+ "warp_kind": "pulse",
11
+ "life_sec": 0.35,
12
+ "radius_over_life_m": [
13
+ 0.3,
14
+ 2.8
15
+ ],
16
+ "strength_over_life_pct": [
17
+ 90,
18
+ 0
19
+ ]
20
+ }
21
+ ]
22
+ }