@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
package/umd/l/lch.js DELETED
@@ -1,82 +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: "lch",
14
- name: "LCH",
15
- particles: {
16
- number: {
17
- value: 80,
18
- density: {
19
- enable: true,
20
- },
21
- },
22
- fill: {
23
- color: {
24
- value: "lch(63.94% 33.1 0.67)",
25
- animation: {
26
- enable: true,
27
- speed: 20,
28
- sync: true,
29
- },
30
- },
31
- enable: true,
32
- },
33
- shape: {
34
- type: "circle",
35
- },
36
- opacity: {
37
- value: 0.5,
38
- },
39
- size: {
40
- value: {
41
- min: 1,
42
- max: 3,
43
- },
44
- },
45
- links: {
46
- enable: true,
47
- distance: 150,
48
- color: "#ffffff",
49
- opacity: 0.4,
50
- width: 1,
51
- },
52
- move: {
53
- enable: true,
54
- speed: 6,
55
- },
56
- },
57
- interactivity: {
58
- events: {
59
- onHover: {
60
- enable: true,
61
- mode: "repulse",
62
- },
63
- onClick: {
64
- enable: true,
65
- mode: "push",
66
- },
67
- },
68
- modes: {
69
- repulse: {
70
- distance: 200,
71
- },
72
- push: {
73
- quantity: 4,
74
- },
75
- },
76
- },
77
- background: {
78
- color: "#000000",
79
- },
80
- };
81
- exports.default = options;
82
- });
package/umd/l/life.js DELETED
@@ -1,95 +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: "life",
14
- name: "Life",
15
- particles: {
16
- number: {
17
- value: 160,
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: "circle",
35
- },
36
- opacity: {
37
- value: 0.5,
38
- },
39
- size: {
40
- value: {
41
- min: 1,
42
- max: 3,
43
- },
44
- },
45
- links: {
46
- enable: true,
47
- distance: 100,
48
- color: "#ffffff",
49
- opacity: 0.4,
50
- width: 1,
51
- },
52
- move: {
53
- enable: true,
54
- speed: 6,
55
- },
56
- life: {
57
- duration: {
58
- sync: false,
59
- value: 3,
60
- },
61
- count: 0,
62
- delay: {
63
- value: {
64
- min: 1,
65
- max: 2,
66
- },
67
- },
68
- },
69
- },
70
- interactivity: {
71
- events: {
72
- onHover: {
73
- enable: true,
74
- mode: "repulse",
75
- },
76
- onClick: {
77
- enable: true,
78
- mode: "push",
79
- },
80
- },
81
- modes: {
82
- repulse: {
83
- distance: 200,
84
- },
85
- push: {
86
- quantity: 4,
87
- },
88
- },
89
- },
90
- background: {
91
- color: "#000000",
92
- },
93
- };
94
- exports.default = options;
95
- });
@@ -1,85 +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: "lightHover",
14
- name: "Light Hover",
15
- particles: {
16
- number: {
17
- value: 30,
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: ["circle", "square"],
35
- },
36
- opacity: {
37
- value: 1,
38
- },
39
- size: {
40
- value: {
41
- min: 15,
42
- max: 30,
43
- },
44
- },
45
- rotate: {
46
- value: 0,
47
- direction: "clockwise",
48
- animation: {
49
- speed: 5,
50
- enable: true,
51
- },
52
- },
53
- move: {
54
- enable: true,
55
- speed: 6,
56
- direction: "none",
57
- },
58
- },
59
- interactivity: {
60
- events: {
61
- onHover: {
62
- enable: true,
63
- mode: "light",
64
- },
65
- },
66
- modes: {
67
- light: {
68
- area: {
69
- gradient: {
70
- start: "#3b5e98",
71
- stop: "#17163e",
72
- },
73
- },
74
- shadow: {
75
- color: "#17163e",
76
- },
77
- },
78
- },
79
- },
80
- background: {
81
- color: "#17163e",
82
- },
83
- };
84
- exports.default = options;
85
- });
@@ -1,102 +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: "linkTriangles",
14
- name: "Link Triangles",
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: "circle",
35
- },
36
- opacity: {
37
- value: 0.5,
38
- },
39
- size: {
40
- value: {
41
- min: 1,
42
- max: 3,
43
- },
44
- },
45
- links: {
46
- enable: true,
47
- distance: 150,
48
- color: "random",
49
- opacity: 0.4,
50
- width: 1,
51
- triangles: {
52
- enable: true,
53
- color: "#ffffff",
54
- opacity: 0.1,
55
- },
56
- },
57
- move: {
58
- enable: true,
59
- speed: 6,
60
- },
61
- },
62
- interactivity: {
63
- events: {
64
- onHover: {
65
- enable: true,
66
- mode: "repulse",
67
- },
68
- onClick: {
69
- enable: true,
70
- mode: "push",
71
- },
72
- },
73
- modes: {
74
- grab: {
75
- distance: 400,
76
- links: {
77
- opacity: 1,
78
- },
79
- },
80
- bubble: {
81
- distance: 400,
82
- size: 40,
83
- duration: 2,
84
- opacity: 0.8,
85
- },
86
- repulse: {
87
- distance: 200,
88
- },
89
- push: {
90
- quantity: 4,
91
- },
92
- remove: {
93
- quantity: 2,
94
- },
95
- },
96
- },
97
- background: {
98
- color: "#000000",
99
- },
100
- };
101
- exports.default = options;
102
- });
@@ -1,101 +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: "localPolygonMask",
14
- name: "Local Polygon Mask",
15
- interactivity: {
16
- events: {
17
- onHover: {
18
- enable: true,
19
- mode: "bubble",
20
- },
21
- },
22
- modes: {
23
- bubble: {
24
- distance: 40,
25
- duration: 2,
26
- opacity: 8,
27
- size: 6,
28
- },
29
- },
30
- },
31
- particles: {
32
- fill: {
33
- color: {
34
- value: "#ffffff",
35
- },
36
- enable: true,
37
- },
38
- links: {
39
- blink: false,
40
- color: "#ffffff",
41
- consent: false,
42
- distance: 30,
43
- enable: false,
44
- opacity: 0.4,
45
- width: 1,
46
- },
47
- move: {
48
- enable: true,
49
- outModes: "bounce",
50
- speed: 1,
51
- },
52
- number: {
53
- density: {
54
- enable: false,
55
- },
56
- value: 200,
57
- },
58
- opacity: {
59
- value: 0.5,
60
- },
61
- shape: {
62
- type: "circle",
63
- },
64
- size: {
65
- value: 3,
66
- },
67
- },
68
- polygon: {
69
- draw: {
70
- enable: true,
71
- stroke: {
72
- color: "#fff",
73
- width: 0.5,
74
- opacity: 0.2,
75
- },
76
- },
77
- enable: true,
78
- move: {
79
- radius: 10,
80
- },
81
- position: {
82
- x: 50,
83
- y: 50,
84
- },
85
- inline: {
86
- arrangement: "equidistant",
87
- },
88
- scale: 3,
89
- type: "inside",
90
- data: '<svg xmlns="http://www.w3.org/2000/svg" height="200" width="150"><path d="M 75,0 0,200 h 150 z" /></svg>',
91
- },
92
- background: {
93
- color: "#000000",
94
- image: "",
95
- position: "50% 50%",
96
- repeat: "no-repeat",
97
- size: "cover",
98
- },
99
- };
100
- exports.default = options;
101
- });
package/umd/m/index.js DELETED
@@ -1,55 +0,0 @@
1
- var __importDefault = (this && this.__importDefault) || function (mod) {
2
- return (mod && mod.__esModule) ? mod : { "default": mod };
3
- };
4
- (function (factory) {
5
- if (typeof module === "object" && typeof module.exports === "object") {
6
- var v = factory(require, exports);
7
- if (v !== undefined) module.exports = v;
8
- }
9
- else if (typeof define === "function" && define.amd) {
10
- define(["require", "exports", "./manual.js", "./matrix.js", "./motionDisable.js", "./motionReduce.js", "./mouseAttract.js", "./mouseBounce.js", "./mouseDrag.js", "./mouseDragMomentum.js", "./mouseFollow.js", "./mouseParticle.js", "./mouseParticle2.js", "./mouseTrail.js", "./mouseTrailNoise.js", "./moveAngle.js", "./moveDistance.js", "./moveInside.js", "./moveOutside.js", "./multipleClickEmitters.js", "./multiplePolygonMasks.js"], factory);
11
- }
12
- })(function (require, exports) {
13
- "use strict";
14
- Object.defineProperty(exports, "__esModule", { value: true });
15
- const manual_js_1 = __importDefault(require("./manual.js"));
16
- const matrix_js_1 = __importDefault(require("./matrix.js"));
17
- const motionDisable_js_1 = __importDefault(require("./motionDisable.js"));
18
- const motionReduce_js_1 = __importDefault(require("./motionReduce.js"));
19
- const mouseAttract_js_1 = __importDefault(require("./mouseAttract.js"));
20
- const mouseBounce_js_1 = __importDefault(require("./mouseBounce.js"));
21
- const mouseDrag_js_1 = __importDefault(require("./mouseDrag.js"));
22
- const mouseDragMomentum_js_1 = __importDefault(require("./mouseDragMomentum.js"));
23
- const mouseFollow_js_1 = __importDefault(require("./mouseFollow.js"));
24
- const mouseParticle_js_1 = __importDefault(require("./mouseParticle.js"));
25
- const mouseParticle2_js_1 = __importDefault(require("./mouseParticle2.js"));
26
- const mouseTrail_js_1 = __importDefault(require("./mouseTrail.js"));
27
- const mouseTrailNoise_js_1 = __importDefault(require("./mouseTrailNoise.js"));
28
- const moveAngle_js_1 = __importDefault(require("./moveAngle.js"));
29
- const moveDistance_js_1 = __importDefault(require("./moveDistance.js"));
30
- const moveInside_js_1 = __importDefault(require("./moveInside.js"));
31
- const moveOutside_js_1 = __importDefault(require("./moveOutside.js"));
32
- const multipleClickEmitters_js_1 = __importDefault(require("./multipleClickEmitters.js"));
33
- const multiplePolygonMasks_js_1 = __importDefault(require("./multiplePolygonMasks.js"));
34
- exports.default = {
35
- manual: manual_js_1.default,
36
- matrix: matrix_js_1.default,
37
- motionDisable: motionDisable_js_1.default,
38
- motionReduce: motionReduce_js_1.default,
39
- mouseAttract: mouseAttract_js_1.default,
40
- mouseBounce: mouseBounce_js_1.default,
41
- mouseDrag: mouseDrag_js_1.default,
42
- mouseDragMomentum: mouseDragMomentum_js_1.default,
43
- mouseFollow: mouseFollow_js_1.default,
44
- mouseParticle: mouseParticle_js_1.default,
45
- mouseParticle2: mouseParticle2_js_1.default,
46
- mouseTrail: mouseTrail_js_1.default,
47
- mouseTrailNoise: mouseTrailNoise_js_1.default,
48
- moveAngle: moveAngle_js_1.default,
49
- moveDistance: moveDistance_js_1.default,
50
- moveInside: moveInside_js_1.default,
51
- moveOutside: moveOutside_js_1.default,
52
- multipleClickEmitters: multipleClickEmitters_js_1.default,
53
- multiplePolygonMasks: multiplePolygonMasks_js_1.default,
54
- };
55
- });
package/umd/m/manual.js DELETED
@@ -1,98 +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: "manual",
14
- name: "Manual Particles",
15
- manualParticles: [
16
- {
17
- position: {
18
- x: 50,
19
- y: 50,
20
- },
21
- },
22
- {
23
- position: {
24
- x: 25,
25
- y: 25,
26
- },
27
- },
28
- {
29
- position: {
30
- x: 75,
31
- y: 75,
32
- },
33
- },
34
- {
35
- position: {
36
- x: 25,
37
- y: 75,
38
- },
39
- },
40
- {
41
- position: {
42
- x: 75,
43
- y: 25,
44
- },
45
- },
46
- ],
47
- particles: {
48
- number: {
49
- value: 0,
50
- density: {
51
- enable: false,
52
- },
53
- },
54
- fill: {
55
- color: {
56
- value: "#ff0000",
57
- animation: {
58
- enable: true,
59
- speed: 20,
60
- sync: true,
61
- },
62
- },
63
- enable: true,
64
- },
65
- shape: {
66
- type: "circle",
67
- },
68
- opacity: {
69
- value: 0.5,
70
- },
71
- size: {
72
- value: 30,
73
- },
74
- links: {
75
- enable: true,
76
- distance: 100,
77
- color: "#ffffff",
78
- opacity: 0.4,
79
- width: 1,
80
- },
81
- move: {
82
- enable: true,
83
- speed: 2,
84
- direction: "top",
85
- straight: true,
86
- warp: true,
87
- },
88
- },
89
- background: {
90
- color: "#000000",
91
- image: "",
92
- position: "50% 50%",
93
- repeat: "no-repeat",
94
- size: "cover",
95
- },
96
- };
97
- exports.default = options;
98
- });
package/umd/m/matrix.js DELETED
@@ -1,87 +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: "matrix",
14
- name: "Matrix",
15
- fpsLimit: 30,
16
- particles: {
17
- number: {
18
- value: 300,
19
- density: {
20
- enable: true,
21
- },
22
- },
23
- fill: {
24
- color: {
25
- value: {
26
- h: 120,
27
- s: 100,
28
- l: 50,
29
- },
30
- animation: {
31
- l: {
32
- enable: true,
33
- speed: 70,
34
- sync: false,
35
- min: 30,
36
- max: 100,
37
- },
38
- },
39
- },
40
- enable: true,
41
- },
42
- shape: {
43
- type: "matrix",
44
- options: {
45
- matrix: {
46
- interval: {
47
- min: 30,
48
- max: 60,
49
- },
50
- },
51
- },
52
- },
53
- effect: {
54
- type: "shadow",
55
- options: {
56
- shadow: {
57
- color: "#00ff41",
58
- blur: 7,
59
- },
60
- },
61
- },
62
- size: {
63
- value: 10,
64
- },
65
- move: {
66
- enable: true,
67
- direction: "bottom",
68
- straight: true,
69
- speed: { min: 8, max: 15 },
70
- },
71
- },
72
- trail: {
73
- enable: true,
74
- length: 10,
75
- fill: {
76
- color: "#000",
77
- },
78
- },
79
- poisson: {
80
- enable: true,
81
- },
82
- background: {
83
- color: "#000000",
84
- },
85
- };
86
- exports.default = options;
87
- });