@tsparticles/configs 3.0.0-beta.2 → 3.0.0-beta.4

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 (192) hide show
  1. package/browser/c/connect.js +3 -1
  2. package/browser/c/curlNoise.js +49 -0
  3. package/browser/c/index.js +2 -4
  4. package/browser/d/dataImages.js +0 -1
  5. package/{esm/s/shapeBubble.js → browser/e/effectBubble.js} +5 -2
  6. package/browser/e/effectTrail.js +53 -0
  7. package/browser/e/emitterImageShape.js +95 -0
  8. package/browser/e/emitterImages.js +0 -1
  9. package/browser/e/emitterShapes.js +56 -70
  10. package/browser/e/emitterTextShape.js +100 -0
  11. package/browser/e/emitterTextStrokeShape.js +100 -0
  12. package/browser/e/index.js +10 -0
  13. package/browser/f/fontawesome.js +0 -1
  14. package/browser/g/gifs.js +1 -1
  15. package/browser/h/hollowknight.js +0 -1
  16. package/browser/i/images.js +0 -1
  17. package/browser/l/localPolygonMask.js +0 -1
  18. package/browser/m/index.js +2 -0
  19. package/browser/m/mouseTrailNoise.js +118 -0
  20. package/browser/m/multiplePolygonMasks.js +0 -1
  21. package/browser/o/orbit.js +1 -1
  22. package/browser/p/index.js +2 -0
  23. package/browser/p/pathPolygonMask.js +0 -1
  24. package/browser/p/pathSvg.js +0 -1
  25. package/browser/p/polygonMask.js +0 -1
  26. package/browser/p/pop.js +67 -0
  27. package/browser/r/random.js +1 -1
  28. package/browser/r/reactBubbles.js +0 -1
  29. package/browser/r/reactNightSky.js +0 -1
  30. package/browser/r/reactPolygonMask.js +0 -1
  31. package/browser/r/reactSimple.js +0 -1
  32. package/browser/r/reactSnow.js +0 -1
  33. package/browser/r/ring.js +1 -1
  34. package/browser/s/index.js +0 -2
  35. package/browser/s/shapeMultilineText.js +2 -2
  36. package/browser/s/style.js +1 -1
  37. package/browser/s/svgReplace.js +0 -1
  38. package/browser/t/tilt.js +1 -1
  39. package/browser/t/trail.js +1 -1
  40. package/browser/t/trailImage.js +1 -1
  41. package/browser/w/wobble.js +1 -1
  42. package/cjs/c/connect.js +3 -1
  43. package/cjs/c/curlNoise.js +51 -0
  44. package/cjs/c/index.js +2 -4
  45. package/cjs/d/dataImages.js +0 -1
  46. package/cjs/{s/shapeBubble.js → e/effectBubble.js} +5 -2
  47. package/cjs/e/effectTrail.js +55 -0
  48. package/cjs/e/emitterImageShape.js +97 -0
  49. package/cjs/e/emitterImages.js +0 -1
  50. package/cjs/e/emitterShapes.js +56 -70
  51. package/cjs/e/emitterTextShape.js +102 -0
  52. package/cjs/e/emitterTextStrokeShape.js +102 -0
  53. package/cjs/e/index.js +10 -0
  54. package/cjs/f/fontawesome.js +0 -1
  55. package/cjs/g/gifs.js +1 -1
  56. package/cjs/h/hollowknight.js +0 -1
  57. package/cjs/i/images.js +0 -1
  58. package/cjs/l/localPolygonMask.js +0 -1
  59. package/cjs/m/index.js +2 -0
  60. package/cjs/m/mouseTrailNoise.js +120 -0
  61. package/cjs/m/multiplePolygonMasks.js +0 -1
  62. package/cjs/o/orbit.js +1 -1
  63. package/cjs/p/index.js +2 -0
  64. package/cjs/p/pathPolygonMask.js +0 -1
  65. package/cjs/p/pathSvg.js +0 -1
  66. package/cjs/p/polygonMask.js +0 -1
  67. package/cjs/p/pop.js +69 -0
  68. package/cjs/r/random.js +1 -1
  69. package/cjs/r/reactBubbles.js +0 -1
  70. package/cjs/r/reactNightSky.js +0 -1
  71. package/cjs/r/reactPolygonMask.js +0 -1
  72. package/cjs/r/reactSimple.js +0 -1
  73. package/cjs/r/reactSnow.js +0 -1
  74. package/cjs/r/ring.js +1 -1
  75. package/cjs/s/index.js +0 -2
  76. package/cjs/s/shapeMultilineText.js +2 -2
  77. package/cjs/s/style.js +1 -1
  78. package/cjs/s/svgReplace.js +0 -1
  79. package/cjs/t/tilt.js +1 -1
  80. package/cjs/t/trail.js +1 -1
  81. package/cjs/t/trailImage.js +1 -1
  82. package/cjs/w/wobble.js +1 -1
  83. package/esm/c/connect.js +3 -1
  84. package/esm/c/curlNoise.js +49 -0
  85. package/esm/c/index.js +2 -4
  86. package/esm/d/dataImages.js +0 -1
  87. package/{browser/s/shapeBubble.js → esm/e/effectBubble.js} +5 -2
  88. package/esm/e/effectTrail.js +53 -0
  89. package/esm/e/emitterImageShape.js +95 -0
  90. package/esm/e/emitterImages.js +0 -1
  91. package/esm/e/emitterShapes.js +56 -70
  92. package/esm/e/emitterTextShape.js +100 -0
  93. package/esm/e/emitterTextStrokeShape.js +100 -0
  94. package/esm/e/index.js +10 -0
  95. package/esm/f/fontawesome.js +0 -1
  96. package/esm/g/gifs.js +1 -1
  97. package/esm/h/hollowknight.js +0 -1
  98. package/esm/i/images.js +0 -1
  99. package/esm/l/localPolygonMask.js +0 -1
  100. package/esm/m/index.js +2 -0
  101. package/esm/m/mouseTrailNoise.js +118 -0
  102. package/esm/m/multiplePolygonMasks.js +0 -1
  103. package/esm/o/orbit.js +1 -1
  104. package/esm/p/index.js +2 -0
  105. package/esm/p/pathPolygonMask.js +0 -1
  106. package/esm/p/pathSvg.js +0 -1
  107. package/esm/p/polygonMask.js +0 -1
  108. package/esm/p/pop.js +67 -0
  109. package/esm/r/random.js +1 -1
  110. package/esm/r/reactBubbles.js +0 -1
  111. package/esm/r/reactNightSky.js +0 -1
  112. package/esm/r/reactPolygonMask.js +0 -1
  113. package/esm/r/reactSimple.js +0 -1
  114. package/esm/r/reactSnow.js +0 -1
  115. package/esm/r/ring.js +1 -1
  116. package/esm/s/index.js +0 -2
  117. package/esm/s/shapeMultilineText.js +2 -2
  118. package/esm/s/style.js +1 -1
  119. package/esm/s/svgReplace.js +0 -1
  120. package/esm/t/tilt.js +1 -1
  121. package/esm/t/trail.js +1 -1
  122. package/esm/t/trailImage.js +1 -1
  123. package/esm/w/wobble.js +1 -1
  124. package/package.json +2 -2
  125. package/report.html +4 -22
  126. package/tsparticles.configs.bundle.js +1 -1
  127. package/tsparticles.configs.bundle.min.js.LICENSE.txt +1 -1
  128. package/tsparticles.configs.js +745 -202
  129. package/tsparticles.configs.min.js +1 -1
  130. package/tsparticles.configs.min.js.LICENSE.txt +1 -1
  131. package/types/c/index.d.ts +1 -2
  132. package/types/e/emitterImageShape.d.ts +3 -0
  133. package/types/e/emitterTextShape.d.ts +3 -0
  134. package/types/e/emitterTextStrokeShape.d.ts +3 -0
  135. package/types/e/index.d.ts +5 -0
  136. package/types/index.d.ts +8 -3
  137. package/types/m/index.d.ts +1 -0
  138. package/types/m/mouseTrailNoise.d.ts +3 -0
  139. package/types/p/index.d.ts +1 -0
  140. package/types/p/pop.d.ts +3 -0
  141. package/types/s/index.d.ts +0 -1
  142. package/umd/c/connect.js +3 -1
  143. package/umd/c/{customShape.js → curlNoise.js} +30 -30
  144. package/umd/c/index.js +3 -5
  145. package/umd/d/dataImages.js +0 -1
  146. package/umd/{s/shapeBubble.js → e/effectBubble.js} +5 -2
  147. package/umd/e/effectTrail.js +65 -0
  148. package/umd/e/emitterImageShape.js +107 -0
  149. package/umd/e/emitterImages.js +0 -1
  150. package/umd/e/emitterShapes.js +56 -70
  151. package/umd/e/emitterTextShape.js +112 -0
  152. package/umd/e/emitterTextStrokeShape.js +112 -0
  153. package/umd/e/index.js +11 -1
  154. package/umd/f/fontawesome.js +0 -1
  155. package/umd/g/gifs.js +1 -1
  156. package/umd/h/hollowknight.js +0 -1
  157. package/umd/i/images.js +0 -1
  158. package/umd/l/localPolygonMask.js +0 -1
  159. package/umd/m/index.js +3 -1
  160. package/umd/m/mouseTrailNoise.js +130 -0
  161. package/umd/m/multiplePolygonMasks.js +0 -1
  162. package/umd/o/orbit.js +1 -1
  163. package/umd/p/index.js +3 -1
  164. package/umd/p/pathPolygonMask.js +0 -1
  165. package/umd/p/pathSvg.js +0 -1
  166. package/umd/p/polygonMask.js +0 -1
  167. package/umd/p/pop.js +79 -0
  168. package/umd/r/random.js +1 -1
  169. package/umd/r/reactBubbles.js +0 -1
  170. package/umd/r/reactNightSky.js +0 -1
  171. package/umd/r/reactPolygonMask.js +0 -1
  172. package/umd/r/reactSimple.js +0 -1
  173. package/umd/r/reactSnow.js +0 -1
  174. package/umd/r/ring.js +1 -1
  175. package/umd/s/index.js +1 -3
  176. package/umd/s/shapeMultilineText.js +2 -2
  177. package/umd/s/style.js +1 -1
  178. package/umd/s/svgReplace.js +0 -1
  179. package/umd/t/tilt.js +1 -1
  180. package/umd/t/trail.js +1 -1
  181. package/umd/t/trailImage.js +1 -1
  182. package/umd/w/wobble.js +1 -1
  183. package/browser/c/customPreset.js +0 -5
  184. package/browser/c/customShape.js +0 -49
  185. package/cjs/c/customPreset.js +0 -7
  186. package/cjs/c/customShape.js +0 -51
  187. package/esm/c/customPreset.js +0 -5
  188. package/esm/c/customShape.js +0 -49
  189. package/umd/c/customPreset.js +0 -17
  190. /package/types/c/{customPreset.d.ts → curlNoise.d.ts} +0 -0
  191. /package/types/{c/customShape.d.ts → e/effectBubble.d.ts} +0 -0
  192. /package/types/{s/shapeBubble.d.ts → e/effectTrail.d.ts} +0 -0
@@ -0,0 +1,112 @@
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 rate = {
13
+ delay: 0.1,
14
+ quantity: 100,
15
+ };
16
+ const generateEmitter = (shape, options, fill, position) => {
17
+ return {
18
+ shape: {
19
+ type: shape,
20
+ options,
21
+ },
22
+ position: position,
23
+ size: {
24
+ width: 500,
25
+ height: 500,
26
+ mode: "precise",
27
+ },
28
+ startCount: 300,
29
+ rate,
30
+ fill,
31
+ };
32
+ };
33
+ const options = {
34
+ name: "Emitter Text Shape",
35
+ particles: {
36
+ number: {
37
+ value: 0,
38
+ },
39
+ color: {
40
+ value: [
41
+ "#f44336",
42
+ "#e91e63",
43
+ "#9c27b0",
44
+ "#673ab7",
45
+ "#3f51b5",
46
+ "#2196f3",
47
+ "#03a9f4",
48
+ "#00bcd4",
49
+ "#009688",
50
+ "#4CAF50",
51
+ "#8BC34A",
52
+ "#CDDC39",
53
+ "#FFEB3B",
54
+ "#FFC107",
55
+ "#FF9800",
56
+ "#FF5722",
57
+ ],
58
+ },
59
+ life: {
60
+ count: 1,
61
+ duration: {
62
+ value: 1.5,
63
+ },
64
+ },
65
+ move: {
66
+ enable: true,
67
+ speed: 0.5,
68
+ },
69
+ shape: {
70
+ type: "circle",
71
+ },
72
+ opacity: {
73
+ value: 1,
74
+ },
75
+ size: {
76
+ value: { min: 1, max: 10 },
77
+ animation: {
78
+ enable: true,
79
+ speed: 30,
80
+ sync: true,
81
+ startValue: "min",
82
+ count: 2,
83
+ },
84
+ },
85
+ },
86
+ background: {
87
+ color: "#fff",
88
+ },
89
+ emitters: [
90
+ generateEmitter("canvas", {
91
+ scale: 1,
92
+ pixels: {
93
+ filter: "pixelTextFilter",
94
+ offset: 4,
95
+ },
96
+ text: {
97
+ color: "#ff0000",
98
+ font: {
99
+ size: 500,
100
+ family: "Verdana",
101
+ },
102
+ text: "Particles",
103
+ lines: {
104
+ separator: "\n",
105
+ spacing: 10,
106
+ },
107
+ },
108
+ }, true, { x: 50, y: 50 }),
109
+ ],
110
+ };
111
+ exports.default = options;
112
+ });
@@ -0,0 +1,112 @@
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 rate = {
13
+ delay: 0.1,
14
+ quantity: 100,
15
+ };
16
+ const generateEmitter = (shape, options, fill, position) => {
17
+ return {
18
+ shape: {
19
+ type: shape,
20
+ options,
21
+ },
22
+ position: position,
23
+ size: {
24
+ width: 500,
25
+ height: 500,
26
+ mode: "precise",
27
+ },
28
+ startCount: 300,
29
+ rate,
30
+ fill,
31
+ };
32
+ };
33
+ const options = {
34
+ name: "Emitter Text Stroke Shape",
35
+ particles: {
36
+ number: {
37
+ value: 0,
38
+ },
39
+ color: {
40
+ value: [
41
+ "#f44336",
42
+ "#e91e63",
43
+ "#9c27b0",
44
+ "#673ab7",
45
+ "#3f51b5",
46
+ "#2196f3",
47
+ "#03a9f4",
48
+ "#00bcd4",
49
+ "#009688",
50
+ "#4CAF50",
51
+ "#8BC34A",
52
+ "#CDDC39",
53
+ "#FFEB3B",
54
+ "#FFC107",
55
+ "#FF9800",
56
+ "#FF5722",
57
+ ],
58
+ },
59
+ life: {
60
+ count: 1,
61
+ duration: {
62
+ value: 1.5,
63
+ },
64
+ },
65
+ move: {
66
+ enable: true,
67
+ speed: 0.5,
68
+ },
69
+ shape: {
70
+ type: "circle",
71
+ },
72
+ opacity: {
73
+ value: 1,
74
+ },
75
+ size: {
76
+ value: { min: 1, max: 10 },
77
+ animation: {
78
+ enable: true,
79
+ speed: 30,
80
+ sync: true,
81
+ startValue: "min",
82
+ count: 2,
83
+ },
84
+ },
85
+ },
86
+ background: {
87
+ color: "#fff",
88
+ },
89
+ emitters: [
90
+ generateEmitter("canvas", {
91
+ scale: 1,
92
+ pixels: {
93
+ filter: "pixelTextFilter",
94
+ offset: 4,
95
+ },
96
+ text: {
97
+ color: "#ff0000",
98
+ font: {
99
+ size: 500,
100
+ family: "Verdana",
101
+ },
102
+ text: "Particles",
103
+ lines: {
104
+ separator: "\n",
105
+ spacing: 10,
106
+ },
107
+ },
108
+ }, false, { x: 50, y: 50 }),
109
+ ],
110
+ };
111
+ exports.default = options;
112
+ });
package/umd/e/index.js CHANGED
@@ -7,23 +7,33 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
7
7
  if (v !== undefined) module.exports = v;
8
8
  }
9
9
  else if (typeof define === "function" && define.amd) {
10
- define(["require", "exports", "./emitter.js", "./emitterAbsorber.js", "./emitterAngled.js", "./emitterImages.js", "./emitterPaths.js", "./emitterShapes.js"], factory);
10
+ define(["require", "exports", "./effectBubble.js", "./effectTrail.js", "./emitter.js", "./emitterAbsorber.js", "./emitterAngled.js", "./emitterImageShape.js", "./emitterImages.js", "./emitterPaths.js", "./emitterShapes.js", "./emitterTextShape.js", "./emitterTextStrokeShape.js"], factory);
11
11
  }
12
12
  })(function (require, exports) {
13
13
  "use strict";
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
+ const effectBubble_js_1 = __importDefault(require("./effectBubble.js"));
16
+ const effectTrail_js_1 = __importDefault(require("./effectTrail.js"));
15
17
  const emitter_js_1 = __importDefault(require("./emitter.js"));
16
18
  const emitterAbsorber_js_1 = __importDefault(require("./emitterAbsorber.js"));
17
19
  const emitterAngled_js_1 = __importDefault(require("./emitterAngled.js"));
20
+ const emitterImageShape_js_1 = __importDefault(require("./emitterImageShape.js"));
18
21
  const emitterImages_js_1 = __importDefault(require("./emitterImages.js"));
19
22
  const emitterPaths_js_1 = __importDefault(require("./emitterPaths.js"));
20
23
  const emitterShapes_js_1 = __importDefault(require("./emitterShapes.js"));
24
+ const emitterTextShape_js_1 = __importDefault(require("./emitterTextShape.js"));
25
+ const emitterTextStrokeShape_js_1 = __importDefault(require("./emitterTextStrokeShape.js"));
21
26
  exports.default = {
27
+ effectBubble: effectBubble_js_1.default,
28
+ effectTrail: effectTrail_js_1.default,
22
29
  emitter: emitter_js_1.default,
23
30
  emitterAbsorber: emitterAbsorber_js_1.default,
24
31
  emitterAngled: emitterAngled_js_1.default,
32
+ emitterImageShape: emitterImageShape_js_1.default,
25
33
  emitterImages: emitterImages_js_1.default,
26
34
  emitterPaths: emitterPaths_js_1.default,
27
35
  emitterShapes: emitterShapes_js_1.default,
36
+ emitterTextShape: emitterTextShape_js_1.default,
37
+ emitterTextStrokeShape: emitterTextStrokeShape_js_1.default,
28
38
  };
29
39
  });
@@ -59,7 +59,6 @@
59
59
  density: {
60
60
  enable: true,
61
61
  },
62
- limit: 0,
63
62
  value: 80,
64
63
  },
65
64
  opacity: {
package/umd/g/gifs.js CHANGED
@@ -34,7 +34,7 @@
34
34
  },
35
35
  number: {
36
36
  value: 20,
37
- limit: 30,
37
+ limit: { value: 30 },
38
38
  },
39
39
  opacity: {
40
40
  value: 1,
@@ -77,7 +77,6 @@
77
77
  density: {
78
78
  enable: false,
79
79
  },
80
- limit: 0,
81
80
  value: 400,
82
81
  },
83
82
  opacity: {
package/umd/i/images.js CHANGED
@@ -46,7 +46,6 @@
46
46
  density: {
47
47
  enable: true,
48
48
  },
49
- limit: 0,
50
49
  value: 80,
51
50
  },
52
51
  opacity: {
@@ -49,7 +49,6 @@
49
49
  density: {
50
50
  enable: false,
51
51
  },
52
- limit: 0,
53
52
  value: 200,
54
53
  },
55
54
  opacity: {
package/umd/m/index.js CHANGED
@@ -7,7 +7,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
7
7
  if (v !== undefined) module.exports = v;
8
8
  }
9
9
  else if (typeof define === "function" && define.amd) {
10
- define(["require", "exports", "./manual.js", "./motionDisable.js", "./motionReduce.js", "./mouseAttract.js", "./mouseBounce.js", "./mouseFollow.js", "./mouseTrail.js", "./moveAngle.js", "./moveDistance.js", "./moveInside.js", "./moveOutside.js", "./multipleClickEmitters.js", "./multiplePolygonMasks.js"], factory);
10
+ define(["require", "exports", "./manual.js", "./motionDisable.js", "./motionReduce.js", "./mouseAttract.js", "./mouseBounce.js", "./mouseFollow.js", "./mouseTrail.js", "./mouseTrailNoise.js", "./moveAngle.js", "./moveDistance.js", "./moveInside.js", "./moveOutside.js", "./multipleClickEmitters.js", "./multiplePolygonMasks.js"], factory);
11
11
  }
12
12
  })(function (require, exports) {
13
13
  "use strict";
@@ -19,6 +19,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
19
19
  const mouseBounce_js_1 = __importDefault(require("./mouseBounce.js"));
20
20
  const mouseFollow_js_1 = __importDefault(require("./mouseFollow.js"));
21
21
  const mouseTrail_js_1 = __importDefault(require("./mouseTrail.js"));
22
+ const mouseTrailNoise_js_1 = __importDefault(require("./mouseTrailNoise.js"));
22
23
  const moveAngle_js_1 = __importDefault(require("./moveAngle.js"));
23
24
  const moveDistance_js_1 = __importDefault(require("./moveDistance.js"));
24
25
  const moveInside_js_1 = __importDefault(require("./moveInside.js"));
@@ -33,6 +34,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
33
34
  mouseBounce: mouseBounce_js_1.default,
34
35
  mouseFollow: mouseFollow_js_1.default,
35
36
  mouseTrail: mouseTrail_js_1.default,
37
+ mouseTrailNoise: mouseTrailNoise_js_1.default,
36
38
  moveAngle: moveAngle_js_1.default,
37
39
  moveDistance: moveDistance_js_1.default,
38
40
  moveInside: moveInside_js_1.default,
@@ -0,0 +1,130 @@
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
+ name: "Mouse Trail Noise",
14
+ particles: {
15
+ number: {
16
+ value: 0,
17
+ },
18
+ color: {
19
+ value: ["#ff0000", "#00ff00", "#0000ff"],
20
+ animation: {
21
+ enable: true,
22
+ speed: 360,
23
+ sync: false,
24
+ },
25
+ },
26
+ shape: {
27
+ type: "triangle",
28
+ },
29
+ opacity: {
30
+ value: { min: 0, max: 1 },
31
+ animation: {
32
+ enable: true,
33
+ speed: 1,
34
+ sync: false,
35
+ destroy: "min",
36
+ },
37
+ },
38
+ size: {
39
+ value: {
40
+ min: 4,
41
+ max: 8,
42
+ },
43
+ },
44
+ move: {
45
+ enable: true,
46
+ speed: 6,
47
+ outModes: "destroy",
48
+ path: {
49
+ enable: true,
50
+ options: {
51
+ size: 64,
52
+ draw: false,
53
+ increment: 0.005,
54
+ },
55
+ delay: {
56
+ value: 0,
57
+ },
58
+ generator: "perlinNoise",
59
+ },
60
+ },
61
+ rotate: {
62
+ value: {
63
+ min: 0,
64
+ max: 360,
65
+ },
66
+ direction: "random",
67
+ move: true,
68
+ animation: {
69
+ enable: true,
70
+ speed: 60,
71
+ },
72
+ },
73
+ tilt: {
74
+ direction: "random",
75
+ enable: true,
76
+ move: true,
77
+ value: {
78
+ min: 0,
79
+ max: 360,
80
+ },
81
+ animation: {
82
+ enable: true,
83
+ speed: 60,
84
+ },
85
+ },
86
+ roll: {
87
+ darken: {
88
+ enable: true,
89
+ value: 30,
90
+ },
91
+ enlighten: {
92
+ enable: true,
93
+ value: 30,
94
+ },
95
+ enable: true,
96
+ mode: "both",
97
+ speed: {
98
+ min: 15,
99
+ max: 25,
100
+ },
101
+ },
102
+ wobble: {
103
+ distance: 30,
104
+ enable: true,
105
+ move: true,
106
+ speed: {
107
+ min: -15,
108
+ max: 15,
109
+ },
110
+ },
111
+ },
112
+ interactivity: {
113
+ events: {
114
+ onHover: {
115
+ enable: true,
116
+ mode: "trail",
117
+ },
118
+ },
119
+ modes: {
120
+ trail: {
121
+ delay: 0.01,
122
+ },
123
+ },
124
+ },
125
+ background: {
126
+ color: "#000000",
127
+ },
128
+ };
129
+ exports.default = options;
130
+ });
@@ -83,7 +83,6 @@
83
83
  speed: 1,
84
84
  },
85
85
  number: {
86
- limit: 0,
87
86
  value: 200,
88
87
  },
89
88
  opacity: {
package/umd/o/orbit.js CHANGED
@@ -23,7 +23,7 @@
23
23
  density: {
24
24
  enable: true,
25
25
  },
26
- limit: 300,
26
+ limit: { value: 300 },
27
27
  value: 100,
28
28
  },
29
29
  opacity: {
package/umd/p/index.js CHANGED
@@ -7,7 +7,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
7
7
  if (v !== undefined) module.exports = v;
8
8
  }
9
9
  else if (typeof define === "function" && define.amd) {
10
- define(["require", "exports", "./parallax.js", "./pathPolygonMask.js", "./pathSvg.js", "./planes.js", "./plasma.js", "./polygonMask.js", "./polygons.js"], factory);
10
+ define(["require", "exports", "./parallax.js", "./pathPolygonMask.js", "./pathSvg.js", "./planes.js", "./plasma.js", "./polygonMask.js", "./polygons.js", "./pop.js"], factory);
11
11
  }
12
12
  })(function (require, exports) {
13
13
  "use strict";
@@ -19,6 +19,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
19
19
  const plasma_js_1 = __importDefault(require("./plasma.js"));
20
20
  const polygonMask_js_1 = __importDefault(require("./polygonMask.js"));
21
21
  const polygons_js_1 = __importDefault(require("./polygons.js"));
22
+ const pop_js_1 = __importDefault(require("./pop.js"));
22
23
  exports.default = {
23
24
  parallax: parallax_js_1.default,
24
25
  pathPolygonMask: pathPolygonMask_js_1.default,
@@ -27,5 +28,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
27
28
  plasma: plasma_js_1.default,
28
29
  polygonMask: polygonMask_js_1.default,
29
30
  polygons: polygons_js_1.default,
31
+ pop: pop_js_1.default,
30
32
  };
31
33
  });
@@ -44,7 +44,6 @@
44
44
  speed: 1,
45
45
  },
46
46
  number: {
47
- limit: 0,
48
47
  value: 80,
49
48
  },
50
49
  opacity: {
package/umd/p/pathSvg.js CHANGED
@@ -43,7 +43,6 @@
43
43
  },
44
44
  },
45
45
  number: {
46
- limit: 0,
47
46
  value: 80,
48
47
  },
49
48
  opacity: {
@@ -83,7 +83,6 @@
83
83
  speed: 1,
84
84
  },
85
85
  number: {
86
- limit: 0,
87
86
  value: 200,
88
87
  },
89
88
  opacity: {
package/umd/p/pop.js ADDED
@@ -0,0 +1,79 @@
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
+ name: "Pop",
14
+ particles: {
15
+ number: {
16
+ limit: {
17
+ value: 80,
18
+ mode: "wait",
19
+ },
20
+ value: 80,
21
+ },
22
+ color: {
23
+ value: ["#3998D0", "#2EB6AF", "#A9BD33", "#FEC73B", "#F89930", "#F45623", "#D62E32", "#EB586E", "#9952CF"],
24
+ },
25
+ shape: {
26
+ type: "circle",
27
+ },
28
+ opacity: {
29
+ value: 1,
30
+ },
31
+ size: {
32
+ value: {
33
+ min: 10,
34
+ max: 15,
35
+ },
36
+ },
37
+ collisions: {
38
+ enable: true,
39
+ mode: "bounce",
40
+ },
41
+ move: {
42
+ enable: true,
43
+ speed: 3,
44
+ },
45
+ },
46
+ interactivity: {
47
+ events: {
48
+ onClick: {
49
+ enable: true,
50
+ mode: "pop",
51
+ },
52
+ },
53
+ },
54
+ background: {
55
+ color: "#000000",
56
+ },
57
+ emitters: {
58
+ direction: "none",
59
+ life: {
60
+ count: 0,
61
+ duration: 0.1,
62
+ delay: 0.1,
63
+ },
64
+ rate: {
65
+ delay: 0.1,
66
+ quantity: 1,
67
+ },
68
+ size: {
69
+ width: 100,
70
+ height: 100,
71
+ },
72
+ position: {
73
+ x: 50,
74
+ y: 50,
75
+ },
76
+ },
77
+ };
78
+ exports.default = options;
79
+ });
package/umd/r/random.js CHANGED
@@ -80,7 +80,7 @@
80
80
  density: {
81
81
  enable: true,
82
82
  },
83
- limit: 500,
83
+ limit: { value: 500 },
84
84
  value: 300,
85
85
  },
86
86
  opacity: {
@@ -81,7 +81,6 @@
81
81
  },
82
82
  },
83
83
  number: {
84
- limit: -1,
85
84
  value: 160,
86
85
  },
87
86
  opacity: {
@@ -66,7 +66,6 @@
66
66
  density: {
67
67
  enable: true,
68
68
  },
69
- limit: -1,
70
69
  value: 60,
71
70
  },
72
71
  opacity: {
@@ -55,7 +55,6 @@
55
55
  speed: 1,
56
56
  },
57
57
  number: {
58
- limit: -1,
59
58
  value: 200,
60
59
  },
61
60
  opacity: {
@@ -56,7 +56,6 @@
56
56
  enable: true,
57
57
  },
58
58
  number: {
59
- limit: -1,
60
59
  value: 50,
61
60
  },
62
61
  opacity: {
@@ -85,7 +85,6 @@
85
85
  enable: true,
86
86
  },
87
87
  number: {
88
- limit: -1,
89
88
  value: 160,
90
89
  },
91
90
  opacity: {
package/umd/r/ring.js CHANGED
@@ -14,7 +14,7 @@
14
14
  particles: {
15
15
  number: {
16
16
  value: 0,
17
- limit: 1000,
17
+ limit: { value: 1000 },
18
18
  },
19
19
  color: {
20
20
  value: "#ffffff",