@tsparticles/configs 3.9.1 → 4.0.0-alpha.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 (352) hide show
  1. package/browser/a/amongUs.js +1 -1
  2. package/browser/b/backgroundMask.js +1 -1
  3. package/browser/b/backgroundMaskImage.js +2 -2
  4. package/browser/b/big.js +40 -3
  5. package/browser/c/curlNoise.js +7 -7
  6. package/browser/e/emitterImageShape.js +1 -1
  7. package/browser/e/emitterImages.js +16 -16
  8. package/browser/e/emitterPaths.js +5 -5
  9. package/browser/f/fallingConfetti.js +137 -0
  10. package/browser/f/fireworks.js +43 -6
  11. package/browser/f/fireworks2.js +39 -12
  12. package/browser/f/fireworksMask.js +195 -0
  13. package/browser/f/fontawesome.js +0 -5
  14. package/browser/f/forward.js +1 -1
  15. package/browser/f/index.js +4 -0
  16. package/browser/g/gravity.js +5 -5
  17. package/browser/g/index.js +1 -1
  18. package/browser/h/hexagonPath.js +5 -5
  19. package/browser/h/hollowknight.js +1 -1
  20. package/browser/h/hyperspace.js +5 -5
  21. package/browser/i/imageMask.js +1 -1
  22. package/browser/i/images.js +16 -16
  23. package/browser/i/imagesDirections.js +2 -2
  24. package/browser/index.js +5 -1
  25. package/browser/m/multiplePolygonMasks.js +1 -1
  26. package/browser/n/noisePlanesFractal.js +2 -2
  27. package/browser/n/noisePlanesPerlin.js +1 -1
  28. package/browser/n/noisePlanesSimplex.js +1 -1
  29. package/browser/p/pathSvg.js +7 -7
  30. package/browser/p/pathZigZag.js +7 -7
  31. package/browser/p/planes.js +1 -1
  32. package/browser/p/polygonMask.js +1 -1
  33. package/browser/r/randomShapes.js +16 -16
  34. package/browser/r/reactDefaults.js +0 -5
  35. package/browser/r/reactMultipleImages.js +3 -3
  36. package/browser/r/reactNightSky.js +0 -7
  37. package/browser/r/reactPolygonMask.js +1 -8
  38. package/browser/r/reactSimple.js +0 -18
  39. package/browser/r/reactSnow.js +0 -7
  40. package/browser/r/reduceDuplicates.js +16 -16
  41. package/browser/r/ring.js +5 -5
  42. package/browser/s/seaAnemone.js +5 -5
  43. package/browser/s/shadow.js +12 -7
  44. package/browser/s/shapeOptions.js +2 -2
  45. package/browser/s/speedDecay.js +5 -5
  46. package/browser/s/spin.js +5 -5
  47. package/browser/s/style.js +7 -7
  48. package/browser/t/trail.js +7 -7
  49. package/browser/t/trailImage.js +9 -9
  50. package/browser/v/virus.js +1 -1
  51. package/cjs/a/absorbers.js +1 -3
  52. package/cjs/a/amongUs.js +2 -4
  53. package/cjs/a/index.js +5 -10
  54. package/cjs/b/backgroundMask.js +2 -4
  55. package/cjs/b/backgroundMaskImage.js +3 -5
  56. package/cjs/b/basic.js +1 -3
  57. package/cjs/b/big.js +41 -6
  58. package/cjs/b/blackHole.js +1 -3
  59. package/cjs/b/bubble.js +1 -3
  60. package/cjs/b/index.js +13 -18
  61. package/cjs/bundle.js +1 -17
  62. package/cjs/c/cards.js +1 -3
  63. package/cjs/c/chars.js +1 -3
  64. package/cjs/c/clickConfetti.js +1 -3
  65. package/cjs/c/clickPause.js +1 -3
  66. package/cjs/c/collisionsAbsorb.js +1 -3
  67. package/cjs/c/collisionsBounce.js +1 -3
  68. package/cjs/c/collisionsDestroy.js +1 -3
  69. package/cjs/c/colorAnimation.js +1 -3
  70. package/cjs/c/connect.js +1 -3
  71. package/cjs/c/curlNoise.js +8 -10
  72. package/cjs/c/index.js +19 -24
  73. package/cjs/d/dataImages.js +1 -3
  74. package/cjs/d/delay.js +1 -3
  75. package/cjs/d/delayColor.js +1 -3
  76. package/cjs/d/delayOpacity.js +1 -3
  77. package/cjs/d/delaySize.js +1 -3
  78. package/cjs/d/delayStrokeColor.js +1 -3
  79. package/cjs/d/destroy.js +1 -3
  80. package/cjs/d/disappearing.js +1 -3
  81. package/cjs/d/divEvents.js +1 -3
  82. package/cjs/d/index.js +19 -24
  83. package/cjs/e/effectBubble.js +1 -3
  84. package/cjs/e/effectTrail.js +1 -3
  85. package/cjs/e/effectTrailTransform.js +1 -3
  86. package/cjs/e/emitter.js +1 -3
  87. package/cjs/e/emitterAbsorber.js +1 -3
  88. package/cjs/e/emitterAngled.js +1 -3
  89. package/cjs/e/emitterImageShape.js +2 -4
  90. package/cjs/e/emitterImages.js +17 -19
  91. package/cjs/e/emitterPaths.js +6 -8
  92. package/cjs/e/emitterShapes.js +1 -3
  93. package/cjs/e/emitterSpawnColor.js +7 -9
  94. package/cjs/e/emitterTextShape.js +1 -3
  95. package/cjs/e/emitterTextStrokeShape.js +1 -3
  96. package/cjs/e/index.js +27 -32
  97. package/cjs/f/fallingConfetti.js +137 -0
  98. package/cjs/f/fireworks.js +46 -11
  99. package/cjs/f/fireworks2.js +42 -17
  100. package/cjs/f/fireworksMask.js +195 -0
  101. package/cjs/f/fontawesome.js +1 -8
  102. package/cjs/f/forward.js +2 -4
  103. package/cjs/f/index.js +13 -14
  104. package/cjs/g/gifs.js +1 -3
  105. package/cjs/g/grabRandomColor.js +1 -3
  106. package/cjs/g/gradients.js +10 -12
  107. package/cjs/g/gravity.js +6 -8
  108. package/cjs/g/groups.js +1 -3
  109. package/cjs/g/growing.js +1 -3
  110. package/cjs/g/index.js +13 -18
  111. package/cjs/h/hexagonPath.js +6 -8
  112. package/cjs/h/hollowknight.js +2 -4
  113. package/cjs/h/hyperspace.js +6 -8
  114. package/cjs/h/index.js +7 -12
  115. package/cjs/i/imageMask.js +2 -4
  116. package/cjs/i/images.js +17 -19
  117. package/cjs/i/imagesDirections.js +6 -8
  118. package/cjs/i/index.js +9 -14
  119. package/cjs/i/infection.js +1 -3
  120. package/cjs/index.js +59 -60
  121. package/cjs/j/index.js +1 -3
  122. package/cjs/k/index.js +1 -3
  123. package/cjs/l/index.js +11 -16
  124. package/cjs/l/lch.js +1 -3
  125. package/cjs/l/life.js +1 -3
  126. package/cjs/l/lightHover.js +1 -3
  127. package/cjs/l/linkTriangles.js +1 -3
  128. package/cjs/l/localPolygonMask.js +1 -3
  129. package/cjs/m/index.js +33 -38
  130. package/cjs/m/manual.js +1 -3
  131. package/cjs/m/motionDisable.js +1 -3
  132. package/cjs/m/motionReduce.js +1 -3
  133. package/cjs/m/mouseAttract.js +1 -3
  134. package/cjs/m/mouseBounce.js +1 -3
  135. package/cjs/m/mouseFollow.js +1 -3
  136. package/cjs/m/mouseParticle.js +1 -3
  137. package/cjs/m/mouseParticle2.js +1 -3
  138. package/cjs/m/mouseTrail.js +1 -3
  139. package/cjs/m/mouseTrailNoise.js +1 -3
  140. package/cjs/m/moveAngle.js +1 -3
  141. package/cjs/m/moveDistance.js +1 -3
  142. package/cjs/m/moveInside.js +1 -3
  143. package/cjs/m/moveOutside.js +1 -3
  144. package/cjs/m/multipleClickEmitters.js +1 -3
  145. package/cjs/m/multiplePolygonMasks.js +2 -4
  146. package/cjs/n/index.js +19 -24
  147. package/cjs/n/namedColors.js +1 -3
  148. package/cjs/n/nasa.js +1 -3
  149. package/cjs/n/noClear.js +1 -3
  150. package/cjs/n/noConfig.js +1 -3
  151. package/cjs/n/noisePlanesFractal.js +3 -5
  152. package/cjs/n/noisePlanesPerlin.js +2 -4
  153. package/cjs/n/noisePlanesSimplex.js +2 -4
  154. package/cjs/n/nyancat.js +1 -3
  155. package/cjs/n/nyancat2.js +1 -3
  156. package/cjs/o/index.js +5 -10
  157. package/cjs/o/oklch.js +1 -3
  158. package/cjs/o/orbit.js +1 -3
  159. package/cjs/p/index.js +21 -26
  160. package/cjs/p/parallax.js +1 -3
  161. package/cjs/p/pathPolygonMask.js +1 -3
  162. package/cjs/p/pathSvg.js +8 -10
  163. package/cjs/p/pathZigZag.js +8 -10
  164. package/cjs/p/planes.js +2 -4
  165. package/cjs/p/plasma.js +1 -3
  166. package/cjs/p/poisson.js +1 -3
  167. package/cjs/p/polygonMask.js +2 -4
  168. package/cjs/p/polygons.js +1 -3
  169. package/cjs/p/pop.js +3 -5
  170. package/cjs/q/index.js +1 -3
  171. package/cjs/r/index.js +41 -46
  172. package/cjs/r/random.js +1 -3
  173. package/cjs/r/randomShapes.js +17 -19
  174. package/cjs/r/reactBubbles.js +1 -3
  175. package/cjs/r/reactDefaults.js +1 -8
  176. package/cjs/r/reactMultipleImages.js +4 -6
  177. package/cjs/r/reactNightSky.js +1 -10
  178. package/cjs/r/reactPolygonMask.js +2 -11
  179. package/cjs/r/reactSimple.js +1 -21
  180. package/cjs/r/reactSnow.js +1 -10
  181. package/cjs/r/reduceDuplicates.js +17 -19
  182. package/cjs/r/repulse.js +1 -3
  183. package/cjs/r/repulseBack.js +1 -3
  184. package/cjs/r/repulseCirc.js +1 -3
  185. package/cjs/r/repulseCubic.js +1 -3
  186. package/cjs/r/repulseExpo.js +1 -3
  187. package/cjs/r/repulseQuart.js +1 -3
  188. package/cjs/r/repulseQuint.js +1 -3
  189. package/cjs/r/repulseSine.js +1 -3
  190. package/cjs/r/responsive.js +1 -3
  191. package/cjs/r/ring.js +6 -8
  192. package/cjs/s/index.js +55 -60
  193. package/cjs/s/seaAnemone.js +6 -8
  194. package/cjs/s/shadow.js +13 -10
  195. package/cjs/s/shapeArrow.js +1 -3
  196. package/cjs/s/shapeCog.js +1 -3
  197. package/cjs/s/shapeEmoji.js +7 -9
  198. package/cjs/s/shapeEmojiPadding.js +1 -3
  199. package/cjs/s/shapeHeart.js +1 -3
  200. package/cjs/s/shapeInfinity.js +1 -3
  201. package/cjs/s/shapeMultilineText.js +1 -3
  202. package/cjs/s/shapeOptions.js +3 -5
  203. package/cjs/s/shapePath.js +1 -3
  204. package/cjs/s/shapeRoundedPolygon.js +1 -3
  205. package/cjs/s/shapeRoundedRect.js +1 -3
  206. package/cjs/s/shapeSpiral.js +1 -3
  207. package/cjs/s/slow.js +1 -3
  208. package/cjs/s/snow.js +1 -3
  209. package/cjs/s/soundsAudio.js +1 -3
  210. package/cjs/s/soundsLoop.js +1 -3
  211. package/cjs/s/soundsMelodies.js +1 -3
  212. package/cjs/s/soundsMelodyLoop.js +1 -3
  213. package/cjs/s/soundsNotes.js +1 -3
  214. package/cjs/s/speedDecay.js +6 -8
  215. package/cjs/s/spin.js +6 -8
  216. package/cjs/s/star.js +1 -3
  217. package/cjs/s/strokeAnimation.js +1 -3
  218. package/cjs/s/style.js +8 -10
  219. package/cjs/s/svgReplace.js +1 -3
  220. package/cjs/t/index.js +19 -24
  221. package/cjs/t/test.js +1 -3
  222. package/cjs/t/textMask.js +1 -3
  223. package/cjs/t/textMaskMultiline.js +1 -3
  224. package/cjs/t/themes.js +1 -3
  225. package/cjs/t/tilt.js +1 -3
  226. package/cjs/t/trail.js +8 -10
  227. package/cjs/t/trailImage.js +10 -12
  228. package/cjs/t/triangles.js +1 -3
  229. package/cjs/t/twinkle.js +1 -3
  230. package/cjs/u/index.js +1 -3
  231. package/cjs/v/index.js +5 -10
  232. package/cjs/v/vibrate.js +1 -3
  233. package/cjs/v/virus.js +2 -4
  234. package/cjs/w/index.js +7 -12
  235. package/cjs/w/warp.js +1 -3
  236. package/cjs/w/wobble.js +1 -3
  237. package/cjs/w/wobbleBig.js +1 -3
  238. package/cjs/x/index.js +1 -3
  239. package/cjs/y/index.js +1 -3
  240. package/cjs/z/index.js +3 -8
  241. package/cjs/z/zIndex.js +1 -3
  242. package/esm/a/amongUs.js +1 -1
  243. package/esm/b/backgroundMask.js +1 -1
  244. package/esm/b/backgroundMaskImage.js +2 -2
  245. package/esm/b/big.js +40 -3
  246. package/esm/c/curlNoise.js +7 -7
  247. package/esm/e/emitterImageShape.js +1 -1
  248. package/esm/e/emitterImages.js +16 -16
  249. package/esm/e/emitterPaths.js +5 -5
  250. package/esm/f/fallingConfetti.js +137 -0
  251. package/esm/f/fireworks.js +43 -6
  252. package/esm/f/fireworks2.js +39 -12
  253. package/esm/f/fireworksMask.js +195 -0
  254. package/esm/f/fontawesome.js +0 -5
  255. package/esm/f/forward.js +1 -1
  256. package/esm/f/index.js +4 -0
  257. package/esm/g/gravity.js +5 -5
  258. package/esm/g/index.js +1 -1
  259. package/esm/h/hexagonPath.js +5 -5
  260. package/esm/h/hollowknight.js +1 -1
  261. package/esm/h/hyperspace.js +5 -5
  262. package/esm/i/imageMask.js +1 -1
  263. package/esm/i/images.js +16 -16
  264. package/esm/i/imagesDirections.js +2 -2
  265. package/esm/index.js +5 -1
  266. package/esm/m/multiplePolygonMasks.js +1 -1
  267. package/esm/n/noisePlanesFractal.js +2 -2
  268. package/esm/n/noisePlanesPerlin.js +1 -1
  269. package/esm/n/noisePlanesSimplex.js +1 -1
  270. package/esm/p/pathSvg.js +7 -7
  271. package/esm/p/pathZigZag.js +7 -7
  272. package/esm/p/planes.js +1 -1
  273. package/esm/p/polygonMask.js +1 -1
  274. package/esm/r/randomShapes.js +16 -16
  275. package/esm/r/reactDefaults.js +0 -5
  276. package/esm/r/reactMultipleImages.js +3 -3
  277. package/esm/r/reactNightSky.js +0 -7
  278. package/esm/r/reactPolygonMask.js +1 -8
  279. package/esm/r/reactSimple.js +0 -18
  280. package/esm/r/reactSnow.js +0 -7
  281. package/esm/r/reduceDuplicates.js +16 -16
  282. package/esm/r/ring.js +5 -5
  283. package/esm/s/seaAnemone.js +5 -5
  284. package/esm/s/shadow.js +12 -7
  285. package/esm/s/shapeOptions.js +2 -2
  286. package/esm/s/speedDecay.js +5 -5
  287. package/esm/s/spin.js +5 -5
  288. package/esm/s/style.js +7 -7
  289. package/esm/t/trail.js +7 -7
  290. package/esm/t/trailImage.js +9 -9
  291. package/esm/v/virus.js +1 -1
  292. package/package.json +4 -3
  293. package/report.html +6 -5
  294. package/tsparticles.configs.bundle.js +5 -5
  295. package/tsparticles.configs.bundle.min.js.LICENSE.txt +1 -1
  296. package/tsparticles.configs.js +643 -629
  297. package/tsparticles.configs.min.js +1 -1
  298. package/tsparticles.configs.min.js.LICENSE.txt +1 -1
  299. package/types/f/fallingConfetti.d.ts +3 -0
  300. package/types/f/fireworksMask.d.ts +3 -0
  301. package/types/f/index.d.ts +2 -0
  302. package/types/index.d.ts +2 -0
  303. package/umd/a/amongUs.js +1 -1
  304. package/umd/b/backgroundMask.js +1 -1
  305. package/umd/b/backgroundMaskImage.js +2 -2
  306. package/umd/b/big.js +40 -3
  307. package/umd/c/curlNoise.js +7 -7
  308. package/umd/e/emitterImageShape.js +1 -1
  309. package/umd/e/emitterImages.js +16 -16
  310. package/umd/e/emitterPaths.js +5 -5
  311. package/umd/f/fallingConfetti.js +149 -0
  312. package/umd/f/fireworks.js +43 -6
  313. package/umd/f/fireworks2.js +39 -12
  314. package/umd/f/fireworksMask.js +207 -0
  315. package/umd/f/fontawesome.js +0 -5
  316. package/umd/f/forward.js +1 -1
  317. package/umd/f/index.js +5 -1
  318. package/umd/g/gravity.js +5 -5
  319. package/umd/g/index.js +3 -3
  320. package/umd/h/hexagonPath.js +5 -5
  321. package/umd/h/hollowknight.js +1 -1
  322. package/umd/h/hyperspace.js +5 -5
  323. package/umd/i/imageMask.js +1 -1
  324. package/umd/i/images.js +16 -16
  325. package/umd/i/imagesDirections.js +2 -2
  326. package/umd/index.js +5 -1
  327. package/umd/m/multiplePolygonMasks.js +1 -1
  328. package/umd/n/noisePlanesFractal.js +2 -2
  329. package/umd/n/noisePlanesPerlin.js +1 -1
  330. package/umd/n/noisePlanesSimplex.js +1 -1
  331. package/umd/p/pathSvg.js +7 -7
  332. package/umd/p/pathZigZag.js +7 -7
  333. package/umd/p/planes.js +1 -1
  334. package/umd/p/polygonMask.js +1 -1
  335. package/umd/r/randomShapes.js +16 -16
  336. package/umd/r/reactDefaults.js +0 -5
  337. package/umd/r/reactMultipleImages.js +3 -3
  338. package/umd/r/reactNightSky.js +0 -7
  339. package/umd/r/reactPolygonMask.js +1 -8
  340. package/umd/r/reactSimple.js +0 -18
  341. package/umd/r/reactSnow.js +0 -7
  342. package/umd/r/reduceDuplicates.js +16 -16
  343. package/umd/r/ring.js +5 -5
  344. package/umd/s/seaAnemone.js +5 -5
  345. package/umd/s/shadow.js +12 -7
  346. package/umd/s/shapeOptions.js +2 -2
  347. package/umd/s/speedDecay.js +5 -5
  348. package/umd/s/spin.js +5 -5
  349. package/umd/s/style.js +7 -7
  350. package/umd/t/trail.js +7 -7
  351. package/umd/t/trailImage.js +9 -9
  352. package/umd/v/virus.js +1 -1
@@ -0,0 +1,207 @@
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: "fireworksMask",
15
+ name: "Fireworks Background Mask",
16
+ fullScreen: {
17
+ enable: true,
18
+ },
19
+ background: {
20
+ color: "#ffffff",
21
+ image: "url('https://particles.js.org/images/hdr/background3.jpg')",
22
+ position: "50% 50%",
23
+ repeat: "no-repeat",
24
+ size: "cover",
25
+ },
26
+ backgroundMask: {
27
+ enable: true,
28
+ cover: {
29
+ color: "#000",
30
+ },
31
+ },
32
+ emitters: {
33
+ direction: "top",
34
+ life: {
35
+ count: 0,
36
+ duration: 0.1,
37
+ delay: 0.1,
38
+ },
39
+ rate: {
40
+ delay: 0.15,
41
+ quantity: 1,
42
+ },
43
+ size: {
44
+ width: 100,
45
+ height: 0,
46
+ },
47
+ position: {
48
+ y: 100,
49
+ x: 50,
50
+ },
51
+ },
52
+ particles: {
53
+ color: {
54
+ value: "#fff",
55
+ },
56
+ number: {
57
+ value: 0,
58
+ },
59
+ destroy: {
60
+ bounds: {
61
+ top: 30,
62
+ },
63
+ mode: "split",
64
+ split: {
65
+ count: 1,
66
+ factor: {
67
+ value: 0.333333,
68
+ },
69
+ rate: {
70
+ value: 100,
71
+ },
72
+ particles: {
73
+ stroke: {
74
+ width: 0,
75
+ },
76
+ color: {
77
+ value: ["#ff595e", "#ffca3a", "#8ac926", "#1982c4", "#6a4c93"],
78
+ },
79
+ number: {
80
+ value: 0,
81
+ },
82
+ collisions: {
83
+ enable: false,
84
+ },
85
+ destroy: {
86
+ bounds: {
87
+ top: 0,
88
+ },
89
+ },
90
+ opacity: {
91
+ value: {
92
+ min: 0.1,
93
+ max: 1,
94
+ },
95
+ animation: {
96
+ enable: true,
97
+ speed: 0.7,
98
+ sync: false,
99
+ startValue: "max",
100
+ destroy: "min",
101
+ },
102
+ },
103
+ effect: {
104
+ type: "trail",
105
+ options: {
106
+ trail: {
107
+ length: {
108
+ min: 5,
109
+ max: 10,
110
+ },
111
+ },
112
+ },
113
+ },
114
+ shape: {
115
+ type: "circle",
116
+ },
117
+ size: {
118
+ value: 2,
119
+ animation: {
120
+ enable: false,
121
+ },
122
+ },
123
+ life: {
124
+ count: 1,
125
+ duration: {
126
+ value: {
127
+ min: 1,
128
+ max: 2,
129
+ },
130
+ },
131
+ },
132
+ move: {
133
+ enable: true,
134
+ gravity: {
135
+ enable: true,
136
+ acceleration: 9.81,
137
+ inverse: false,
138
+ },
139
+ decay: 0.1,
140
+ speed: {
141
+ min: 10,
142
+ max: 25,
143
+ },
144
+ direction: "outside",
145
+ outModes: "destroy",
146
+ },
147
+ },
148
+ },
149
+ },
150
+ life: {
151
+ count: 1,
152
+ },
153
+ effect: {
154
+ type: "trail",
155
+ options: {
156
+ trail: {
157
+ length: {
158
+ min: 10,
159
+ max: 30,
160
+ },
161
+ minWidth: 1,
162
+ maxWidth: 1,
163
+ },
164
+ },
165
+ },
166
+ shape: {
167
+ type: "circle",
168
+ },
169
+ size: {
170
+ value: 1,
171
+ },
172
+ move: {
173
+ enable: true,
174
+ gravity: {
175
+ acceleration: 15,
176
+ enable: true,
177
+ inverse: true,
178
+ maxSpeed: 100,
179
+ },
180
+ speed: {
181
+ min: 10,
182
+ max: 20,
183
+ },
184
+ outModes: {
185
+ default: "destroy",
186
+ top: "none",
187
+ },
188
+ },
189
+ },
190
+ sounds: {
191
+ enable: true,
192
+ events: [
193
+ {
194
+ event: engine_1.EventType.particleRemoved,
195
+ filter: (args) => args.data.particle.options.move.gravity.inverse,
196
+ audio: [
197
+ "https://particles.js.org/audio/explosion0.mp3",
198
+ "https://particles.js.org/audio/explosion1.mp3",
199
+ "https://particles.js.org/audio/explosion2.mp3",
200
+ ],
201
+ },
202
+ ],
203
+ volume: 50,
204
+ },
205
+ };
206
+ exports.default = options;
207
+ });
@@ -44,11 +44,6 @@
44
44
  distance: 150,
45
45
  enable: true,
46
46
  opacity: 0.4,
47
- shadow: {
48
- blur: 5,
49
- color: "lime",
50
- enable: false,
51
- },
52
47
  width: 1,
53
48
  },
54
49
  move: {
package/umd/f/forward.js CHANGED
@@ -38,7 +38,7 @@
38
38
  type: "image",
39
39
  options: {
40
40
  image: {
41
- src: "https://particles.js.org/images/arrow.png",
41
+ src: "https://particles.js.org/images/hdr/arrow.png",
42
42
  width: 512,
43
43
  height: 512,
44
44
  replaceColor: true,
package/umd/f/index.js CHANGED
@@ -7,18 +7,22 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
7
7
  if (v !== undefined) module.exports = v;
8
8
  }
9
9
  else if (typeof define === "function" && define.amd) {
10
- define(["require", "exports", "./fireworks.js", "./fireworks2.js", "./fontawesome.js", "./forward.js"], factory);
10
+ define(["require", "exports", "./fallingConfetti.js", "./fireworks.js", "./fireworks2.js", "./fireworksMask.js", "./fontawesome.js", "./forward.js"], factory);
11
11
  }
12
12
  })(function (require, exports) {
13
13
  "use strict";
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
+ const fallingConfetti_js_1 = __importDefault(require("./fallingConfetti.js"));
15
16
  const fireworks_js_1 = __importDefault(require("./fireworks.js"));
16
17
  const fireworks2_js_1 = __importDefault(require("./fireworks2.js"));
18
+ const fireworksMask_js_1 = __importDefault(require("./fireworksMask.js"));
17
19
  const fontawesome_js_1 = __importDefault(require("./fontawesome.js"));
18
20
  const forward_js_1 = __importDefault(require("./forward.js"));
19
21
  exports.default = {
22
+ fallingConfetti: fallingConfetti_js_1.default,
20
23
  fireworks: fireworks_js_1.default,
21
24
  fireworks2: fireworks2_js_1.default,
25
+ fireworksMask: fireworksMask_js_1.default,
22
26
  fontawesome: fontawesome_js_1.default,
23
27
  forward: forward_js_1.default,
24
28
  };
package/umd/g/gravity.js CHANGED
@@ -58,11 +58,6 @@
58
58
  default: "bounce",
59
59
  top: "none",
60
60
  },
61
- trail: {
62
- enable: true,
63
- fill: { color: "#000000" },
64
- length: 10,
65
- },
66
61
  },
67
62
  },
68
63
  background: {
@@ -123,6 +118,11 @@
123
118
  },
124
119
  },
125
120
  },
121
+ trail: {
122
+ enable: true,
123
+ fill: { color: "#000000" },
124
+ length: 10,
125
+ },
126
126
  };
127
127
  exports.default = options;
128
128
  });
package/umd/g/index.js CHANGED
@@ -7,7 +7,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
7
7
  if (v !== undefined) module.exports = v;
8
8
  }
9
9
  else if (typeof define === "function" && define.amd) {
10
- define(["require", "exports", "./gifs.js", "./grabRandomColor.js", "./gradients.js", "./gravity.js", "./groups", "./growing.js"], factory);
10
+ define(["require", "exports", "./gifs.js", "./grabRandomColor.js", "./gradients.js", "./gravity.js", "./groups.js", "./growing.js"], factory);
11
11
  }
12
12
  })(function (require, exports) {
13
13
  "use strict";
@@ -16,14 +16,14 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
16
16
  const grabRandomColor_js_1 = __importDefault(require("./grabRandomColor.js"));
17
17
  const gradients_js_1 = __importDefault(require("./gradients.js"));
18
18
  const gravity_js_1 = __importDefault(require("./gravity.js"));
19
- const groups_1 = __importDefault(require("./groups"));
19
+ const groups_js_1 = __importDefault(require("./groups.js"));
20
20
  const growing_js_1 = __importDefault(require("./growing.js"));
21
21
  exports.default = {
22
22
  gifs: gifs_js_1.default,
23
23
  grabRandomColor: grabRandomColor_js_1.default,
24
24
  gradients: gradients_js_1.default,
25
25
  gravity: gravity_js_1.default,
26
- groups: groups_1.default,
26
+ groups: groups_js_1.default,
27
27
  growing: growing_js_1.default,
28
28
  };
29
29
  });
@@ -40,11 +40,6 @@
40
40
  },
41
41
  },
42
42
  speed: 3,
43
- trail: {
44
- fill: { color: "#000" },
45
- length: 20,
46
- enable: true,
47
- },
48
43
  },
49
44
  number: {
50
45
  density: {
@@ -80,6 +75,11 @@
80
75
  y: 50,
81
76
  },
82
77
  },
78
+ trail: {
79
+ fill: { color: "#000" },
80
+ length: 20,
81
+ enable: true,
82
+ },
83
83
  };
84
84
  exports.default = options;
85
85
  });
@@ -116,7 +116,7 @@
116
116
  },
117
117
  scale: 2,
118
118
  type: "inline",
119
- url: "https://particles.js.org/images/hollowknight.svg",
119
+ url: "https://particles.js.org/images/hdr/hollowknight.svg",
120
120
  },
121
121
  background: {
122
122
  color: "#000000",
@@ -25,11 +25,6 @@
25
25
  default: "destroy",
26
26
  },
27
27
  speed: 3,
28
- trail: {
29
- fill: { color: "#000" },
30
- length: 30,
31
- enable: true,
32
- },
33
28
  },
34
29
  number: {
35
30
  density: {
@@ -72,6 +67,11 @@
72
67
  y: 50,
73
68
  },
74
69
  },
70
+ trail: {
71
+ fill: { color: "#000" },
72
+ length: 30,
73
+ enable: true,
74
+ },
75
75
  };
76
76
  exports.default = options;
77
77
  });
@@ -63,7 +63,7 @@
63
63
  : pixel.a > minFilterAlpha,
64
64
  },
65
65
  image: {
66
- src: "https://particles.js.org/images/amongus_cyan.png",
66
+ src: "https://particles.js.org/images/hdr/amongus_cyan.png",
67
67
  },
68
68
  },
69
69
  background: {
package/umd/i/images.js CHANGED
@@ -128,97 +128,97 @@
128
128
  },
129
129
  preload: [
130
130
  {
131
- src: "https://particles.js.org/images/fruits/apple.png",
131
+ src: "https://particles.js.org/images/hdr/fruits/apple.png",
132
132
  name: "apple",
133
133
  width: 32,
134
134
  height: 32,
135
135
  },
136
136
  {
137
- src: "https://particles.js.org/images/fruits/avocado.png",
137
+ src: "https://particles.js.org/images/hdr/fruits/avocado.png",
138
138
  name: "avocado",
139
139
  width: 32,
140
140
  height: 32,
141
141
  },
142
142
  {
143
- src: "https://particles.js.org/images/fruits/banana.png",
143
+ src: "https://particles.js.org/images/hdr/fruits/banana.png",
144
144
  name: "banana",
145
145
  width: 32,
146
146
  height: 32,
147
147
  },
148
148
  {
149
- src: "https://particles.js.org/images/fruits/berries.png",
149
+ src: "https://particles.js.org/images/hdr/fruits/berries.png",
150
150
  name: "berries",
151
151
  width: 32,
152
152
  height: 32,
153
153
  },
154
154
  {
155
- src: "https://particles.js.org/images/fruits/cherry.png",
155
+ src: "https://particles.js.org/images/hdr/fruits/cherry.png",
156
156
  name: "cherry",
157
157
  width: 32,
158
158
  height: 32,
159
159
  },
160
160
  {
161
- src: "https://particles.js.org/images/fruits/grapes.png",
161
+ src: "https://particles.js.org/images/hdr/fruits/grapes.png",
162
162
  name: "grapes",
163
163
  width: 32,
164
164
  height: 32,
165
165
  },
166
166
  {
167
- src: "https://particles.js.org/images/fruits/lemon.png",
167
+ src: "https://particles.js.org/images/hdr/fruits/lemon.png",
168
168
  name: "lemon",
169
169
  width: 32,
170
170
  height: 32,
171
171
  },
172
172
  {
173
- src: "https://particles.js.org/images/fruits/orange.png",
173
+ src: "https://particles.js.org/images/hdr/fruits/orange.png",
174
174
  name: "orange",
175
175
  width: 32,
176
176
  height: 32,
177
177
  },
178
178
  {
179
- src: "https://particles.js.org/images/fruits/peach.png",
179
+ src: "https://particles.js.org/images/hdr/fruits/peach.png",
180
180
  name: "peach",
181
181
  width: 32,
182
182
  height: 32,
183
183
  },
184
184
  {
185
- src: "https://particles.js.org/images/fruits/pear.png",
185
+ src: "https://particles.js.org/images/hdr/fruits/pear.png",
186
186
  name: "pear",
187
187
  width: 32,
188
188
  height: 32,
189
189
  },
190
190
  {
191
- src: "https://particles.js.org/images/fruits/pepper.png",
191
+ src: "https://particles.js.org/images/hdr/fruits/pepper.png",
192
192
  name: "pepper",
193
193
  width: 32,
194
194
  height: 32,
195
195
  },
196
196
  {
197
- src: "https://particles.js.org/images/fruits/plum.png",
197
+ src: "https://particles.js.org/images/hdr/fruits/plum.png",
198
198
  name: "plum",
199
199
  width: 32,
200
200
  height: 32,
201
201
  },
202
202
  {
203
- src: "https://particles.js.org/images/fruits/star.png",
203
+ src: "https://particles.js.org/images/hdr/fruits/star.png",
204
204
  name: "star",
205
205
  width: 32,
206
206
  height: 32,
207
207
  },
208
208
  {
209
- src: "https://particles.js.org/images/fruits/strawberry.png",
209
+ src: "https://particles.js.org/images/hdr/fruits/strawberry.png",
210
210
  name: "strawberry",
211
211
  width: 32,
212
212
  height: 32,
213
213
  },
214
214
  {
215
- src: "https://particles.js.org/images/fruits/watermelon.png",
215
+ src: "https://particles.js.org/images/hdr/fruits/watermelon.png",
216
216
  name: "watermelon",
217
217
  width: 32,
218
218
  height: 32,
219
219
  },
220
220
  {
221
- src: "https://particles.js.org/images/fruits/watermelon_slice.png",
221
+ src: "https://particles.js.org/images/hdr/fruits/watermelon_slice.png",
222
222
  name: "watermelon_slice",
223
223
  width: 32,
224
224
  height: 32,
@@ -68,7 +68,7 @@
68
68
  options: {
69
69
  image: [
70
70
  {
71
- src: "https://particles.js.org/images/fruits/apple.png",
71
+ src: "https://particles.js.org/images/hdr/fruits/apple.png",
72
72
  width: 32,
73
73
  height: 32,
74
74
  particles: {
@@ -78,7 +78,7 @@
78
78
  },
79
79
  },
80
80
  {
81
- src: "https://particles.js.org/images/fruits/avocado.png",
81
+ src: "https://particles.js.org/images/hdr/fruits/avocado.png",
82
82
  width: 32,
83
83
  height: 32,
84
84
  particles: {
package/umd/index.js CHANGED
@@ -68,7 +68,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
68
68
  ...index_js_26.default,
69
69
  };
70
70
  for (const key of Object.keys(configs)) {
71
- engine_1.tsParticles.addConfig(configs[key]);
71
+ const config = configs[key];
72
+ if (!config) {
73
+ continue;
74
+ }
75
+ engine_1.tsParticles.addConfig(config);
72
76
  }
73
77
  exports.default = configs;
74
78
  });
@@ -126,7 +126,7 @@
126
126
  },
127
127
  scale: 1,
128
128
  type: "inline",
129
- url: "https://particles.js.org/images/google.svg",
129
+ url: "https://particles.js.org/images/hdr/google.svg",
130
130
  },
131
131
  background: {
132
132
  color: "#000000",
@@ -53,7 +53,7 @@
53
53
  path: {
54
54
  enable: true,
55
55
  options: {
56
- size: 32,
56
+ size: 64,
57
57
  draw: false,
58
58
  increment: 0.004,
59
59
  },
@@ -79,7 +79,7 @@
79
79
  options: {
80
80
  image: {
81
81
  height: 128,
82
- src: "https://particles.js.org/images/plane_alt.png",
82
+ src: "https://particles.js.org/images/hdr/plane_alt.png",
83
83
  width: 128,
84
84
  },
85
85
  },
@@ -79,7 +79,7 @@
79
79
  options: {
80
80
  image: {
81
81
  height: 128,
82
- src: "https://particles.js.org/images/plane_alt.png",
82
+ src: "https://particles.js.org/images/hdr/plane_alt.png",
83
83
  width: 128,
84
84
  },
85
85
  },
@@ -79,7 +79,7 @@
79
79
  options: {
80
80
  image: {
81
81
  height: 128,
82
- src: "https://particles.js.org/images/plane_alt.png",
82
+ src: "https://particles.js.org/images/hdr/plane_alt.png",
83
83
  width: 128,
84
84
  },
85
85
  },
package/umd/p/pathSvg.js CHANGED
@@ -35,13 +35,6 @@
35
35
  },
36
36
  generator: "svgPathGenerator",
37
37
  },
38
- trail: {
39
- enable: true,
40
- length: 10,
41
- fill: {
42
- color: "#000000",
43
- },
44
- },
45
38
  },
46
39
  number: {
47
40
  value: 80,
@@ -59,6 +52,13 @@
59
52
  background: {
60
53
  color: "#000000",
61
54
  },
55
+ trail: {
56
+ enable: true,
57
+ length: 10,
58
+ fill: {
59
+ color: "#000000",
60
+ },
61
+ },
62
62
  };
63
63
  exports.default = options;
64
64
  });
@@ -28,13 +28,6 @@
28
28
  },
29
29
  generator: "zigZagPathGenerator",
30
30
  },
31
- trail: {
32
- enable: true,
33
- length: 20,
34
- fill: {
35
- color: "#000000",
36
- },
37
- },
38
31
  },
39
32
  number: {
40
33
  value: 80,
@@ -52,6 +45,13 @@
52
45
  background: {
53
46
  color: "#000000",
54
47
  },
48
+ trail: {
49
+ enable: true,
50
+ length: 20,
51
+ fill: {
52
+ color: "#000000",
53
+ },
54
+ },
55
55
  };
56
56
  exports.default = options;
57
57
  });
package/umd/p/planes.js CHANGED
@@ -50,7 +50,7 @@
50
50
  options: {
51
51
  image: {
52
52
  height: 128,
53
- src: "https://particles.js.org/images/plane_alt.png",
53
+ src: "https://particles.js.org/images/hdr/plane_alt.png",
54
54
  width: 128,
55
55
  },
56
56
  },
@@ -126,7 +126,7 @@
126
126
  },
127
127
  scale: 0.5,
128
128
  type: "inline",
129
- url: "https://particles.js.org/images/smalldeer.svg",
129
+ url: "https://particles.js.org/images/hdr/smalldeer.svg",
130
130
  },
131
131
  background: {
132
132
  color: "#000000",