@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,91 +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: "collisionsBounce",
14
- name: "Collisions Bounce",
15
- particles: {
16
- number: {
17
- value: 80,
18
- density: {
19
- enable: true,
20
- },
21
- },
22
- collisions: {
23
- enable: true,
24
- },
25
- fill: {
26
- color: {
27
- value: "#ffffff",
28
- },
29
- enable: true,
30
- },
31
- shape: {
32
- type: "circle",
33
- },
34
- opacity: {
35
- value: 0.5,
36
- },
37
- size: {
38
- value: {
39
- min: 10,
40
- max: 15,
41
- },
42
- },
43
- links: {
44
- enable: false,
45
- distance: 150,
46
- color: "#ffffff",
47
- opacity: 0.4,
48
- width: 1,
49
- },
50
- move: {
51
- enable: true,
52
- speed: 10,
53
- },
54
- },
55
- interactivity: {
56
- events: {
57
- onClick: {
58
- enable: true,
59
- mode: "push",
60
- },
61
- },
62
- modes: {
63
- grab: {
64
- distance: 400,
65
- links: {
66
- opacity: 1,
67
- },
68
- },
69
- bubble: {
70
- distance: 400,
71
- size: 40,
72
- duration: 2,
73
- opacity: 0.8,
74
- },
75
- repulse: {
76
- distance: 200,
77
- },
78
- push: {
79
- quantity: 4,
80
- },
81
- remove: {
82
- quantity: 2,
83
- },
84
- },
85
- },
86
- background: {
87
- color: "#0d47a1",
88
- },
89
- };
90
- exports.default = options;
91
- });
@@ -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: "collisionsDestroy",
14
- name: "Collisions Destroy",
15
- particles: {
16
- number: {
17
- value: 80,
18
- },
19
- fill: {
20
- color: {
21
- value: ["#3998D0", "#2EB6AF", "#A9BD33", "#FEC73B", "#F89930", "#F45623", "#D62E32", "#EB586E", "#9952CF"],
22
- },
23
- enable: true,
24
- },
25
- destroy: {
26
- mode: "split",
27
- split: {
28
- count: 1,
29
- factor: {
30
- value: {
31
- min: 4,
32
- max: 9,
33
- },
34
- },
35
- particles: {
36
- collisions: {
37
- enable: false,
38
- },
39
- destroy: {
40
- mode: "none",
41
- },
42
- life: {
43
- count: 1,
44
- duration: {
45
- value: {
46
- min: 1,
47
- max: 2,
48
- },
49
- },
50
- },
51
- },
52
- },
53
- },
54
- shape: {
55
- type: "circle",
56
- },
57
- opacity: {
58
- value: 1,
59
- },
60
- size: {
61
- value: {
62
- min: 10,
63
- max: 15,
64
- },
65
- },
66
- collisions: {
67
- enable: true,
68
- mode: "destroy",
69
- },
70
- move: {
71
- enable: true,
72
- speed: 5,
73
- },
74
- },
75
- background: {
76
- color: "#000000",
77
- },
78
- poisson: {
79
- enable: true,
80
- },
81
- emitters: {
82
- position: {
83
- x: 50,
84
- y: 50,
85
- },
86
- size: {
87
- width: 100,
88
- height: 100,
89
- },
90
- fill: false,
91
- },
92
- smooth: true,
93
- };
94
- exports.default = options;
95
- });
@@ -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: "colorAnimation",
14
- name: "Color Animation",
15
- particles: {
16
- number: {
17
- value: 80,
18
- density: {
19
- enable: true,
20
- },
21
- },
22
- fill: {
23
- color: {
24
- value: "#ff0000",
25
- animation: {
26
- h: {
27
- enable: true,
28
- speed: { min: 30, max: 60 },
29
- sync: true,
30
- },
31
- s: {
32
- enable: true,
33
- speed: { min: 5, max: 10 },
34
- sync: true,
35
- },
36
- l: {
37
- enable: true,
38
- speed: { min: 5, max: 10 },
39
- sync: true,
40
- },
41
- },
42
- },
43
- enable: true,
44
- },
45
- stroke: {
46
- width: 30,
47
- color: {
48
- value: "#0000ff",
49
- animation: {
50
- h: {
51
- enable: true,
52
- speed: { min: 30, max: 60 },
53
- sync: true,
54
- },
55
- s: {
56
- enable: true,
57
- speed: { min: 5, max: 10 },
58
- sync: true,
59
- },
60
- l: {
61
- enable: true,
62
- speed: { min: 5, max: 10 },
63
- sync: true,
64
- },
65
- },
66
- },
67
- },
68
- shape: {
69
- type: "circle",
70
- },
71
- opacity: {
72
- value: 1,
73
- },
74
- size: {
75
- value: 15,
76
- },
77
- move: {
78
- enable: true,
79
- speed: 6,
80
- },
81
- },
82
- background: {
83
- color: "#000000",
84
- },
85
- };
86
- exports.default = options;
87
- });
package/umd/c/connect.js DELETED
@@ -1,126 +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: "connect",
14
- name: "Connect",
15
- interactivity: {
16
- events: {
17
- onClick: {
18
- enable: true,
19
- mode: "push",
20
- },
21
- onHover: {
22
- enable: true,
23
- mode: "connect",
24
- },
25
- },
26
- modes: {
27
- bubble: {
28
- distance: 400,
29
- duration: 2,
30
- opacity: 0.8,
31
- size: 40,
32
- },
33
- connect: {
34
- distance: 80,
35
- links: {
36
- opacity: 0.5,
37
- },
38
- radius: 60,
39
- },
40
- grab: {
41
- distance: 400,
42
- links: {
43
- opacity: 1,
44
- },
45
- },
46
- push: {
47
- quantity: 4,
48
- },
49
- remove: {
50
- quantity: 2,
51
- },
52
- repulse: {
53
- distance: 200,
54
- duration: 0.4,
55
- },
56
- },
57
- },
58
- particles: {
59
- fill: {
60
- color: {
61
- value: "random",
62
- },
63
- enable: true,
64
- },
65
- links: {
66
- blink: false,
67
- color: "#ffffff",
68
- consent: false,
69
- distance: 150,
70
- enable: false,
71
- opacity: 0.4,
72
- width: 1,
73
- },
74
- move: {
75
- enable: true,
76
- speed: 6,
77
- },
78
- number: {
79
- density: {
80
- enable: true,
81
- },
82
- limit: {
83
- value: 500,
84
- },
85
- value: 300,
86
- },
87
- opacity: {
88
- value: 0.5,
89
- },
90
- shape: {
91
- type: "circle",
92
- },
93
- stroke: {
94
- color: { value: "#fff" },
95
- width: 1,
96
- },
97
- size: {
98
- value: {
99
- min: 1,
100
- max: 10,
101
- },
102
- },
103
- },
104
- polygon: {
105
- draw: {
106
- enable: false,
107
- lineColor: "#ffffff",
108
- lineWidth: 0.5,
109
- },
110
- move: {
111
- radius: 10,
112
- },
113
- scale: 1,
114
- type: "none",
115
- url: "",
116
- },
117
- background: {
118
- color: "#000000",
119
- image: "",
120
- position: "50% 50%",
121
- repeat: "no-repeat",
122
- size: "cover",
123
- },
124
- };
125
- exports.default = options;
126
- });
@@ -1,65 +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: "curlNoise",
14
- name: "Curl Noise",
15
- particles: {
16
- number: {
17
- value: 300,
18
- },
19
- fill: {
20
- color: {
21
- value: "#ff0000",
22
- animation: {
23
- enable: true,
24
- speed: 360,
25
- sync: true,
26
- },
27
- },
28
- enable: true,
29
- },
30
- shape: {
31
- type: "circle",
32
- },
33
- size: {
34
- value: 3,
35
- },
36
- move: {
37
- path: {
38
- clamp: false,
39
- enable: true,
40
- options: {
41
- step: 250,
42
- speed: 1,
43
- },
44
- delay: {
45
- value: 0,
46
- },
47
- generator: "curlNoise",
48
- },
49
- enable: true,
50
- speed: 3,
51
- },
52
- },
53
- background: {
54
- color: "#000000",
55
- },
56
- trail: {
57
- fill: {
58
- color: "#000",
59
- },
60
- enable: true,
61
- length: 1000,
62
- },
63
- };
64
- exports.default = options;
65
- });
package/umd/c/index.js DELETED
@@ -1,39 +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", "./cardSuits.js", "./cards.js", "./cardsRolling.js", "./chars.js", "./clickPause.js", "./collisionsAbsorb.js", "./collisionsBounce.js", "./collisionsDestroy.js", "./colorAnimation.js", "./connect.js", "./curlNoise.js"], factory);
11
- }
12
- })(function (require, exports) {
13
- "use strict";
14
- Object.defineProperty(exports, "__esModule", { value: true });
15
- const cardSuits_js_1 = __importDefault(require("./cardSuits.js"));
16
- const cards_js_1 = __importDefault(require("./cards.js"));
17
- const cardsRolling_js_1 = __importDefault(require("./cardsRolling.js"));
18
- const chars_js_1 = __importDefault(require("./chars.js"));
19
- const clickPause_js_1 = __importDefault(require("./clickPause.js"));
20
- const collisionsAbsorb_js_1 = __importDefault(require("./collisionsAbsorb.js"));
21
- const collisionsBounce_js_1 = __importDefault(require("./collisionsBounce.js"));
22
- const collisionsDestroy_js_1 = __importDefault(require("./collisionsDestroy.js"));
23
- const colorAnimation_js_1 = __importDefault(require("./colorAnimation.js"));
24
- const connect_js_1 = __importDefault(require("./connect.js"));
25
- const curlNoise_js_1 = __importDefault(require("./curlNoise.js"));
26
- exports.default = {
27
- cardSuits: cardSuits_js_1.default,
28
- cards: cards_js_1.default,
29
- cardsRolling: cardsRolling_js_1.default,
30
- chars: chars_js_1.default,
31
- clickPause: clickPause_js_1.default,
32
- collisionsAbsorb: collisionsAbsorb_js_1.default,
33
- collisionsBounce: collisionsBounce_js_1.default,
34
- collisionsDestroy: collisionsDestroy_js_1.default,
35
- colorAnimation: colorAnimation_js_1.default,
36
- connect: connect_js_1.default,
37
- curlNoise: curlNoise_js_1.default,
38
- };
39
- });
@@ -1,125 +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: "dataImages",
14
- name: "Data URI Images",
15
- interactivity: {
16
- events: {
17
- onClick: {
18
- enable: true,
19
- mode: "push",
20
- },
21
- onHover: {
22
- enable: true,
23
- mode: "bubble",
24
- },
25
- },
26
- modes: {
27
- bubble: {
28
- distance: 400,
29
- duration: 2,
30
- opacity: 0.8,
31
- size: 40,
32
- },
33
- connect: {
34
- distance: 80,
35
- links: {
36
- opacity: 0.5,
37
- },
38
- radius: 60,
39
- },
40
- grab: {
41
- distance: 400,
42
- links: {
43
- opacity: 1,
44
- },
45
- },
46
- push: {
47
- quantity: 4,
48
- },
49
- remove: {
50
- quantity: 2,
51
- },
52
- repulse: {
53
- distance: 200,
54
- duration: 0.4,
55
- },
56
- },
57
- },
58
- particles: {
59
- move: {
60
- direction: "none",
61
- enable: true,
62
- speed: 2,
63
- },
64
- number: {
65
- density: {
66
- enable: true,
67
- },
68
- value: 80,
69
- },
70
- opacity: {
71
- value: 0.5,
72
- },
73
- rotate: {
74
- animation: {
75
- enable: true,
76
- speed: 5,
77
- sync: false,
78
- },
79
- direction: "random",
80
- value: {
81
- min: 0,
82
- max: 360,
83
- },
84
- },
85
- shape: {
86
- options: {
87
- image: [
88
- {
89
- name: "apple",
90
- },
91
- {
92
- name: "basketball",
93
- },
94
- ],
95
- },
96
- type: "image",
97
- },
98
- size: {
99
- value: 16,
100
- },
101
- },
102
- preload: [
103
- {
104
- name: "apple",
105
- src: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAAsTAAALEwEAmpwYAAACTElEQVRYhe2WzUtUYRTGf+eORZq1aGlESjEzjn2QY5KVYRiEJVngtk2LWljLahdGEeW2rf9AkS6EKKQSFxLoWOEHt1tYluHCFiONTJMz854WGQjpnXdmIArmgbs595zneTjn3ve8UEIJ/zuCd4/vD/a0Nhda7xQl3tPaLOIMi6GpUA6xSep+2rLbmEAHmL0gWwWJK7x4OOFEVMwG7/rza4UaKLOzufEbmu5CpAZAUYALR2qyoyOzzpNCxcFyBN0nBxeMBk4Di6vj2ytpdESsuliUAYDb7c9cRduBL79j8RTvjar+FQMAt04NjTjZzSFUO1Xk/NCMDBQjDrbfwApi0aqK8jsfNtW9nO4DCN07sWd1/6eb6rZ9X46nGsbnk7acVvNz68NRHL0P2ggEAE9EbnR07qgXSPU/+uyKchMIAVmQUYxcqX31drxoA140eNQIQ6zRrb7wlscBJXPWS3SsUZoRpCUc80b8+HOOwAi96+Wd8xKH/bgV7QVq/fh9O+AeCleTMR9zmfSDZgPVkdfup/Xe+/8F2czOYsQBKPPn8DWQTpVPAOki5Jd/pNMTBRvYNzkZBwYLlhcGD7yZXfRLyXkQKTwoXF9y1uY0kNSlPoG5/MWZWzKJ/qINNIzPJw3kvW6NcNXmRLTeZG5DcBg4Zpctw7Uxr8Um03oZKYEuIPFH+NezGgnFuWzLa20gEnOnBGkDvq6EjCoXES4BBgBhQZC2SMydsuXN+zIRi1ZVVEjlmYAwExp7NwbgHQwezCq7kro0kM8mLKGEfwI/AbDUxKelB9HiAAAAAElFTkSuQmCC",
106
- width: 32,
107
- height: 32,
108
- },
109
- {
110
- name: "basketball",
111
- src: "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjEiIGlkPSJMYXllcl8xIiB4PSIwcHgiIHk9IjBweCIgdmlld0JveD0iMCAwIDEwMCAxMDAiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDEwMCAxMDAiIHhtbDpzcGFjZT0icHJlc2VydmUiIGhlaWdodD0iMTAwcHgiIHdpZHRoPSIxMDBweCI+CjxnPgoJPHBhdGggZD0iTTI4LjEsMzYuNmM0LjYsMS45LDEyLjIsMS42LDIwLjksMS4xYzguOS0wLjQsMTktMC45LDI4LjksMC45YzYuMywxLjIsMTEuOSwzLjEsMTYuOCw2Yy0xLjUtMTIuMi03LjktMjMuNy0xOC42LTMxLjMgICBjLTQuOS0wLjItOS45LDAuMy0xNC44LDEuNEM0Ny44LDE3LjksMzYuMiwyNS42LDI4LjEsMzYuNnoiLz4KCTxwYXRoIGQ9Ik03MC4zLDkuOEM1Ny41LDMuNCw0Mi44LDMuNiwzMC41LDkuNWMtMyw2LTguNCwxOS42LTUuMywyNC45YzguNi0xMS43LDIwLjktMTkuOCwzNS4yLTIzLjFDNjMuNywxMC41LDY3LDEwLDcwLjMsOS44eiIvPgoJPHBhdGggZD0iTTE2LjUsNTEuM2MwLjYtMS43LDEuMi0zLjQsMi01LjFjLTMuOC0zLjQtNy41LTctMTEtMTAuOGMtMi4xLDYuMS0yLjgsMTIuNS0yLjMsMTguN0M5LjYsNTEuMSwxMy40LDUwLjIsMTYuNSw1MS4zeiIvPgoJPHBhdGggZD0iTTksMzEuNmMzLjUsMy45LDcuMiw3LjYsMTEuMSwxMS4xYzAuOC0xLjYsMS43LTMuMSwyLjYtNC42YzAuMS0wLjIsMC4zLTAuNCwwLjQtMC42Yy0yLjktMy4zLTMuMS05LjItMC42LTE3LjYgICBjMC44LTIuNywxLjgtNS4zLDIuNy03LjRjLTUuMiwzLjQtOS44LDgtMTMuMywxMy43QzEwLjgsMjcuOSw5LjgsMjkuNyw5LDMxLjZ6Ii8+Cgk8cGF0aCBkPSJNMTUuNCw1NC43Yy0yLjYtMS02LjEsMC43LTkuNywzLjRjMS4yLDYuNiwzLjksMTMsOCwxOC41QzEzLDY5LjMsMTMuNSw2MS44LDE1LjQsNTQuN3oiLz4KCTxwYXRoIGQ9Ik0zOS44LDU3LjZDNTQuMyw2Ni43LDcwLDczLDg2LjUsNzYuNGMwLjYtMC44LDEuMS0xLjYsMS43LTIuNWM0LjgtNy43LDctMTYuMyw2LjgtMjQuOGMtMTMuOC05LjMtMzEuMy04LjQtNDUuOC03LjcgICBjLTkuNSwwLjUtMTcuOCwwLjktMjMuMi0xLjdjLTAuMSwwLjEtMC4yLDAuMy0wLjMsMC40Yy0xLDEuNy0yLDMuNC0yLjksNS4xQzI4LjIsNDkuNywzMy44LDUzLjksMzkuOCw1Ny42eiIvPgoJPHBhdGggZD0iTTI2LjIsODguMmMzLjMsMiw2LjcsMy42LDEwLjIsNC43Yy0zLjUtNi4yLTYuMy0xMi42LTguOC0xOC41Yy0zLjEtNy4yLTUuOC0xMy41LTktMTcuMmMtMS45LDgtMiwxNi40LTAuMywyNC43ICAgQzIwLjYsODQuMiwyMy4yLDg2LjMsMjYuMiw4OC4yeiIvPgoJPHBhdGggZD0iTTMwLjksNzNjMi45LDYuOCw2LjEsMTQuNCwxMC41LDIxLjJjMTUuNiwzLDMyLTIuMyw0Mi42LTE0LjZDNjcuNyw3Niw1Mi4yLDY5LjYsMzcuOSw2MC43QzMyLDU3LDI2LjUsNTMsMjEuMyw0OC42ICAgYy0wLjYsMS41LTEuMiwzLTEuNyw0LjZDMjQuMSw1Ny4xLDI3LjMsNjQuNSwzMC45LDczeiIvPgo8L2c+Cjwvc3ZnPg==",
112
- width: 32,
113
- height: 32,
114
- },
115
- ],
116
- background: {
117
- color: "#fff",
118
- image: "",
119
- position: "50% 50%",
120
- repeat: "no-repeat",
121
- size: "cover",
122
- },
123
- };
124
- exports.default = options;
125
- });