@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,100 @@
1
+ const rate = {
2
+ delay: 0.1,
3
+ quantity: 100,
4
+ };
5
+ const generateEmitter = (shape, options, fill, position) => {
6
+ return {
7
+ shape: {
8
+ type: shape,
9
+ options,
10
+ },
11
+ position: position,
12
+ size: {
13
+ width: 500,
14
+ height: 500,
15
+ mode: "precise",
16
+ },
17
+ startCount: 300,
18
+ rate,
19
+ fill,
20
+ };
21
+ };
22
+ const options = {
23
+ name: "Emitter Text Stroke Shape",
24
+ particles: {
25
+ number: {
26
+ value: 0,
27
+ },
28
+ color: {
29
+ value: [
30
+ "#f44336",
31
+ "#e91e63",
32
+ "#9c27b0",
33
+ "#673ab7",
34
+ "#3f51b5",
35
+ "#2196f3",
36
+ "#03a9f4",
37
+ "#00bcd4",
38
+ "#009688",
39
+ "#4CAF50",
40
+ "#8BC34A",
41
+ "#CDDC39",
42
+ "#FFEB3B",
43
+ "#FFC107",
44
+ "#FF9800",
45
+ "#FF5722",
46
+ ],
47
+ },
48
+ life: {
49
+ count: 1,
50
+ duration: {
51
+ value: 1.5,
52
+ },
53
+ },
54
+ move: {
55
+ enable: true,
56
+ speed: 0.5,
57
+ },
58
+ shape: {
59
+ type: "circle",
60
+ },
61
+ opacity: {
62
+ value: 1,
63
+ },
64
+ size: {
65
+ value: { min: 1, max: 10 },
66
+ animation: {
67
+ enable: true,
68
+ speed: 30,
69
+ sync: true,
70
+ startValue: "min",
71
+ count: 2,
72
+ },
73
+ },
74
+ },
75
+ background: {
76
+ color: "#fff",
77
+ },
78
+ emitters: [
79
+ generateEmitter("canvas", {
80
+ scale: 1,
81
+ pixels: {
82
+ filter: "pixelTextFilter",
83
+ offset: 4,
84
+ },
85
+ text: {
86
+ color: "#ff0000",
87
+ font: {
88
+ size: 500,
89
+ family: "Verdana",
90
+ },
91
+ text: "Particles",
92
+ lines: {
93
+ separator: "\n",
94
+ spacing: 10,
95
+ },
96
+ },
97
+ }, false, { x: 50, y: 50 }),
98
+ ],
99
+ };
100
+ export default options;
package/esm/e/index.js CHANGED
@@ -1,14 +1,24 @@
1
+ import effectBubble from "./effectBubble.js";
2
+ import effectTrail from "./effectTrail.js";
1
3
  import emitter from "./emitter.js";
2
4
  import emitterAbsorber from "./emitterAbsorber.js";
3
5
  import emitterAngled from "./emitterAngled.js";
6
+ import emitterImageShape from "./emitterImageShape.js";
4
7
  import emitterImages from "./emitterImages.js";
5
8
  import emitterPaths from "./emitterPaths.js";
6
9
  import emitterShapes from "./emitterShapes.js";
10
+ import emitterTextShape from "./emitterTextShape.js";
11
+ import emitterTextStrokeShape from "./emitterTextStrokeShape.js";
7
12
  export default {
13
+ effectBubble,
14
+ effectTrail,
8
15
  emitter,
9
16
  emitterAbsorber,
10
17
  emitterAngled,
18
+ emitterImageShape,
11
19
  emitterImages,
12
20
  emitterPaths,
13
21
  emitterShapes,
22
+ emitterTextShape,
23
+ emitterTextStrokeShape,
14
24
  };
@@ -48,7 +48,6 @@ const options = {
48
48
  density: {
49
49
  enable: true,
50
50
  },
51
- limit: 0,
52
51
  value: 80,
53
52
  },
54
53
  opacity: {
package/esm/g/gifs.js CHANGED
@@ -23,7 +23,7 @@ const options = {
23
23
  },
24
24
  number: {
25
25
  value: 20,
26
- limit: 30,
26
+ limit: { value: 30 },
27
27
  },
28
28
  opacity: {
29
29
  value: 1,
@@ -66,7 +66,6 @@ const options = {
66
66
  density: {
67
67
  enable: false,
68
68
  },
69
- limit: 0,
70
69
  value: 400,
71
70
  },
72
71
  opacity: {
package/esm/i/images.js CHANGED
@@ -35,7 +35,6 @@ const options = {
35
35
  density: {
36
36
  enable: true,
37
37
  },
38
- limit: 0,
39
38
  value: 80,
40
39
  },
41
40
  opacity: {
@@ -38,7 +38,6 @@ const options = {
38
38
  density: {
39
39
  enable: false,
40
40
  },
41
- limit: 0,
42
41
  value: 200,
43
42
  },
44
43
  opacity: {
package/esm/m/index.js CHANGED
@@ -5,6 +5,7 @@ import mouseAttract from "./mouseAttract.js";
5
5
  import mouseBounce from "./mouseBounce.js";
6
6
  import mouseFollow from "./mouseFollow.js";
7
7
  import mouseTrail from "./mouseTrail.js";
8
+ import mouseTrailNoise from "./mouseTrailNoise.js";
8
9
  import moveAngle from "./moveAngle.js";
9
10
  import moveDistance from "./moveDistance.js";
10
11
  import moveInside from "./moveInside.js";
@@ -19,6 +20,7 @@ export default {
19
20
  mouseBounce,
20
21
  mouseFollow,
21
22
  mouseTrail,
23
+ mouseTrailNoise,
22
24
  moveAngle,
23
25
  moveDistance,
24
26
  moveInside,
@@ -0,0 +1,118 @@
1
+ const options = {
2
+ name: "Mouse Trail Noise",
3
+ particles: {
4
+ number: {
5
+ value: 0,
6
+ },
7
+ color: {
8
+ value: ["#ff0000", "#00ff00", "#0000ff"],
9
+ animation: {
10
+ enable: true,
11
+ speed: 360,
12
+ sync: false,
13
+ },
14
+ },
15
+ shape: {
16
+ type: "triangle",
17
+ },
18
+ opacity: {
19
+ value: { min: 0, max: 1 },
20
+ animation: {
21
+ enable: true,
22
+ speed: 1,
23
+ sync: false,
24
+ destroy: "min",
25
+ },
26
+ },
27
+ size: {
28
+ value: {
29
+ min: 4,
30
+ max: 8,
31
+ },
32
+ },
33
+ move: {
34
+ enable: true,
35
+ speed: 6,
36
+ outModes: "destroy",
37
+ path: {
38
+ enable: true,
39
+ options: {
40
+ size: 64,
41
+ draw: false,
42
+ increment: 0.005,
43
+ },
44
+ delay: {
45
+ value: 0,
46
+ },
47
+ generator: "perlinNoise",
48
+ },
49
+ },
50
+ rotate: {
51
+ value: {
52
+ min: 0,
53
+ max: 360,
54
+ },
55
+ direction: "random",
56
+ move: true,
57
+ animation: {
58
+ enable: true,
59
+ speed: 60,
60
+ },
61
+ },
62
+ tilt: {
63
+ direction: "random",
64
+ enable: true,
65
+ move: true,
66
+ value: {
67
+ min: 0,
68
+ max: 360,
69
+ },
70
+ animation: {
71
+ enable: true,
72
+ speed: 60,
73
+ },
74
+ },
75
+ roll: {
76
+ darken: {
77
+ enable: true,
78
+ value: 30,
79
+ },
80
+ enlighten: {
81
+ enable: true,
82
+ value: 30,
83
+ },
84
+ enable: true,
85
+ mode: "both",
86
+ speed: {
87
+ min: 15,
88
+ max: 25,
89
+ },
90
+ },
91
+ wobble: {
92
+ distance: 30,
93
+ enable: true,
94
+ move: true,
95
+ speed: {
96
+ min: -15,
97
+ max: 15,
98
+ },
99
+ },
100
+ },
101
+ interactivity: {
102
+ events: {
103
+ onHover: {
104
+ enable: true,
105
+ mode: "trail",
106
+ },
107
+ },
108
+ modes: {
109
+ trail: {
110
+ delay: 0.01,
111
+ },
112
+ },
113
+ },
114
+ background: {
115
+ color: "#000000",
116
+ },
117
+ };
118
+ export default options;
@@ -72,7 +72,6 @@ const options = {
72
72
  speed: 1,
73
73
  },
74
74
  number: {
75
- limit: 0,
76
75
  value: 200,
77
76
  },
78
77
  opacity: {
package/esm/o/orbit.js CHANGED
@@ -12,7 +12,7 @@ const options = {
12
12
  density: {
13
13
  enable: true,
14
14
  },
15
- limit: 300,
15
+ limit: { value: 300 },
16
16
  value: 100,
17
17
  },
18
18
  opacity: {
package/esm/p/index.js CHANGED
@@ -5,6 +5,7 @@ import planes from "./planes.js";
5
5
  import plasma from "./plasma.js";
6
6
  import polygonMask from "./polygonMask.js";
7
7
  import polygons from "./polygons.js";
8
+ import pop from "./pop.js";
8
9
  export default {
9
10
  parallax,
10
11
  pathPolygonMask,
@@ -13,4 +14,5 @@ export default {
13
14
  plasma,
14
15
  polygonMask,
15
16
  polygons,
17
+ pop,
16
18
  };
@@ -33,7 +33,6 @@ const options = {
33
33
  speed: 1,
34
34
  },
35
35
  number: {
36
- limit: 0,
37
36
  value: 80,
38
37
  },
39
38
  opacity: {
package/esm/p/pathSvg.js CHANGED
@@ -32,7 +32,6 @@ const options = {
32
32
  },
33
33
  },
34
34
  number: {
35
- limit: 0,
36
35
  value: 80,
37
36
  },
38
37
  opacity: {
@@ -72,7 +72,6 @@ const options = {
72
72
  speed: 1,
73
73
  },
74
74
  number: {
75
- limit: 0,
76
75
  value: 200,
77
76
  },
78
77
  opacity: {
package/esm/p/pop.js ADDED
@@ -0,0 +1,67 @@
1
+ const options = {
2
+ name: "Pop",
3
+ particles: {
4
+ number: {
5
+ limit: {
6
+ value: 80,
7
+ mode: "wait",
8
+ },
9
+ value: 80,
10
+ },
11
+ color: {
12
+ value: ["#3998D0", "#2EB6AF", "#A9BD33", "#FEC73B", "#F89930", "#F45623", "#D62E32", "#EB586E", "#9952CF"],
13
+ },
14
+ shape: {
15
+ type: "circle",
16
+ },
17
+ opacity: {
18
+ value: 1,
19
+ },
20
+ size: {
21
+ value: {
22
+ min: 10,
23
+ max: 15,
24
+ },
25
+ },
26
+ collisions: {
27
+ enable: true,
28
+ mode: "bounce",
29
+ },
30
+ move: {
31
+ enable: true,
32
+ speed: 3,
33
+ },
34
+ },
35
+ interactivity: {
36
+ events: {
37
+ onClick: {
38
+ enable: true,
39
+ mode: "pop",
40
+ },
41
+ },
42
+ },
43
+ background: {
44
+ color: "#000000",
45
+ },
46
+ emitters: {
47
+ direction: "none",
48
+ life: {
49
+ count: 0,
50
+ duration: 0.1,
51
+ delay: 0.1,
52
+ },
53
+ rate: {
54
+ delay: 0.1,
55
+ quantity: 1,
56
+ },
57
+ size: {
58
+ width: 100,
59
+ height: 100,
60
+ },
61
+ position: {
62
+ x: 50,
63
+ y: 50,
64
+ },
65
+ },
66
+ };
67
+ export default options;
package/esm/r/random.js CHANGED
@@ -69,7 +69,7 @@ const options = {
69
69
  density: {
70
70
  enable: true,
71
71
  },
72
- limit: 500,
72
+ limit: { value: 500 },
73
73
  value: 300,
74
74
  },
75
75
  opacity: {
@@ -70,7 +70,6 @@ const options = {
70
70
  },
71
71
  },
72
72
  number: {
73
- limit: -1,
74
73
  value: 160,
75
74
  },
76
75
  opacity: {
@@ -55,7 +55,6 @@ const options = {
55
55
  density: {
56
56
  enable: true,
57
57
  },
58
- limit: -1,
59
58
  value: 60,
60
59
  },
61
60
  opacity: {
@@ -44,7 +44,6 @@ const options = {
44
44
  speed: 1,
45
45
  },
46
46
  number: {
47
- limit: -1,
48
47
  value: 200,
49
48
  },
50
49
  opacity: {
@@ -45,7 +45,6 @@ const options = {
45
45
  enable: true,
46
46
  },
47
47
  number: {
48
- limit: -1,
49
48
  value: 50,
50
49
  },
51
50
  opacity: {
@@ -74,7 +74,6 @@ const options = {
74
74
  enable: true,
75
75
  },
76
76
  number: {
77
- limit: -1,
78
77
  value: 160,
79
78
  },
80
79
  opacity: {
package/esm/r/ring.js CHANGED
@@ -3,7 +3,7 @@ const options = {
3
3
  particles: {
4
4
  number: {
5
5
  value: 0,
6
- limit: 1000,
6
+ limit: { value: 1000 },
7
7
  },
8
8
  color: {
9
9
  value: "#ffffff",
package/esm/s/index.js CHANGED
@@ -1,7 +1,6 @@
1
1
  import seaAnemone from "./seaAnemone.js";
2
2
  import shadow from "./shadow.js";
3
3
  import shapeArrow from "./shapeArrow.js";
4
- import shapeBubble from "./shapeBubble.js";
5
4
  import shapeCog from "./shapeCog.js";
6
5
  import shapeHeart from "./shapeHeart.js";
7
6
  import shapeMultilineText from "./shapeMultilineText.js";
@@ -27,7 +26,6 @@ export default {
27
26
  seaAnemone,
28
27
  shadow,
29
28
  shapeArrow,
30
- shapeBubble,
31
29
  shapeCog,
32
30
  shapeHeart,
33
31
  shapeMultilineText,
@@ -16,9 +16,9 @@ const options = {
16
16
  },
17
17
  },
18
18
  shape: {
19
- type: "multiline-text",
19
+ type: "text",
20
20
  options: {
21
- "multiline-text": {
21
+ text: {
22
22
  value: "pippo\npluto",
23
23
  },
24
24
  },
package/esm/s/style.js CHANGED
@@ -3,7 +3,7 @@ const options = {
3
3
  particles: {
4
4
  number: {
5
5
  value: 200,
6
- limit: 200,
6
+ limit: { value: 200 },
7
7
  },
8
8
  color: {
9
9
  value: ["#ff0000", "#00ff00", "#0000ff", "#ffff00", "#ff00ff", "#00ffff"],
@@ -69,7 +69,6 @@ const options = {
69
69
  density: {
70
70
  enable: true,
71
71
  },
72
- limit: 0,
73
72
  value: 80,
74
73
  },
75
74
  opacity: {
package/esm/t/tilt.js CHANGED
@@ -42,7 +42,7 @@ const options = {
42
42
  },
43
43
  number: {
44
44
  value: 0,
45
- limit: 300,
45
+ limit: { value: 300 },
46
46
  },
47
47
  opacity: {
48
48
  value: 1,
package/esm/t/trail.js CHANGED
@@ -21,7 +21,7 @@ const options = {
21
21
  particles: {
22
22
  number: {
23
23
  value: 0,
24
- limit: 300,
24
+ limit: { value: 300 },
25
25
  },
26
26
  color: {
27
27
  value: ["#5bc0eb", "#fde74c", "#9bc53d", "#e55934", "#fa7921"],
@@ -25,7 +25,7 @@ const options = {
25
25
  particles: {
26
26
  number: {
27
27
  value: 0,
28
- limit: 300,
28
+ limit: { value: 300 },
29
29
  },
30
30
  color: {
31
31
  value: ["#5bc0eb", "#fde74c", "#9bc53d", "#e55934", "#fa7921"],
package/esm/w/wobble.js CHANGED
@@ -42,7 +42,7 @@ const options = {
42
42
  },
43
43
  number: {
44
44
  value: 0,
45
- limit: 300,
45
+ limit: { value: 300 },
46
46
  },
47
47
  opacity: {
48
48
  value: 1,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tsparticles/configs",
3
- "version": "3.0.0-beta.2",
3
+ "version": "3.0.0-beta.4",
4
4
  "description": "tsParticles demo configurations",
5
5
  "homepage": "https://particles.js.org",
6
6
  "repository": {
@@ -99,7 +99,7 @@
99
99
  "./package.json": "./package.json"
100
100
  },
101
101
  "dependencies": {
102
- "@tsparticles/engine": "^3.0.0-beta.2"
102
+ "@tsparticles/engine": "^3.0.0-beta.4"
103
103
  },
104
104
  "publishConfig": {
105
105
  "access": "public"