@tsparticles/configs 4.0.0-beta.1 → 4.0.0-beta.2

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 (226) hide show
  1. package/browser/p/pathBrownian.js +1 -0
  2. package/browser/s/shapeEmojiPadding.js +1 -0
  3. package/cjs/p/pathBrownian.js +1 -0
  4. package/cjs/s/shapeEmojiPadding.js +1 -0
  5. package/esm/p/pathBrownian.js +1 -0
  6. package/esm/s/shapeEmojiPadding.js +1 -0
  7. package/package.json +3 -4
  8. package/report.html +1 -1
  9. package/tsparticles.configs.bundle.js +1 -1
  10. package/tsparticles.configs.js +3 -3
  11. package/umd/a/absorbers.js +0 -83
  12. package/umd/a/amongUs.js +0 -143
  13. package/umd/a/index.js +0 -21
  14. package/umd/b/backgroundMask.js +0 -97
  15. package/umd/b/backgroundMaskImage.js +0 -85
  16. package/umd/b/basic.js +0 -82
  17. package/umd/b/big.js +0 -96
  18. package/umd/b/bigBlend.js +0 -97
  19. package/umd/b/bigBlendCombo.js +0 -101
  20. package/umd/b/bigBlendParticle.js +0 -97
  21. package/umd/b/blackHole.js +0 -81
  22. package/umd/b/bubble.js +0 -102
  23. package/umd/b/index.js +0 -35
  24. package/umd/bundle.js +0 -27
  25. package/umd/c/cardSuits.js +0 -104
  26. package/umd/c/cards.js +0 -75
  27. package/umd/c/cardsRolling.js +0 -103
  28. package/umd/c/chars.js +0 -106
  29. package/umd/c/clickConfetti.js +0 -182
  30. package/umd/c/clickPause.js +0 -92
  31. package/umd/c/collisionsAbsorb.js +0 -94
  32. package/umd/c/collisionsBounce.js +0 -91
  33. package/umd/c/collisionsDestroy.js +0 -95
  34. package/umd/c/colorAnimation.js +0 -87
  35. package/umd/c/connect.js +0 -126
  36. package/umd/c/curlNoise.js +0 -65
  37. package/umd/c/index.js +0 -39
  38. package/umd/d/dataImages.js +0 -125
  39. package/umd/d/delay.js +0 -83
  40. package/umd/d/delayColor.js +0 -55
  41. package/umd/d/delayOpacity.js +0 -53
  42. package/umd/d/delaySize.js +0 -53
  43. package/umd/d/delayStrokeColor.js +0 -57
  44. package/umd/d/destroy.js +0 -93
  45. package/umd/d/disappearing.js +0 -101
  46. package/umd/d/divEvents.js +0 -125
  47. package/umd/d/index.js +0 -35
  48. package/umd/e/effectBubble.js +0 -93
  49. package/umd/e/effectParticles.js +0 -108
  50. package/umd/e/effectTrail.js +0 -70
  51. package/umd/e/effectTrailTransform.js +0 -72
  52. package/umd/e/emitter.js +0 -280
  53. package/umd/e/emitterAbsorber.js +0 -155
  54. package/umd/e/emitterAngled.js +0 -72
  55. package/umd/e/emitterImageShape.js +0 -111
  56. package/umd/e/emitterImages.js +0 -145
  57. package/umd/e/emitterPaths.js +0 -104
  58. package/umd/e/emitterShapes.js +0 -95
  59. package/umd/e/emitterSpawnColor.js +0 -221
  60. package/umd/e/emitterTextShape.js +0 -114
  61. package/umd/e/emitterTextStrokeShape.js +0 -114
  62. package/umd/e/index.js +0 -45
  63. package/umd/f/fallingConfetti.js +0 -152
  64. package/umd/f/fireworks.js +0 -235
  65. package/umd/f/fireworks2.js +0 -240
  66. package/umd/f/fireworksMask.js +0 -212
  67. package/umd/f/fontawesome.js +0 -111
  68. package/umd/f/forward.js +0 -101
  69. package/umd/f/index.js +0 -29
  70. package/umd/g/gifs.js +0 -63
  71. package/umd/g/grabRandomColor.js +0 -98
  72. package/umd/g/gradients.js +0 -188
  73. package/umd/g/gravity.js +0 -133
  74. package/umd/g/groups.js +0 -81
  75. package/umd/g/growing.js +0 -84
  76. package/umd/g/index.js +0 -29
  77. package/umd/h/hexagonPath.js +0 -88
  78. package/umd/h/hollowknight.js +0 -131
  79. package/umd/h/hyperspace.js +0 -80
  80. package/umd/h/index.js +0 -23
  81. package/umd/i/imageMask.js +0 -73
  82. package/umd/i/images.js +0 -226
  83. package/umd/i/imagesDirections.js +0 -122
  84. package/umd/i/index.js +0 -25
  85. package/umd/i/infection.js +0 -93
  86. package/umd/index.js +0 -86
  87. package/umd/j/index.js +0 -13
  88. package/umd/k/index.js +0 -13
  89. package/umd/l/index.js +0 -27
  90. package/umd/l/lch.js +0 -82
  91. package/umd/l/life.js +0 -95
  92. package/umd/l/lightHover.js +0 -85
  93. package/umd/l/linkTriangles.js +0 -102
  94. package/umd/l/localPolygonMask.js +0 -101
  95. package/umd/m/index.js +0 -57
  96. package/umd/m/manual.js +0 -98
  97. package/umd/m/matrix.js +0 -87
  98. package/umd/m/motionDisable.js +0 -86
  99. package/umd/m/motionReduce.js +0 -104
  100. package/umd/m/mouseAttract.js +0 -102
  101. package/umd/m/mouseBounce.js +0 -97
  102. package/umd/m/mouseCannon.js +0 -112
  103. package/umd/m/mouseDrag.js +0 -60
  104. package/umd/m/mouseDragMomentum.js +0 -65
  105. package/umd/m/mouseFollow.js +0 -78
  106. package/umd/m/mouseParticle.js +0 -65
  107. package/umd/m/mouseParticle2.js +0 -76
  108. package/umd/m/mouseTrail.js +0 -137
  109. package/umd/m/mouseTrailNoise.js +0 -151
  110. package/umd/m/moveAngle.js +0 -98
  111. package/umd/m/moveDistance.js +0 -98
  112. package/umd/m/moveInside.js +0 -57
  113. package/umd/m/moveOutside.js +0 -57
  114. package/umd/m/multipleClickEmitters.js +0 -120
  115. package/umd/m/multiplePolygonMasks.js +0 -138
  116. package/umd/n/index.js +0 -35
  117. package/umd/n/namedColors.js +0 -70
  118. package/umd/n/nasa.js +0 -100
  119. package/umd/n/noClear.js +0 -114
  120. package/umd/n/noConfig.js +0 -17
  121. package/umd/n/noisePlanesFractal.js +0 -103
  122. package/umd/n/noisePlanesPerlin.js +0 -103
  123. package/umd/n/noisePlanesSimplex.js +0 -103
  124. package/umd/n/nyancat.js +0 -74
  125. package/umd/n/nyancat2.js +0 -75
  126. package/umd/o/index.js +0 -21
  127. package/umd/o/oklch.js +0 -82
  128. package/umd/o/orbit.js +0 -66
  129. package/umd/p/index.js +0 -59
  130. package/umd/p/palettes.js +0 -37
  131. package/umd/p/parallax.js +0 -98
  132. package/umd/p/pathBranches.js +0 -104
  133. package/umd/p/pathBranchesInertia.js +0 -108
  134. package/umd/p/pathBrownian.js +0 -101
  135. package/umd/p/pathGrid.js +0 -100
  136. package/umd/p/pathLevy.js +0 -102
  137. package/umd/p/pathMaze.js +0 -101
  138. package/umd/p/pathPolygonMask.js +0 -110
  139. package/umd/p/pathSpiral.js +0 -102
  140. package/umd/p/pathSvg.js +0 -104
  141. package/umd/p/pathZigZag.js +0 -97
  142. package/umd/p/planes.js +0 -66
  143. package/umd/p/plasma.js +0 -72
  144. package/umd/p/poisson.js +0 -54
  145. package/umd/p/polygonMask.js +0 -138
  146. package/umd/p/polygons.js +0 -153
  147. package/umd/p/pop.js +0 -84
  148. package/umd/palettes.js +0 -1273
  149. package/umd/q/index.js +0 -13
  150. package/umd/r/index.js +0 -67
  151. package/umd/r/random.js +0 -107
  152. package/umd/r/randomShapes.js +0 -440
  153. package/umd/r/reactBubbles.js +0 -114
  154. package/umd/r/reactDefaults.js +0 -63
  155. package/umd/r/reactMultipleImages.js +0 -102
  156. package/umd/r/reactNightSky.js +0 -89
  157. package/umd/r/reactPolygonMask.js +0 -106
  158. package/umd/r/reactSimple.js +0 -100
  159. package/umd/r/reactSnow.js +0 -118
  160. package/umd/r/reduceDuplicates.js +0 -143
  161. package/umd/r/repulse.js +0 -123
  162. package/umd/r/repulseBack.js +0 -66
  163. package/umd/r/repulseBounce.js +0 -66
  164. package/umd/r/repulseCirc.js +0 -66
  165. package/umd/r/repulseCubic.js +0 -66
  166. package/umd/r/repulseElastic.js +0 -66
  167. package/umd/r/repulseExpo.js +0 -66
  168. package/umd/r/repulseGaussian.js +0 -66
  169. package/umd/r/repulseQuart.js +0 -66
  170. package/umd/r/repulseQuint.js +0 -66
  171. package/umd/r/repulseSigmoid.js +0 -66
  172. package/umd/r/repulseSine.js +0 -66
  173. package/umd/r/repulseSmoothstep.js +0 -66
  174. package/umd/r/responsive.js +0 -126
  175. package/umd/r/ring.js +0 -85
  176. package/umd/s/index.js +0 -73
  177. package/umd/s/seaAnemone.js +0 -99
  178. package/umd/s/shadow.js +0 -110
  179. package/umd/s/shapeArrow.js +0 -70
  180. package/umd/s/shapeCog.js +0 -108
  181. package/umd/s/shapeEmoji.js +0 -197
  182. package/umd/s/shapeEmojiPadding.js +0 -127
  183. package/umd/s/shapeHeart.js +0 -97
  184. package/umd/s/shapeInfinity.js +0 -100
  185. package/umd/s/shapeMultilineText.js +0 -63
  186. package/umd/s/shapeOptions.js +0 -74
  187. package/umd/s/shapePath.js +0 -182
  188. package/umd/s/shapeRoundedPolygon.js +0 -110
  189. package/umd/s/shapeRoundedRect.js +0 -107
  190. package/umd/s/shapeSpiral.js +0 -114
  191. package/umd/s/shapeSquircle.js +0 -104
  192. package/umd/s/slow.js +0 -96
  193. package/umd/s/snow.js +0 -62
  194. package/umd/s/soundsAudio.js +0 -81
  195. package/umd/s/soundsLoop.js +0 -81
  196. package/umd/s/soundsMelodies.js +0 -104
  197. package/umd/s/soundsMelodyLoop.js +0 -356
  198. package/umd/s/soundsNotes.js +0 -96
  199. package/umd/s/speedDecay.js +0 -151
  200. package/umd/s/spin.js +0 -67
  201. package/umd/s/star.js +0 -108
  202. package/umd/s/strokeAnimation.js +0 -108
  203. package/umd/s/style.js +0 -97
  204. package/umd/s/svgReplace.js +0 -132
  205. package/umd/t/index.js +0 -35
  206. package/umd/t/test.js +0 -132
  207. package/umd/t/textMask.js +0 -85
  208. package/umd/t/textMaskMultiline.js +0 -88
  209. package/umd/t/themes.js +0 -206
  210. package/umd/t/tilt.js +0 -107
  211. package/umd/t/trail.js +0 -113
  212. package/umd/t/trailImage.js +0 -129
  213. package/umd/t/triangles.js +0 -64
  214. package/umd/t/twinkle.js +0 -119
  215. package/umd/u/index.js +0 -13
  216. package/umd/v/index.js +0 -21
  217. package/umd/v/vibrate.js +0 -90
  218. package/umd/v/virus.js +0 -86
  219. package/umd/w/index.js +0 -23
  220. package/umd/w/warp.js +0 -106
  221. package/umd/w/wobble.js +0 -154
  222. package/umd/w/wobbleBig.js +0 -154
  223. package/umd/x/index.js +0 -13
  224. package/umd/y/index.js +0 -13
  225. package/umd/z/index.js +0 -19
  226. package/umd/z/zIndex.js +0 -101
package/umd/e/emitter.js DELETED
@@ -1,280 +0,0 @@
1
- (function (factory) {
2
- if (typeof module === "object" && typeof module.exports === "object") {
3
- var v = factory(require, exports);
4
- if (v !== undefined) module.exports = v;
5
- }
6
- else if (typeof define === "function" && define.amd) {
7
- define(["require", "exports", "@tsparticles/engine"], factory);
8
- }
9
- })(function (require, exports) {
10
- "use strict";
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- const engine_1 = require("@tsparticles/engine");
13
- const options = {
14
- key: "emitter",
15
- name: "Emitter",
16
- particles: {
17
- number: {
18
- value: 100,
19
- density: {
20
- enable: false,
21
- },
22
- },
23
- fill: {
24
- color: {
25
- value: "#000",
26
- },
27
- enable: true,
28
- },
29
- shape: {
30
- type: "circle",
31
- },
32
- opacity: {
33
- value: 0.5,
34
- },
35
- size: {
36
- value: {
37
- min: 1,
38
- max: 5,
39
- },
40
- },
41
- links: {
42
- enable: true,
43
- distance: 150,
44
- color: "#000",
45
- opacity: 0.4,
46
- width: 1,
47
- },
48
- move: {
49
- enable: true,
50
- speed: 2,
51
- },
52
- },
53
- interactivity: {
54
- events: {
55
- onClick: {
56
- enable: true,
57
- mode: "emitters",
58
- },
59
- },
60
- modes: {
61
- emitters: {
62
- life: {
63
- count: 10,
64
- delay: 0.5,
65
- duration: 3,
66
- },
67
- particles: {
68
- shape: {
69
- type: "star",
70
- options: {
71
- star: {
72
- sides: 7,
73
- },
74
- },
75
- },
76
- rotate: {
77
- value: {
78
- min: 0,
79
- max: 360,
80
- },
81
- direction: "clockwise",
82
- animation: {
83
- enable: true,
84
- speed: 15,
85
- sync: false,
86
- },
87
- },
88
- fill: {
89
- color: {
90
- value: "#f0f",
91
- },
92
- enable: true,
93
- },
94
- links: {
95
- enable: false,
96
- },
97
- opacity: {
98
- value: 1,
99
- },
100
- size: {
101
- value: 15,
102
- },
103
- move: {
104
- speed: 20,
105
- outModes: engine_1.OutMode.destroy,
106
- },
107
- },
108
- },
109
- grab: {
110
- distance: 400,
111
- links: {
112
- opacity: 1,
113
- },
114
- },
115
- bubble: {
116
- distance: 400,
117
- size: 40,
118
- duration: 2,
119
- opacity: 0.8,
120
- },
121
- repulse: {
122
- distance: 200,
123
- },
124
- push: {
125
- quantity: 4,
126
- },
127
- remove: {
128
- quantity: 2,
129
- },
130
- },
131
- },
132
- background: {
133
- color: "#fff",
134
- },
135
- emitters: [
136
- {
137
- life: {
138
- count: 10,
139
- delay: 0.5,
140
- duration: 3,
141
- },
142
- particles: {
143
- shape: {
144
- type: "polygon",
145
- options: {
146
- polygon: {
147
- sides: 6,
148
- },
149
- },
150
- },
151
- rotate: {
152
- value: {
153
- min: 0,
154
- max: 360,
155
- },
156
- direction: "clockwise",
157
- animation: {
158
- enable: true,
159
- speed: 15,
160
- sync: false,
161
- },
162
- },
163
- fill: {
164
- color: {
165
- value: "#0f0",
166
- },
167
- enable: true,
168
- },
169
- links: {
170
- enable: false,
171
- },
172
- opacity: {
173
- value: 1,
174
- },
175
- size: {
176
- value: 15,
177
- },
178
- move: {
179
- speed: 20,
180
- outModes: engine_1.OutMode.destroy,
181
- },
182
- },
183
- },
184
- {
185
- direction: "top-right",
186
- position: {
187
- x: 0,
188
- y: 100,
189
- },
190
- particles: {
191
- shape: {
192
- type: "star",
193
- },
194
- fill: {
195
- color: {
196
- value: "#f00",
197
- },
198
- enable: true,
199
- },
200
- links: {
201
- enable: true,
202
- id: "emitter1",
203
- color: {
204
- value: "#ff7700",
205
- },
206
- },
207
- opacity: {
208
- value: 0.3,
209
- },
210
- rotate: {
211
- value: {
212
- min: 0,
213
- max: 360,
214
- },
215
- direction: "counter-clockwise",
216
- animation: {
217
- enable: true,
218
- speed: 15,
219
- sync: false,
220
- },
221
- },
222
- size: {
223
- value: {
224
- min: 1,
225
- max: 10,
226
- },
227
- },
228
- move: {
229
- speed: 10,
230
- outModes: engine_1.OutMode.destroy,
231
- },
232
- },
233
- },
234
- {
235
- direction: "top-left",
236
- position: {
237
- x: 100,
238
- y: 100,
239
- },
240
- particles: {
241
- shape: {
242
- type: "square",
243
- },
244
- rotate: {
245
- value: {
246
- min: 0,
247
- max: 360,
248
- },
249
- direction: "clockwise",
250
- animation: {
251
- enable: true,
252
- speed: 15,
253
- sync: false,
254
- },
255
- },
256
- fill: {
257
- color: {
258
- value: "#00f",
259
- },
260
- enable: true,
261
- },
262
- links: {
263
- enable: false,
264
- },
265
- opacity: {
266
- value: 0.8,
267
- },
268
- size: {
269
- value: 15,
270
- },
271
- move: {
272
- speed: 20,
273
- outModes: engine_1.OutMode.destroy,
274
- },
275
- },
276
- },
277
- ],
278
- };
279
- exports.default = options;
280
- });
@@ -1,155 +0,0 @@
1
- (function (factory) {
2
- if (typeof module === "object" && typeof module.exports === "object") {
3
- var v = factory(require, exports);
4
- if (v !== undefined) module.exports = v;
5
- }
6
- else if (typeof define === "function" && define.amd) {
7
- define(["require", "exports"], factory);
8
- }
9
- })(function (require, exports) {
10
- "use strict";
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- const options = {
13
- key: "emitterAbsorber",
14
- name: "Emitter and Absorber",
15
- particles: {
16
- number: {
17
- value: 0,
18
- },
19
- fill: {
20
- color: {
21
- value: "#000",
22
- },
23
- enable: true,
24
- },
25
- shape: {
26
- type: "circle",
27
- },
28
- opacity: {
29
- value: 0.5,
30
- },
31
- size: {
32
- value: {
33
- min: 1,
34
- max: 5,
35
- },
36
- },
37
- links: {
38
- enable: true,
39
- distance: 150,
40
- color: "#000",
41
- opacity: 0.4,
42
- width: 1,
43
- },
44
- move: {
45
- enable: true,
46
- speed: 2,
47
- },
48
- },
49
- interactivity: {
50
- events: {
51
- onHover: {
52
- enable: false,
53
- mode: "repulse",
54
- },
55
- onClick: {
56
- enable: false,
57
- mode: "push",
58
- },
59
- },
60
- modes: {
61
- grab: {
62
- distance: 400,
63
- links: {
64
- opacity: 1,
65
- },
66
- },
67
- bubble: {
68
- distance: 400,
69
- size: 40,
70
- duration: 2,
71
- opacity: 0.8,
72
- },
73
- repulse: {
74
- distance: 200,
75
- },
76
- push: {
77
- quantity: 4,
78
- },
79
- remove: {
80
- quantity: 2,
81
- },
82
- },
83
- },
84
- background: {
85
- color: "#fff",
86
- image: "",
87
- position: "50% 50%",
88
- repeat: "no-repeat",
89
- size: "cover",
90
- },
91
- absorbers: {
92
- position: {
93
- x: 50,
94
- y: 50,
95
- },
96
- size: {
97
- density: 20,
98
- value: {
99
- min: 30,
100
- max: 50,
101
- },
102
- limit: 100,
103
- },
104
- },
105
- emitters: [
106
- {
107
- direction: "top-right",
108
- position: {
109
- x: 0,
110
- y: 100,
111
- },
112
- particles: {
113
- shape: {
114
- type: "circle",
115
- },
116
- fill: {
117
- color: {
118
- value: "random",
119
- },
120
- enable: true,
121
- },
122
- links: {
123
- enable: false,
124
- },
125
- opacity: {
126
- value: 0.3,
127
- },
128
- rotate: {
129
- value: {
130
- min: 0,
131
- max: 360,
132
- },
133
- direction: "counter-clockwise",
134
- animation: {
135
- enable: true,
136
- speed: 15,
137
- sync: false,
138
- },
139
- },
140
- size: {
141
- value: {
142
- min: 5,
143
- max: 10,
144
- },
145
- },
146
- move: {
147
- speed: 5,
148
- outModes: "bounce",
149
- },
150
- },
151
- },
152
- ],
153
- };
154
- exports.default = options;
155
- });
@@ -1,72 +0,0 @@
1
- (function (factory) {
2
- if (typeof module === "object" && typeof module.exports === "object") {
3
- var v = factory(require, exports);
4
- if (v !== undefined) module.exports = v;
5
- }
6
- else if (typeof define === "function" && define.amd) {
7
- define(["require", "exports"], factory);
8
- }
9
- })(function (require, exports) {
10
- "use strict";
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- const options = {
13
- key: "emitterAngled",
14
- name: "Emitter Angled",
15
- particles: {
16
- number: {
17
- value: 0,
18
- },
19
- fill: {
20
- color: {
21
- value: "random",
22
- },
23
- enable: true,
24
- },
25
- shape: {
26
- type: "circle",
27
- },
28
- opacity: {
29
- value: 0.5,
30
- },
31
- size: {
32
- value: {
33
- min: 5,
34
- max: 10,
35
- },
36
- },
37
- move: {
38
- angle: {
39
- offset: 0,
40
- value: 30,
41
- },
42
- enable: true,
43
- speed: 15,
44
- direction: "top",
45
- outModes: {
46
- default: "destroy",
47
- },
48
- },
49
- },
50
- background: {
51
- color: "#fff",
52
- },
53
- emitters: [
54
- {
55
- direction: "top",
56
- position: {
57
- x: {
58
- min: 25,
59
- max: 75,
60
- },
61
- y: 100,
62
- },
63
- life: {
64
- duration: 3,
65
- delay: 5,
66
- count: 0,
67
- },
68
- },
69
- ],
70
- };
71
- exports.default = options;
72
- });
@@ -1,111 +0,0 @@
1
- (function (factory) {
2
- if (typeof module === "object" && typeof module.exports === "object") {
3
- var v = factory(require, exports);
4
- if (v !== undefined) module.exports = v;
5
- }
6
- else if (typeof define === "function" && define.amd) {
7
- define(["require", "exports"], factory);
8
- }
9
- })(function (require, exports) {
10
- "use strict";
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- const minFilterValue = 30, minFilterAlpha = 0, rate = {
13
- delay: 0.1,
14
- quantity: 100,
15
- }, generateEmitter = (shape, options, fill, position) => {
16
- return {
17
- shape: {
18
- replace: {
19
- color: true,
20
- opacity: true,
21
- },
22
- type: shape,
23
- options,
24
- },
25
- position: position,
26
- size: {
27
- width: 500,
28
- height: 500,
29
- mode: "precise",
30
- },
31
- startCount: 300,
32
- rate,
33
- fill,
34
- };
35
- }, options = {
36
- key: "emitterImageShape",
37
- name: "Emitter Image Shape",
38
- particles: {
39
- number: {
40
- value: 0,
41
- },
42
- fill: {
43
- color: {
44
- value: [
45
- "#f44336",
46
- "#e91e63",
47
- "#9c27b0",
48
- "#673ab7",
49
- "#3f51b5",
50
- "#2196f3",
51
- "#03a9f4",
52
- "#00bcd4",
53
- "#009688",
54
- "#4CAF50",
55
- "#8BC34A",
56
- "#CDDC39",
57
- "#FFEB3B",
58
- "#FFC107",
59
- "#FF9800",
60
- "#FF5722",
61
- ],
62
- },
63
- enable: true,
64
- },
65
- life: {
66
- count: 1,
67
- duration: {
68
- value: 1.5,
69
- },
70
- },
71
- move: {
72
- enable: true,
73
- speed: 0.5,
74
- },
75
- shape: {
76
- type: "circle",
77
- },
78
- opacity: {
79
- value: 1,
80
- },
81
- size: {
82
- value: { min: 1, max: 10 },
83
- animation: {
84
- enable: true,
85
- speed: 30,
86
- sync: true,
87
- startValue: "min",
88
- count: 2,
89
- },
90
- },
91
- },
92
- background: {
93
- color: "#fff",
94
- },
95
- emitters: [
96
- generateEmitter("canvas", {
97
- scale: 5,
98
- pixels: {
99
- filter: (pixel) => pixel.r < minFilterValue && pixel.g < minFilterValue && pixel.b < minFilterValue
100
- ? false
101
- : pixel.a > minFilterAlpha,
102
- offset: 4,
103
- },
104
- image: {
105
- src: "https://particles.js.org/images/hdr/amongus_cyan.png",
106
- },
107
- }, true, { x: 50, y: 50 }),
108
- ],
109
- };
110
- exports.default = options;
111
- });