@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
package/cjs/i/images.js CHANGED
@@ -1,5 +1,3 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
1
  const options = {
4
2
  key: "images",
5
3
  name: "Images",
@@ -119,101 +117,101 @@ const options = {
119
117
  },
120
118
  preload: [
121
119
  {
122
- src: "https://particles.js.org/images/fruits/apple.png",
120
+ src: "https://particles.js.org/images/hdr/fruits/apple.png",
123
121
  name: "apple",
124
122
  width: 32,
125
123
  height: 32,
126
124
  },
127
125
  {
128
- src: "https://particles.js.org/images/fruits/avocado.png",
126
+ src: "https://particles.js.org/images/hdr/fruits/avocado.png",
129
127
  name: "avocado",
130
128
  width: 32,
131
129
  height: 32,
132
130
  },
133
131
  {
134
- src: "https://particles.js.org/images/fruits/banana.png",
132
+ src: "https://particles.js.org/images/hdr/fruits/banana.png",
135
133
  name: "banana",
136
134
  width: 32,
137
135
  height: 32,
138
136
  },
139
137
  {
140
- src: "https://particles.js.org/images/fruits/berries.png",
138
+ src: "https://particles.js.org/images/hdr/fruits/berries.png",
141
139
  name: "berries",
142
140
  width: 32,
143
141
  height: 32,
144
142
  },
145
143
  {
146
- src: "https://particles.js.org/images/fruits/cherry.png",
144
+ src: "https://particles.js.org/images/hdr/fruits/cherry.png",
147
145
  name: "cherry",
148
146
  width: 32,
149
147
  height: 32,
150
148
  },
151
149
  {
152
- src: "https://particles.js.org/images/fruits/grapes.png",
150
+ src: "https://particles.js.org/images/hdr/fruits/grapes.png",
153
151
  name: "grapes",
154
152
  width: 32,
155
153
  height: 32,
156
154
  },
157
155
  {
158
- src: "https://particles.js.org/images/fruits/lemon.png",
156
+ src: "https://particles.js.org/images/hdr/fruits/lemon.png",
159
157
  name: "lemon",
160
158
  width: 32,
161
159
  height: 32,
162
160
  },
163
161
  {
164
- src: "https://particles.js.org/images/fruits/orange.png",
162
+ src: "https://particles.js.org/images/hdr/fruits/orange.png",
165
163
  name: "orange",
166
164
  width: 32,
167
165
  height: 32,
168
166
  },
169
167
  {
170
- src: "https://particles.js.org/images/fruits/peach.png",
168
+ src: "https://particles.js.org/images/hdr/fruits/peach.png",
171
169
  name: "peach",
172
170
  width: 32,
173
171
  height: 32,
174
172
  },
175
173
  {
176
- src: "https://particles.js.org/images/fruits/pear.png",
174
+ src: "https://particles.js.org/images/hdr/fruits/pear.png",
177
175
  name: "pear",
178
176
  width: 32,
179
177
  height: 32,
180
178
  },
181
179
  {
182
- src: "https://particles.js.org/images/fruits/pepper.png",
180
+ src: "https://particles.js.org/images/hdr/fruits/pepper.png",
183
181
  name: "pepper",
184
182
  width: 32,
185
183
  height: 32,
186
184
  },
187
185
  {
188
- src: "https://particles.js.org/images/fruits/plum.png",
186
+ src: "https://particles.js.org/images/hdr/fruits/plum.png",
189
187
  name: "plum",
190
188
  width: 32,
191
189
  height: 32,
192
190
  },
193
191
  {
194
- src: "https://particles.js.org/images/fruits/star.png",
192
+ src: "https://particles.js.org/images/hdr/fruits/star.png",
195
193
  name: "star",
196
194
  width: 32,
197
195
  height: 32,
198
196
  },
199
197
  {
200
- src: "https://particles.js.org/images/fruits/strawberry.png",
198
+ src: "https://particles.js.org/images/hdr/fruits/strawberry.png",
201
199
  name: "strawberry",
202
200
  width: 32,
203
201
  height: 32,
204
202
  },
205
203
  {
206
- src: "https://particles.js.org/images/fruits/watermelon.png",
204
+ src: "https://particles.js.org/images/hdr/fruits/watermelon.png",
207
205
  name: "watermelon",
208
206
  width: 32,
209
207
  height: 32,
210
208
  },
211
209
  {
212
- src: "https://particles.js.org/images/fruits/watermelon_slice.png",
210
+ src: "https://particles.js.org/images/hdr/fruits/watermelon_slice.png",
213
211
  name: "watermelon_slice",
214
212
  width: 32,
215
213
  height: 32,
216
214
  },
217
215
  ],
218
216
  };
219
- exports.default = options;
217
+ export default options;
@@ -1,6 +1,4 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const engine_1 = require("@tsparticles/engine");
1
+ import { MoveDirection } from "@tsparticles/engine";
4
2
  const options = {
5
3
  key: "imagesDirections",
6
4
  name: "Images with Custom Directions",
@@ -59,22 +57,22 @@ const options = {
59
57
  options: {
60
58
  image: [
61
59
  {
62
- src: "https://particles.js.org/images/fruits/apple.png",
60
+ src: "https://particles.js.org/images/hdr/fruits/apple.png",
63
61
  width: 32,
64
62
  height: 32,
65
63
  particles: {
66
64
  move: {
67
- direction: engine_1.MoveDirection.top,
65
+ direction: MoveDirection.top,
68
66
  },
69
67
  },
70
68
  },
71
69
  {
72
- src: "https://particles.js.org/images/fruits/avocado.png",
70
+ src: "https://particles.js.org/images/hdr/fruits/avocado.png",
73
71
  width: 32,
74
72
  height: 32,
75
73
  particles: {
76
74
  move: {
77
- direction: engine_1.MoveDirection.bottom,
75
+ direction: MoveDirection.bottom,
78
76
  },
79
77
  },
80
78
  },
@@ -109,4 +107,4 @@ const options = {
109
107
  size: "cover",
110
108
  },
111
109
  };
112
- exports.default = options;
110
+ export default options;
package/cjs/i/index.js CHANGED
@@ -1,15 +1,10 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- const imageMask_js_1 = __importDefault(require("./imageMask.js"));
7
- const images_js_1 = __importDefault(require("./images.js"));
8
- const imagesDirections_js_1 = __importDefault(require("./imagesDirections.js"));
9
- const infection_js_1 = __importDefault(require("./infection.js"));
10
- exports.default = {
11
- imageMask: imageMask_js_1.default,
12
- images: images_js_1.default,
13
- imagesDirections: imagesDirections_js_1.default,
14
- infection: infection_js_1.default,
1
+ import imageMask from "./imageMask.js";
2
+ import images from "./images.js";
3
+ import imagesDirections from "./imagesDirections.js";
4
+ import infection from "./infection.js";
5
+ export default {
6
+ imageMask,
7
+ images,
8
+ imagesDirections,
9
+ infection,
15
10
  };
@@ -1,5 +1,3 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
1
  const options = {
4
2
  key: "infection",
5
3
  name: "Infection",
@@ -77,4 +75,4 @@ const options = {
77
75
  color: "#000000",
78
76
  },
79
77
  };
80
- exports.default = options;
78
+ export default options;
package/cjs/index.js CHANGED
@@ -1,64 +1,63 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- const engine_1 = require("@tsparticles/engine");
7
- const index_js_1 = __importDefault(require("./a/index.js"));
8
- const index_js_2 = __importDefault(require("./b/index.js"));
9
- const index_js_3 = __importDefault(require("./c/index.js"));
10
- const index_js_4 = __importDefault(require("./d/index.js"));
11
- const index_js_5 = __importDefault(require("./e/index.js"));
12
- const index_js_6 = __importDefault(require("./f/index.js"));
13
- const index_js_7 = __importDefault(require("./g/index.js"));
14
- const index_js_8 = __importDefault(require("./h/index.js"));
15
- const index_js_9 = __importDefault(require("./i/index.js"));
16
- const index_js_10 = __importDefault(require("./j/index.js"));
17
- const index_js_11 = __importDefault(require("./k/index.js"));
18
- const index_js_12 = __importDefault(require("./l/index.js"));
19
- const index_js_13 = __importDefault(require("./m/index.js"));
20
- const index_js_14 = __importDefault(require("./n/index.js"));
21
- const index_js_15 = __importDefault(require("./o/index.js"));
22
- const index_js_16 = __importDefault(require("./p/index.js"));
23
- const index_js_17 = __importDefault(require("./q/index.js"));
24
- const index_js_18 = __importDefault(require("./r/index.js"));
25
- const index_js_19 = __importDefault(require("./s/index.js"));
26
- const index_js_20 = __importDefault(require("./t/index.js"));
27
- const index_js_21 = __importDefault(require("./u/index.js"));
28
- const index_js_22 = __importDefault(require("./v/index.js"));
29
- const index_js_23 = __importDefault(require("./w/index.js"));
30
- const index_js_24 = __importDefault(require("./x/index.js"));
31
- const index_js_25 = __importDefault(require("./y/index.js"));
32
- const index_js_26 = __importDefault(require("./z/index.js"));
1
+ import { tsParticles } from "@tsparticles/engine";
2
+ import a from "./a/index.js";
3
+ import b from "./b/index.js";
4
+ import c from "./c/index.js";
5
+ import d from "./d/index.js";
6
+ import e from "./e/index.js";
7
+ import f from "./f/index.js";
8
+ import g from "./g/index.js";
9
+ import h from "./h/index.js";
10
+ import i from "./i/index.js";
11
+ import j from "./j/index.js";
12
+ import k from "./k/index.js";
13
+ import l from "./l/index.js";
14
+ import m from "./m/index.js";
15
+ import n from "./n/index.js";
16
+ import o from "./o/index.js";
17
+ import p from "./p/index.js";
18
+ import q from "./q/index.js";
19
+ import r from "./r/index.js";
20
+ import s from "./s/index.js";
21
+ import t from "./t/index.js";
22
+ import u from "./u/index.js";
23
+ import v from "./v/index.js";
24
+ import w from "./w/index.js";
25
+ import x from "./x/index.js";
26
+ import y from "./y/index.js";
27
+ import z from "./z/index.js";
33
28
  const configs = {
34
- ...index_js_1.default,
35
- ...index_js_2.default,
36
- ...index_js_3.default,
37
- ...index_js_4.default,
38
- ...index_js_5.default,
39
- ...index_js_6.default,
40
- ...index_js_7.default,
41
- ...index_js_8.default,
42
- ...index_js_9.default,
43
- ...index_js_10.default,
44
- ...index_js_11.default,
45
- ...index_js_12.default,
46
- ...index_js_13.default,
47
- ...index_js_14.default,
48
- ...index_js_15.default,
49
- ...index_js_16.default,
50
- ...index_js_17.default,
51
- ...index_js_18.default,
52
- ...index_js_19.default,
53
- ...index_js_20.default,
54
- ...index_js_21.default,
55
- ...index_js_22.default,
56
- ...index_js_23.default,
57
- ...index_js_24.default,
58
- ...index_js_25.default,
59
- ...index_js_26.default,
29
+ ...a,
30
+ ...b,
31
+ ...c,
32
+ ...d,
33
+ ...e,
34
+ ...f,
35
+ ...g,
36
+ ...h,
37
+ ...i,
38
+ ...j,
39
+ ...k,
40
+ ...l,
41
+ ...m,
42
+ ...n,
43
+ ...o,
44
+ ...p,
45
+ ...q,
46
+ ...r,
47
+ ...s,
48
+ ...t,
49
+ ...u,
50
+ ...v,
51
+ ...w,
52
+ ...x,
53
+ ...y,
54
+ ...z,
60
55
  };
61
56
  for (const key of Object.keys(configs)) {
62
- engine_1.tsParticles.addConfig(configs[key]);
57
+ const config = configs[key];
58
+ if (!config) {
59
+ continue;
60
+ }
61
+ tsParticles.addConfig(config);
63
62
  }
64
- exports.default = configs;
63
+ export default configs;
package/cjs/j/index.js CHANGED
@@ -1,3 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.default = {};
1
+ export default {};
package/cjs/k/index.js CHANGED
@@ -1,3 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.default = {};
1
+ export default {};
package/cjs/l/index.js CHANGED
@@ -1,17 +1,12 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- const lch_js_1 = __importDefault(require("./lch.js"));
7
- const life_js_1 = __importDefault(require("./life.js"));
8
- const lightHover_js_1 = __importDefault(require("./lightHover.js"));
9
- const linkTriangles_js_1 = __importDefault(require("./linkTriangles.js"));
10
- const localPolygonMask_js_1 = __importDefault(require("./localPolygonMask.js"));
11
- exports.default = {
12
- lch: lch_js_1.default,
13
- life: life_js_1.default,
14
- lightHover: lightHover_js_1.default,
15
- linkTriangles: linkTriangles_js_1.default,
16
- localPolygonMask: localPolygonMask_js_1.default,
1
+ import lch from "./lch.js";
2
+ import life from "./life.js";
3
+ import lightHover from "./lightHover.js";
4
+ import linkTriangles from "./linkTriangles.js";
5
+ import localPolygonMask from "./localPolygonMask.js";
6
+ export default {
7
+ lch,
8
+ life,
9
+ lightHover,
10
+ linkTriangles,
11
+ localPolygonMask,
17
12
  };
package/cjs/l/lch.js CHANGED
@@ -1,5 +1,3 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
1
  const options = {
4
2
  key: "lch",
5
3
  name: "LCH",
@@ -66,4 +64,4 @@ const options = {
66
64
  color: "#000000",
67
65
  },
68
66
  };
69
- exports.default = options;
67
+ export default options;
package/cjs/l/life.js CHANGED
@@ -1,5 +1,3 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
1
  const options = {
4
2
  key: "life",
5
3
  name: "Life",
@@ -79,4 +77,4 @@ const options = {
79
77
  color: "#000000",
80
78
  },
81
79
  };
82
- exports.default = options;
80
+ export default options;
@@ -1,5 +1,3 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
1
  const options = {
4
2
  key: "lightHover",
5
3
  name: "Light Hover",
@@ -69,4 +67,4 @@ const options = {
69
67
  color: "#17163e",
70
68
  },
71
69
  };
72
- exports.default = options;
70
+ export default options;
@@ -1,5 +1,3 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
1
  const options = {
4
2
  key: "linkTriangles",
5
3
  name: "Link Triangles",
@@ -86,4 +84,4 @@ const options = {
86
84
  color: "#000000",
87
85
  },
88
86
  };
89
- exports.default = options;
87
+ export default options;
@@ -1,5 +1,3 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
1
  const options = {
4
2
  key: "localPolygonMask",
5
3
  name: "Local Polygon Mask",
@@ -85,4 +83,4 @@ const options = {
85
83
  size: "cover",
86
84
  },
87
85
  };
88
- exports.default = options;
86
+ export default options;
package/cjs/m/index.js CHANGED
@@ -1,39 +1,34 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- const manual_js_1 = __importDefault(require("./manual.js"));
7
- const motionDisable_js_1 = __importDefault(require("./motionDisable.js"));
8
- const motionReduce_js_1 = __importDefault(require("./motionReduce.js"));
9
- const mouseAttract_js_1 = __importDefault(require("./mouseAttract.js"));
10
- const mouseBounce_js_1 = __importDefault(require("./mouseBounce.js"));
11
- const mouseFollow_js_1 = __importDefault(require("./mouseFollow.js"));
12
- const mouseParticle_js_1 = __importDefault(require("./mouseParticle.js"));
13
- const mouseParticle2_js_1 = __importDefault(require("./mouseParticle2.js"));
14
- const mouseTrail_js_1 = __importDefault(require("./mouseTrail.js"));
15
- const mouseTrailNoise_js_1 = __importDefault(require("./mouseTrailNoise.js"));
16
- const moveAngle_js_1 = __importDefault(require("./moveAngle.js"));
17
- const moveDistance_js_1 = __importDefault(require("./moveDistance.js"));
18
- const moveInside_js_1 = __importDefault(require("./moveInside.js"));
19
- const moveOutside_js_1 = __importDefault(require("./moveOutside.js"));
20
- const multipleClickEmitters_js_1 = __importDefault(require("./multipleClickEmitters.js"));
21
- const multiplePolygonMasks_js_1 = __importDefault(require("./multiplePolygonMasks.js"));
22
- exports.default = {
23
- manual: manual_js_1.default,
24
- motionDisable: motionDisable_js_1.default,
25
- motionReduce: motionReduce_js_1.default,
26
- mouseAttract: mouseAttract_js_1.default,
27
- mouseBounce: mouseBounce_js_1.default,
28
- mouseFollow: mouseFollow_js_1.default,
29
- mouseParticle: mouseParticle_js_1.default,
30
- mouseParticle2: mouseParticle2_js_1.default,
31
- mouseTrail: mouseTrail_js_1.default,
32
- mouseTrailNoise: mouseTrailNoise_js_1.default,
33
- moveAngle: moveAngle_js_1.default,
34
- moveDistance: moveDistance_js_1.default,
35
- moveInside: moveInside_js_1.default,
36
- moveOutside: moveOutside_js_1.default,
37
- multipleClickEmitters: multipleClickEmitters_js_1.default,
38
- multiplePolygonMasks: multiplePolygonMasks_js_1.default,
1
+ import manual from "./manual.js";
2
+ import motionDisable from "./motionDisable.js";
3
+ import motionReduce from "./motionReduce.js";
4
+ import mouseAttract from "./mouseAttract.js";
5
+ import mouseBounce from "./mouseBounce.js";
6
+ import mouseFollow from "./mouseFollow.js";
7
+ import mouseParticle from "./mouseParticle.js";
8
+ import mouseParticle2 from "./mouseParticle2.js";
9
+ import mouseTrail from "./mouseTrail.js";
10
+ import mouseTrailNoise from "./mouseTrailNoise.js";
11
+ import moveAngle from "./moveAngle.js";
12
+ import moveDistance from "./moveDistance.js";
13
+ import moveInside from "./moveInside.js";
14
+ import moveOutside from "./moveOutside.js";
15
+ import multipleClickEmitters from "./multipleClickEmitters.js";
16
+ import multiplePolygonMasks from "./multiplePolygonMasks.js";
17
+ export default {
18
+ manual,
19
+ motionDisable,
20
+ motionReduce,
21
+ mouseAttract,
22
+ mouseBounce,
23
+ mouseFollow,
24
+ mouseParticle,
25
+ mouseParticle2,
26
+ mouseTrail,
27
+ mouseTrailNoise,
28
+ moveAngle,
29
+ moveDistance,
30
+ moveInside,
31
+ moveOutside,
32
+ multipleClickEmitters,
33
+ multiplePolygonMasks,
39
34
  };
package/cjs/m/manual.js CHANGED
@@ -1,5 +1,3 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
1
  const options = {
4
2
  key: "manual",
5
3
  name: "Manual Particles",
@@ -82,4 +80,4 @@ const options = {
82
80
  size: "cover",
83
81
  },
84
82
  };
85
- exports.default = options;
83
+ export default options;
@@ -1,5 +1,3 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
1
  const options = {
4
2
  key: "motionDisable",
5
3
  name: "Motion Disable",
@@ -70,4 +68,4 @@ const options = {
70
68
  color: "#000000",
71
69
  },
72
70
  };
73
- exports.default = options;
71
+ export default options;
@@ -1,5 +1,3 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
1
  const options = {
4
2
  key: "motionReduce",
5
3
  name: "Motion Reduce",
@@ -88,4 +86,4 @@ const options = {
88
86
  color: "#000000",
89
87
  },
90
88
  };
91
- exports.default = options;
89
+ export default options;
@@ -1,5 +1,3 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
1
  const options = {
4
2
  key: "mouseAttract",
5
3
  name: "Mouse Attract",
@@ -86,4 +84,4 @@ const options = {
86
84
  color: "#000000",
87
85
  },
88
86
  };
89
- exports.default = options;
87
+ export default options;
@@ -1,5 +1,3 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
1
  const options = {
4
2
  key: "mouseBounce",
5
3
  name: "Mouse Bounce",
@@ -81,4 +79,4 @@ const options = {
81
79
  color: "#000000",
82
80
  },
83
81
  };
84
- exports.default = options;
82
+ export default options;
@@ -1,5 +1,3 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
1
  const options = {
4
2
  key: "mouseFollow",
5
3
  name: "Mouse Follow",
@@ -62,4 +60,4 @@ const options = {
62
60
  },
63
61
  detectRetina: true,
64
62
  };
65
- exports.default = options;
63
+ export default options;
@@ -1,5 +1,3 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
1
  const options = {
4
2
  key: "mouseParticle",
5
3
  name: "Mouse Particle",
@@ -49,4 +47,4 @@ const options = {
49
47
  },
50
48
  },
51
49
  };
52
- exports.default = options;
50
+ export default options;
@@ -1,5 +1,3 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
1
  const options = {
4
2
  key: "mouseParticle2",
5
3
  name: "Mouse Particle 2",
@@ -60,4 +58,4 @@ const options = {
60
58
  },
61
59
  },
62
60
  };
63
- exports.default = options;
61
+ export default options;
@@ -1,5 +1,3 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
1
  const options = {
4
2
  key: "mouseTrail",
5
3
  name: "Mouse Trail",
@@ -118,4 +116,4 @@ const options = {
118
116
  color: "#000000",
119
117
  },
120
118
  };
121
- exports.default = options;
119
+ export default options;
@@ -1,5 +1,3 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
1
  const options = {
4
2
  key: "mouseTrailNoise",
5
3
  name: "Mouse Trail Noise",
@@ -117,4 +115,4 @@ const options = {
117
115
  color: "#000000",
118
116
  },
119
117
  };
120
- exports.default = options;
118
+ export default options;