@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
package/umd/s/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", "./seaAnemone.js", "./shadow.js", "./shapeArrow.js", "./shapeBubble.js", "./shapeCog.js", "./shapeHeart.js", "./shapeMultilineText.js", "./shapeOptions.js", "./shapePath.js", "./shapeRoundedPolygon.js", "./shapeRoundedRect.js", "./shapeSpiral.js", "./slow.js", "./snow.js", "./soundsAudio.js", "./soundsLoop.js", "./soundsMelodies.js", "./soundsMelodyLoop.js", "./soundsNotes.js", "./speedDecay.js", "./spin.js", "./star.js", "./strokeAnimation.js", "./style.js", "./svgReplace.js"], factory);
10
+ define(["require", "exports", "./seaAnemone.js", "./shadow.js", "./shapeArrow.js", "./shapeCog.js", "./shapeHeart.js", "./shapeMultilineText.js", "./shapeOptions.js", "./shapePath.js", "./shapeRoundedPolygon.js", "./shapeRoundedRect.js", "./shapeSpiral.js", "./slow.js", "./snow.js", "./soundsAudio.js", "./soundsLoop.js", "./soundsMelodies.js", "./soundsMelodyLoop.js", "./soundsNotes.js", "./speedDecay.js", "./spin.js", "./star.js", "./strokeAnimation.js", "./style.js", "./svgReplace.js"], factory);
11
11
  }
12
12
  })(function (require, exports) {
13
13
  "use strict";
@@ -15,7 +15,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
15
15
  const seaAnemone_js_1 = __importDefault(require("./seaAnemone.js"));
16
16
  const shadow_js_1 = __importDefault(require("./shadow.js"));
17
17
  const shapeArrow_js_1 = __importDefault(require("./shapeArrow.js"));
18
- const shapeBubble_js_1 = __importDefault(require("./shapeBubble.js"));
19
18
  const shapeCog_js_1 = __importDefault(require("./shapeCog.js"));
20
19
  const shapeHeart_js_1 = __importDefault(require("./shapeHeart.js"));
21
20
  const shapeMultilineText_js_1 = __importDefault(require("./shapeMultilineText.js"));
@@ -41,7 +40,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
41
40
  seaAnemone: seaAnemone_js_1.default,
42
41
  shadow: shadow_js_1.default,
43
42
  shapeArrow: shapeArrow_js_1.default,
44
- shapeBubble: shapeBubble_js_1.default,
45
43
  shapeCog: shapeCog_js_1.default,
46
44
  shapeHeart: shapeHeart_js_1.default,
47
45
  shapeMultilineText: shapeMultilineText_js_1.default,
@@ -27,9 +27,9 @@
27
27
  },
28
28
  },
29
29
  shape: {
30
- type: "multiline-text",
30
+ type: "text",
31
31
  options: {
32
- "multiline-text": {
32
+ text: {
33
33
  value: "pippo\npluto",
34
34
  },
35
35
  },
package/umd/s/style.js CHANGED
@@ -14,7 +14,7 @@
14
14
  particles: {
15
15
  number: {
16
16
  value: 200,
17
- limit: 200,
17
+ limit: { value: 200 },
18
18
  },
19
19
  color: {
20
20
  value: ["#ff0000", "#00ff00", "#0000ff", "#ffff00", "#ff00ff", "#00ffff"],
@@ -80,7 +80,6 @@
80
80
  density: {
81
81
  enable: true,
82
82
  },
83
- limit: 0,
84
83
  value: 80,
85
84
  },
86
85
  opacity: {
package/umd/t/tilt.js CHANGED
@@ -53,7 +53,7 @@
53
53
  },
54
54
  number: {
55
55
  value: 0,
56
- limit: 300,
56
+ limit: { value: 300 },
57
57
  },
58
58
  opacity: {
59
59
  value: 1,
package/umd/t/trail.js CHANGED
@@ -32,7 +32,7 @@
32
32
  particles: {
33
33
  number: {
34
34
  value: 0,
35
- limit: 300,
35
+ limit: { value: 300 },
36
36
  },
37
37
  color: {
38
38
  value: ["#5bc0eb", "#fde74c", "#9bc53d", "#e55934", "#fa7921"],
@@ -36,7 +36,7 @@
36
36
  particles: {
37
37
  number: {
38
38
  value: 0,
39
- limit: 300,
39
+ limit: { value: 300 },
40
40
  },
41
41
  color: {
42
42
  value: ["#5bc0eb", "#fde74c", "#9bc53d", "#e55934", "#fa7921"],
package/umd/w/wobble.js CHANGED
@@ -53,7 +53,7 @@
53
53
  },
54
54
  number: {
55
55
  value: 0,
56
- limit: 300,
56
+ limit: { value: 300 },
57
57
  },
58
58
  opacity: {
59
59
  value: 1,
@@ -1,5 +0,0 @@
1
- const options = {
2
- name: "Custom Preset",
3
- preset: "fire",
4
- };
5
- export default options;
@@ -1,49 +0,0 @@
1
- const options = {
2
- name: "Custom Shape",
3
- particles: {
4
- links: {
5
- enable: false,
6
- },
7
- stroke: {
8
- color: {
9
- value: "random",
10
- },
11
- width: 1,
12
- },
13
- shape: {
14
- type: "spiral",
15
- options: {
16
- spiral: {
17
- innerRadius: 1,
18
- lineSpacing: 1,
19
- fill: false,
20
- close: false,
21
- },
22
- },
23
- },
24
- size: {
25
- value: 20,
26
- },
27
- rotate: {
28
- value: {
29
- min: 0,
30
- max: 360,
31
- },
32
- direction: "clockwise",
33
- animation: {
34
- enable: true,
35
- speed: 50,
36
- sync: false,
37
- },
38
- },
39
- },
40
- preset: "links",
41
- background: {
42
- color: "#000000",
43
- image: "",
44
- position: "50% 50%",
45
- repeat: "no-repeat",
46
- size: "cover",
47
- },
48
- };
49
- export default options;
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const options = {
4
- name: "Custom Preset",
5
- preset: "fire",
6
- };
7
- exports.default = options;
@@ -1,51 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const options = {
4
- name: "Custom Shape",
5
- particles: {
6
- links: {
7
- enable: false,
8
- },
9
- stroke: {
10
- color: {
11
- value: "random",
12
- },
13
- width: 1,
14
- },
15
- shape: {
16
- type: "spiral",
17
- options: {
18
- spiral: {
19
- innerRadius: 1,
20
- lineSpacing: 1,
21
- fill: false,
22
- close: false,
23
- },
24
- },
25
- },
26
- size: {
27
- value: 20,
28
- },
29
- rotate: {
30
- value: {
31
- min: 0,
32
- max: 360,
33
- },
34
- direction: "clockwise",
35
- animation: {
36
- enable: true,
37
- speed: 50,
38
- sync: false,
39
- },
40
- },
41
- },
42
- preset: "links",
43
- background: {
44
- color: "#000000",
45
- image: "",
46
- position: "50% 50%",
47
- repeat: "no-repeat",
48
- size: "cover",
49
- },
50
- };
51
- exports.default = options;
@@ -1,5 +0,0 @@
1
- const options = {
2
- name: "Custom Preset",
3
- preset: "fire",
4
- };
5
- export default options;
@@ -1,49 +0,0 @@
1
- const options = {
2
- name: "Custom Shape",
3
- particles: {
4
- links: {
5
- enable: false,
6
- },
7
- stroke: {
8
- color: {
9
- value: "random",
10
- },
11
- width: 1,
12
- },
13
- shape: {
14
- type: "spiral",
15
- options: {
16
- spiral: {
17
- innerRadius: 1,
18
- lineSpacing: 1,
19
- fill: false,
20
- close: false,
21
- },
22
- },
23
- },
24
- size: {
25
- value: 20,
26
- },
27
- rotate: {
28
- value: {
29
- min: 0,
30
- max: 360,
31
- },
32
- direction: "clockwise",
33
- animation: {
34
- enable: true,
35
- speed: 50,
36
- sync: false,
37
- },
38
- },
39
- },
40
- preset: "links",
41
- background: {
42
- color: "#000000",
43
- image: "",
44
- position: "50% 50%",
45
- repeat: "no-repeat",
46
- size: "cover",
47
- },
48
- };
49
- export default options;
@@ -1,17 +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
- name: "Custom Preset",
14
- preset: "fire",
15
- };
16
- exports.default = options;
17
- });
File without changes