@tsparticles/configs 4.0.0-beta.0 → 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 (244) hide show
  1. package/browser/b/basic.js +1 -1
  2. package/browser/b/blackHole.js +1 -8
  3. package/browser/index.js +2 -2
  4. package/browser/m/index.js +2 -0
  5. package/browser/m/mouseCannon.js +100 -0
  6. package/browser/p/pathBrownian.js +1 -0
  7. package/browser/s/shapeEmojiPadding.js +1 -0
  8. package/cjs/b/basic.js +1 -1
  9. package/cjs/b/blackHole.js +1 -8
  10. package/cjs/index.js +2 -2
  11. package/cjs/m/index.js +2 -0
  12. package/cjs/m/mouseCannon.js +100 -0
  13. package/cjs/p/pathBrownian.js +1 -0
  14. package/cjs/s/shapeEmojiPadding.js +1 -0
  15. package/esm/b/basic.js +1 -1
  16. package/esm/b/blackHole.js +1 -8
  17. package/esm/index.js +2 -2
  18. package/esm/m/index.js +2 -0
  19. package/esm/m/mouseCannon.js +100 -0
  20. package/esm/p/pathBrownian.js +1 -0
  21. package/esm/s/shapeEmojiPadding.js +1 -0
  22. package/package.json +4 -5
  23. package/report.html +84 -29
  24. package/tsparticles.configs.bundle.js +1 -1
  25. package/tsparticles.configs.js +17 -7
  26. package/tsparticles.configs.min.js +3 -3
  27. package/types/index.d.ts +1 -0
  28. package/types/m/index.d.ts +1 -0
  29. package/types/m/mouseCannon.d.ts +3 -0
  30. package/umd/a/absorbers.js +0 -83
  31. package/umd/a/amongUs.js +0 -143
  32. package/umd/a/index.js +0 -21
  33. package/umd/b/backgroundMask.js +0 -97
  34. package/umd/b/backgroundMaskImage.js +0 -85
  35. package/umd/b/basic.js +0 -82
  36. package/umd/b/big.js +0 -96
  37. package/umd/b/bigBlend.js +0 -97
  38. package/umd/b/bigBlendCombo.js +0 -101
  39. package/umd/b/bigBlendParticle.js +0 -97
  40. package/umd/b/blackHole.js +0 -88
  41. package/umd/b/bubble.js +0 -102
  42. package/umd/b/index.js +0 -35
  43. package/umd/bundle.js +0 -27
  44. package/umd/c/cardSuits.js +0 -104
  45. package/umd/c/cards.js +0 -75
  46. package/umd/c/cardsRolling.js +0 -103
  47. package/umd/c/chars.js +0 -106
  48. package/umd/c/clickConfetti.js +0 -182
  49. package/umd/c/clickPause.js +0 -92
  50. package/umd/c/collisionsAbsorb.js +0 -94
  51. package/umd/c/collisionsBounce.js +0 -91
  52. package/umd/c/collisionsDestroy.js +0 -95
  53. package/umd/c/colorAnimation.js +0 -87
  54. package/umd/c/connect.js +0 -126
  55. package/umd/c/curlNoise.js +0 -65
  56. package/umd/c/index.js +0 -39
  57. package/umd/d/dataImages.js +0 -125
  58. package/umd/d/delay.js +0 -83
  59. package/umd/d/delayColor.js +0 -55
  60. package/umd/d/delayOpacity.js +0 -53
  61. package/umd/d/delaySize.js +0 -53
  62. package/umd/d/delayStrokeColor.js +0 -57
  63. package/umd/d/destroy.js +0 -93
  64. package/umd/d/disappearing.js +0 -101
  65. package/umd/d/divEvents.js +0 -125
  66. package/umd/d/index.js +0 -35
  67. package/umd/e/effectBubble.js +0 -93
  68. package/umd/e/effectParticles.js +0 -108
  69. package/umd/e/effectTrail.js +0 -70
  70. package/umd/e/effectTrailTransform.js +0 -72
  71. package/umd/e/emitter.js +0 -280
  72. package/umd/e/emitterAbsorber.js +0 -155
  73. package/umd/e/emitterAngled.js +0 -72
  74. package/umd/e/emitterImageShape.js +0 -111
  75. package/umd/e/emitterImages.js +0 -145
  76. package/umd/e/emitterPaths.js +0 -104
  77. package/umd/e/emitterShapes.js +0 -95
  78. package/umd/e/emitterSpawnColor.js +0 -221
  79. package/umd/e/emitterTextShape.js +0 -114
  80. package/umd/e/emitterTextStrokeShape.js +0 -114
  81. package/umd/e/index.js +0 -45
  82. package/umd/f/fallingConfetti.js +0 -152
  83. package/umd/f/fireworks.js +0 -235
  84. package/umd/f/fireworks2.js +0 -240
  85. package/umd/f/fireworksMask.js +0 -212
  86. package/umd/f/fontawesome.js +0 -111
  87. package/umd/f/forward.js +0 -101
  88. package/umd/f/index.js +0 -29
  89. package/umd/g/gifs.js +0 -63
  90. package/umd/g/grabRandomColor.js +0 -98
  91. package/umd/g/gradients.js +0 -188
  92. package/umd/g/gravity.js +0 -133
  93. package/umd/g/groups.js +0 -81
  94. package/umd/g/growing.js +0 -84
  95. package/umd/g/index.js +0 -29
  96. package/umd/h/hexagonPath.js +0 -88
  97. package/umd/h/hollowknight.js +0 -131
  98. package/umd/h/hyperspace.js +0 -80
  99. package/umd/h/index.js +0 -23
  100. package/umd/i/imageMask.js +0 -73
  101. package/umd/i/images.js +0 -226
  102. package/umd/i/imagesDirections.js +0 -122
  103. package/umd/i/index.js +0 -25
  104. package/umd/i/infection.js +0 -93
  105. package/umd/index.js +0 -86
  106. package/umd/j/index.js +0 -13
  107. package/umd/k/index.js +0 -13
  108. package/umd/l/index.js +0 -27
  109. package/umd/l/lch.js +0 -82
  110. package/umd/l/life.js +0 -95
  111. package/umd/l/lightHover.js +0 -85
  112. package/umd/l/linkTriangles.js +0 -102
  113. package/umd/l/localPolygonMask.js +0 -101
  114. package/umd/m/index.js +0 -55
  115. package/umd/m/manual.js +0 -98
  116. package/umd/m/matrix.js +0 -87
  117. package/umd/m/motionDisable.js +0 -86
  118. package/umd/m/motionReduce.js +0 -104
  119. package/umd/m/mouseAttract.js +0 -102
  120. package/umd/m/mouseBounce.js +0 -97
  121. package/umd/m/mouseDrag.js +0 -60
  122. package/umd/m/mouseDragMomentum.js +0 -65
  123. package/umd/m/mouseFollow.js +0 -78
  124. package/umd/m/mouseParticle.js +0 -65
  125. package/umd/m/mouseParticle2.js +0 -76
  126. package/umd/m/mouseTrail.js +0 -137
  127. package/umd/m/mouseTrailNoise.js +0 -151
  128. package/umd/m/moveAngle.js +0 -98
  129. package/umd/m/moveDistance.js +0 -98
  130. package/umd/m/moveInside.js +0 -57
  131. package/umd/m/moveOutside.js +0 -57
  132. package/umd/m/multipleClickEmitters.js +0 -120
  133. package/umd/m/multiplePolygonMasks.js +0 -138
  134. package/umd/n/index.js +0 -35
  135. package/umd/n/namedColors.js +0 -70
  136. package/umd/n/nasa.js +0 -100
  137. package/umd/n/noClear.js +0 -114
  138. package/umd/n/noConfig.js +0 -17
  139. package/umd/n/noisePlanesFractal.js +0 -103
  140. package/umd/n/noisePlanesPerlin.js +0 -103
  141. package/umd/n/noisePlanesSimplex.js +0 -103
  142. package/umd/n/nyancat.js +0 -74
  143. package/umd/n/nyancat2.js +0 -75
  144. package/umd/o/index.js +0 -21
  145. package/umd/o/oklch.js +0 -82
  146. package/umd/o/orbit.js +0 -66
  147. package/umd/p/index.js +0 -59
  148. package/umd/p/palettes.js +0 -37
  149. package/umd/p/parallax.js +0 -98
  150. package/umd/p/pathBranches.js +0 -104
  151. package/umd/p/pathBranchesInertia.js +0 -108
  152. package/umd/p/pathBrownian.js +0 -101
  153. package/umd/p/pathGrid.js +0 -100
  154. package/umd/p/pathLevy.js +0 -102
  155. package/umd/p/pathMaze.js +0 -101
  156. package/umd/p/pathPolygonMask.js +0 -110
  157. package/umd/p/pathSpiral.js +0 -102
  158. package/umd/p/pathSvg.js +0 -104
  159. package/umd/p/pathZigZag.js +0 -97
  160. package/umd/p/planes.js +0 -66
  161. package/umd/p/plasma.js +0 -72
  162. package/umd/p/poisson.js +0 -54
  163. package/umd/p/polygonMask.js +0 -138
  164. package/umd/p/polygons.js +0 -153
  165. package/umd/p/pop.js +0 -84
  166. package/umd/palettes.js +0 -1273
  167. package/umd/q/index.js +0 -13
  168. package/umd/r/index.js +0 -67
  169. package/umd/r/random.js +0 -107
  170. package/umd/r/randomShapes.js +0 -440
  171. package/umd/r/reactBubbles.js +0 -114
  172. package/umd/r/reactDefaults.js +0 -63
  173. package/umd/r/reactMultipleImages.js +0 -102
  174. package/umd/r/reactNightSky.js +0 -89
  175. package/umd/r/reactPolygonMask.js +0 -106
  176. package/umd/r/reactSimple.js +0 -100
  177. package/umd/r/reactSnow.js +0 -118
  178. package/umd/r/reduceDuplicates.js +0 -143
  179. package/umd/r/repulse.js +0 -123
  180. package/umd/r/repulseBack.js +0 -66
  181. package/umd/r/repulseBounce.js +0 -66
  182. package/umd/r/repulseCirc.js +0 -66
  183. package/umd/r/repulseCubic.js +0 -66
  184. package/umd/r/repulseElastic.js +0 -66
  185. package/umd/r/repulseExpo.js +0 -66
  186. package/umd/r/repulseGaussian.js +0 -66
  187. package/umd/r/repulseQuart.js +0 -66
  188. package/umd/r/repulseQuint.js +0 -66
  189. package/umd/r/repulseSigmoid.js +0 -66
  190. package/umd/r/repulseSine.js +0 -66
  191. package/umd/r/repulseSmoothstep.js +0 -66
  192. package/umd/r/responsive.js +0 -126
  193. package/umd/r/ring.js +0 -85
  194. package/umd/s/index.js +0 -73
  195. package/umd/s/seaAnemone.js +0 -99
  196. package/umd/s/shadow.js +0 -110
  197. package/umd/s/shapeArrow.js +0 -70
  198. package/umd/s/shapeCog.js +0 -108
  199. package/umd/s/shapeEmoji.js +0 -197
  200. package/umd/s/shapeEmojiPadding.js +0 -127
  201. package/umd/s/shapeHeart.js +0 -97
  202. package/umd/s/shapeInfinity.js +0 -100
  203. package/umd/s/shapeMultilineText.js +0 -63
  204. package/umd/s/shapeOptions.js +0 -74
  205. package/umd/s/shapePath.js +0 -182
  206. package/umd/s/shapeRoundedPolygon.js +0 -110
  207. package/umd/s/shapeRoundedRect.js +0 -107
  208. package/umd/s/shapeSpiral.js +0 -114
  209. package/umd/s/shapeSquircle.js +0 -104
  210. package/umd/s/slow.js +0 -96
  211. package/umd/s/snow.js +0 -62
  212. package/umd/s/soundsAudio.js +0 -81
  213. package/umd/s/soundsLoop.js +0 -81
  214. package/umd/s/soundsMelodies.js +0 -104
  215. package/umd/s/soundsMelodyLoop.js +0 -356
  216. package/umd/s/soundsNotes.js +0 -96
  217. package/umd/s/speedDecay.js +0 -151
  218. package/umd/s/spin.js +0 -67
  219. package/umd/s/star.js +0 -108
  220. package/umd/s/strokeAnimation.js +0 -108
  221. package/umd/s/style.js +0 -97
  222. package/umd/s/svgReplace.js +0 -132
  223. package/umd/t/index.js +0 -35
  224. package/umd/t/test.js +0 -132
  225. package/umd/t/textMask.js +0 -85
  226. package/umd/t/textMaskMultiline.js +0 -88
  227. package/umd/t/themes.js +0 -206
  228. package/umd/t/tilt.js +0 -107
  229. package/umd/t/trail.js +0 -113
  230. package/umd/t/trailImage.js +0 -129
  231. package/umd/t/triangles.js +0 -64
  232. package/umd/t/twinkle.js +0 -119
  233. package/umd/u/index.js +0 -13
  234. package/umd/v/index.js +0 -21
  235. package/umd/v/vibrate.js +0 -90
  236. package/umd/v/virus.js +0 -86
  237. package/umd/w/index.js +0 -23
  238. package/umd/w/warp.js +0 -106
  239. package/umd/w/wobble.js +0 -154
  240. package/umd/w/wobbleBig.js +0 -154
  241. package/umd/x/index.js +0 -13
  242. package/umd/y/index.js +0 -13
  243. package/umd/z/index.js +0 -19
  244. package/umd/z/zIndex.js +0 -101
@@ -1,107 +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: "shapeRoundedRect",
14
- name: "Shape Rounded Rect",
15
- particles: {
16
- number: {
17
- value: 80,
18
- density: {
19
- enable: true,
20
- },
21
- },
22
- fill: {
23
- color: {
24
- value: "#ff0000",
25
- animation: {
26
- enable: true,
27
- speed: 20,
28
- sync: true,
29
- },
30
- },
31
- enable: true,
32
- },
33
- rotate: {
34
- value: {
35
- min: 0,
36
- max: 360,
37
- },
38
- direction: "clockwise",
39
- animation: {
40
- enable: true,
41
- speed: 5,
42
- sync: false,
43
- },
44
- },
45
- links: {
46
- enable: true,
47
- },
48
- shape: {
49
- type: "rounded-rect",
50
- options: {
51
- "rounded-rect": {
52
- radius: { min: 5, max: 15 },
53
- },
54
- },
55
- },
56
- opacity: {
57
- value: 0.5,
58
- },
59
- size: {
60
- value: 30,
61
- },
62
- move: {
63
- enable: true,
64
- speed: 6,
65
- },
66
- },
67
- interactivity: {
68
- events: {
69
- onHover: {
70
- enable: true,
71
- mode: "repulse",
72
- },
73
- onClick: {
74
- enable: true,
75
- mode: "push",
76
- },
77
- },
78
- modes: {
79
- grab: {
80
- distance: 400,
81
- links: {
82
- opacity: 1,
83
- },
84
- },
85
- bubble: {
86
- distance: 400,
87
- size: 40,
88
- duration: 2,
89
- opacity: 0.8,
90
- },
91
- repulse: {
92
- distance: 200,
93
- },
94
- push: {
95
- quantity: 4,
96
- },
97
- remove: {
98
- quantity: 2,
99
- },
100
- },
101
- },
102
- background: {
103
- color: "#000000",
104
- },
105
- };
106
- exports.default = options;
107
- });
@@ -1,114 +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: "shapeSpiral",
14
- name: "Shape Spiral",
15
- particles: {
16
- number: {
17
- value: 80,
18
- density: {
19
- enable: true,
20
- },
21
- },
22
- fill: {
23
- enable: false,
24
- },
25
- stroke: {
26
- color: {
27
- value: "#ff0000",
28
- animation: {
29
- enable: true,
30
- speed: 20,
31
- sync: true,
32
- },
33
- },
34
- width: 1,
35
- },
36
- shape: {
37
- type: "spiral",
38
- options: {
39
- spiral: {
40
- innerRadius: 0.5,
41
- lineSpacing: 0.5,
42
- close: false,
43
- },
44
- },
45
- },
46
- opacity: {
47
- value: 0.5,
48
- },
49
- size: {
50
- value: {
51
- min: 5,
52
- max: 10,
53
- },
54
- },
55
- links: {
56
- enable: false,
57
- distance: 100,
58
- color: "#ffffff",
59
- opacity: 0.4,
60
- width: 1,
61
- },
62
- rotate: {
63
- animation: {
64
- enable: true,
65
- speed: 20,
66
- sync: false,
67
- },
68
- },
69
- move: {
70
- enable: true,
71
- speed: 6,
72
- },
73
- },
74
- interactivity: {
75
- events: {
76
- onHover: {
77
- enable: true,
78
- mode: "repulse",
79
- },
80
- onClick: {
81
- enable: true,
82
- mode: "push",
83
- },
84
- },
85
- modes: {
86
- grab: {
87
- distance: 400,
88
- links: {
89
- opacity: 1,
90
- },
91
- },
92
- bubble: {
93
- distance: 400,
94
- size: 40,
95
- duration: 2,
96
- opacity: 0.8,
97
- },
98
- repulse: {
99
- distance: 200,
100
- },
101
- push: {
102
- quantity: 4,
103
- },
104
- remove: {
105
- quantity: 2,
106
- },
107
- },
108
- },
109
- background: {
110
- color: "#000000",
111
- },
112
- };
113
- exports.default = options;
114
- });
@@ -1,104 +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: "shapeSquircle",
14
- name: "Shape Squircle",
15
- particles: {
16
- number: {
17
- value: 80,
18
- density: {
19
- enable: true,
20
- },
21
- },
22
- fill: {
23
- color: {
24
- value: "#ff0000",
25
- animation: {
26
- enable: true,
27
- speed: 20,
28
- sync: true,
29
- },
30
- },
31
- enable: true,
32
- },
33
- shape: {
34
- type: "squircle",
35
- },
36
- opacity: {
37
- value: 1,
38
- },
39
- size: {
40
- value: {
41
- min: 10,
42
- max: 15,
43
- },
44
- },
45
- links: {
46
- enable: false,
47
- distance: 100,
48
- color: "#ffffff",
49
- opacity: 0.4,
50
- width: 1,
51
- },
52
- rotate: {
53
- animation: {
54
- enable: true,
55
- speed: 10,
56
- sync: false,
57
- },
58
- },
59
- move: {
60
- enable: true,
61
- speed: 3,
62
- },
63
- },
64
- interactivity: {
65
- events: {
66
- onHover: {
67
- enable: true,
68
- mode: "repulse",
69
- },
70
- onClick: {
71
- enable: true,
72
- mode: "push",
73
- },
74
- },
75
- modes: {
76
- grab: {
77
- distance: 400,
78
- links: {
79
- opacity: 1,
80
- },
81
- },
82
- bubble: {
83
- distance: 400,
84
- size: 40,
85
- duration: 2,
86
- opacity: 0.8,
87
- },
88
- repulse: {
89
- distance: 200,
90
- },
91
- push: {
92
- quantity: 4,
93
- },
94
- remove: {
95
- quantity: 2,
96
- },
97
- },
98
- },
99
- background: {
100
- color: "#000000",
101
- },
102
- };
103
- exports.default = options;
104
- });
package/umd/s/slow.js DELETED
@@ -1,96 +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: "slow",
14
- name: "Slow",
15
- particles: {
16
- number: {
17
- value: 80,
18
- density: {
19
- enable: true,
20
- },
21
- },
22
- fill: {
23
- color: {
24
- value: "#ffffff",
25
- },
26
- enable: true,
27
- },
28
- shape: {
29
- type: "circle",
30
- },
31
- opacity: {
32
- value: 0.5,
33
- },
34
- size: {
35
- value: {
36
- min: 1,
37
- max: 5,
38
- },
39
- },
40
- links: {
41
- enable: true,
42
- distance: 150,
43
- color: "#ffffff",
44
- opacity: 0.4,
45
- width: 1,
46
- },
47
- move: {
48
- enable: true,
49
- speed: 20,
50
- },
51
- },
52
- interactivity: {
53
- events: {
54
- onHover: {
55
- enable: true,
56
- mode: "slow",
57
- },
58
- onClick: {
59
- enable: true,
60
- mode: "push",
61
- },
62
- },
63
- modes: {
64
- grab: {
65
- distance: 400,
66
- links: {
67
- opacity: 1,
68
- },
69
- },
70
- bubble: {
71
- distance: 400,
72
- size: 40,
73
- duration: 2,
74
- opacity: 0.8,
75
- },
76
- repulse: {
77
- distance: 200,
78
- },
79
- push: {
80
- quantity: 4,
81
- },
82
- remove: {
83
- quantity: 2,
84
- },
85
- slow: {
86
- radius: 100,
87
- factor: 3,
88
- },
89
- },
90
- },
91
- background: {
92
- color: "#0d47a1",
93
- },
94
- };
95
- exports.default = options;
96
- });
package/umd/s/snow.js DELETED
@@ -1,62 +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: "snow",
14
- name: "Snow",
15
- particles: {
16
- number: {
17
- value: 400,
18
- density: {
19
- enable: true,
20
- },
21
- },
22
- fill: {
23
- color: {
24
- value: "#fff",
25
- },
26
- },
27
- shape: {
28
- type: "circle",
29
- },
30
- opacity: {
31
- value: 1,
32
- },
33
- size: {
34
- value: 10,
35
- },
36
- move: {
37
- enable: true,
38
- speed: 2,
39
- direction: "bottom",
40
- straight: true,
41
- },
42
- wobble: {
43
- enable: true,
44
- distance: 10,
45
- speed: 10,
46
- },
47
- zIndex: {
48
- value: {
49
- min: 0,
50
- max: 100,
51
- },
52
- opacityRate: 10,
53
- sizeRate: 10,
54
- velocityRate: 10,
55
- },
56
- },
57
- background: {
58
- color: "#333333",
59
- },
60
- };
61
- exports.default = options;
62
- });
@@ -1,81 +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: "soundsAudio",
14
- name: "Sounds Audio",
15
- particles: {
16
- number: {
17
- value: 0,
18
- },
19
- fill: {
20
- color: {
21
- value: "#ff0000",
22
- animation: {
23
- enable: true,
24
- speed: 120,
25
- sync: true,
26
- },
27
- },
28
- },
29
- shape: {
30
- type: "circle",
31
- },
32
- opacity: {
33
- value: 1,
34
- },
35
- size: {
36
- value: {
37
- min: 3,
38
- max: 6,
39
- },
40
- },
41
- move: {
42
- enable: true,
43
- speed: 6,
44
- direction: "none",
45
- outModes: "destroy",
46
- },
47
- },
48
- background: {
49
- color: "#000000",
50
- },
51
- emitters: {
52
- position: {
53
- x: 50,
54
- y: 50,
55
- },
56
- rate: {
57
- quantity: 1,
58
- delay: 0.3,
59
- },
60
- size: {
61
- width: 0,
62
- height: 0,
63
- },
64
- },
65
- sounds: {
66
- enable: true,
67
- events: [
68
- {
69
- event: "particleRemoved",
70
- audio: [
71
- "https://particles.js.org/audio/explosion0.mp3",
72
- "https://particles.js.org/audio/explosion1.mp3",
73
- "https://particles.js.org/audio/explosion2.mp3",
74
- ],
75
- },
76
- ],
77
- volume: 100,
78
- },
79
- };
80
- exports.default = options;
81
- });
@@ -1,81 +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: "soundsLoop",
14
- name: "Sounds Loop",
15
- particles: {
16
- number: {
17
- value: 0,
18
- },
19
- fill: {
20
- color: {
21
- value: "#ff0000",
22
- animation: {
23
- enable: true,
24
- speed: 120,
25
- sync: true,
26
- },
27
- },
28
- enable: true,
29
- },
30
- shape: {
31
- type: "circle",
32
- },
33
- opacity: {
34
- value: 1,
35
- },
36
- size: {
37
- value: {
38
- min: 3,
39
- max: 6,
40
- },
41
- },
42
- move: {
43
- enable: true,
44
- speed: 6,
45
- direction: "none",
46
- outModes: "destroy",
47
- },
48
- },
49
- background: {
50
- color: "#000000",
51
- },
52
- emitters: {
53
- position: {
54
- x: 50,
55
- y: 50,
56
- },
57
- rate: {
58
- quantity: 1,
59
- delay: 0.3,
60
- },
61
- size: {
62
- width: 0,
63
- height: 0,
64
- },
65
- },
66
- sounds: {
67
- enable: true,
68
- events: [
69
- {
70
- event: "soundsUnmuted",
71
- audio: {
72
- loop: true,
73
- source: "https://particles.js.org/audio/nyancat-loop.mp3",
74
- },
75
- },
76
- ],
77
- volume: 100,
78
- },
79
- };
80
- exports.default = options;
81
- });