@tsparticles/configs 3.0.0-beta.3 → 3.0.0-beta.5

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 (198) 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 -0
  4. package/browser/d/dataImages.js +0 -1
  5. package/browser/{s/shapeBubble.js → 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 +5 -3
  16. package/browser/i/images.js +0 -1
  17. package/browser/i/imagesDirections.js +5 -2
  18. package/browser/l/localPolygonMask.js +5 -3
  19. package/browser/m/index.js +2 -0
  20. package/browser/m/mouseTrailNoise.js +118 -0
  21. package/browser/m/multiplePolygonMasks.js +5 -3
  22. package/browser/o/orbit.js +1 -1
  23. package/browser/p/index.js +2 -0
  24. package/browser/p/pathPolygonMask.js +5 -3
  25. package/browser/p/pathSvg.js +0 -1
  26. package/browser/p/polygonMask.js +5 -3
  27. package/browser/p/pop.js +67 -0
  28. package/browser/r/random.js +1 -1
  29. package/browser/r/reactBubbles.js +0 -1
  30. package/browser/r/reactNightSky.js +0 -1
  31. package/browser/r/reactPolygonMask.js +0 -1
  32. package/browser/r/reactSimple.js +0 -1
  33. package/browser/r/reactSnow.js +0 -1
  34. package/browser/r/ring.js +1 -1
  35. package/browser/s/index.js +2 -2
  36. package/browser/s/shapeEmoji.js +184 -0
  37. package/browser/s/shapeMultilineText.js +2 -2
  38. package/browser/s/style.js +1 -1
  39. package/browser/s/svgReplace.js +0 -1
  40. package/browser/t/themes.js +0 -1
  41. package/browser/t/tilt.js +1 -1
  42. package/browser/t/trail.js +1 -1
  43. package/browser/t/trailImage.js +1 -1
  44. package/browser/w/wobble.js +1 -1
  45. package/cjs/c/connect.js +3 -1
  46. package/cjs/c/curlNoise.js +51 -0
  47. package/cjs/c/index.js +2 -0
  48. package/cjs/d/dataImages.js +0 -1
  49. package/cjs/{s/shapeBubble.js → e/effectBubble.js} +5 -2
  50. package/cjs/e/effectTrail.js +55 -0
  51. package/cjs/e/emitterImageShape.js +97 -0
  52. package/cjs/e/emitterImages.js +0 -1
  53. package/cjs/e/emitterShapes.js +56 -70
  54. package/cjs/e/emitterTextShape.js +102 -0
  55. package/cjs/e/emitterTextStrokeShape.js +102 -0
  56. package/cjs/e/index.js +10 -0
  57. package/cjs/f/fontawesome.js +0 -1
  58. package/cjs/g/gifs.js +1 -1
  59. package/cjs/h/hollowknight.js +5 -3
  60. package/cjs/i/images.js +0 -1
  61. package/cjs/i/imagesDirections.js +5 -2
  62. package/cjs/l/localPolygonMask.js +5 -3
  63. package/cjs/m/index.js +2 -0
  64. package/cjs/m/mouseTrailNoise.js +120 -0
  65. package/cjs/m/multiplePolygonMasks.js +5 -3
  66. package/cjs/o/orbit.js +1 -1
  67. package/cjs/p/index.js +2 -0
  68. package/cjs/p/pathPolygonMask.js +5 -3
  69. package/cjs/p/pathSvg.js +0 -1
  70. package/cjs/p/polygonMask.js +5 -3
  71. package/cjs/p/pop.js +69 -0
  72. package/cjs/r/random.js +1 -1
  73. package/cjs/r/reactBubbles.js +0 -1
  74. package/cjs/r/reactNightSky.js +0 -1
  75. package/cjs/r/reactPolygonMask.js +0 -1
  76. package/cjs/r/reactSimple.js +0 -1
  77. package/cjs/r/reactSnow.js +0 -1
  78. package/cjs/r/ring.js +1 -1
  79. package/cjs/s/index.js +2 -2
  80. package/cjs/s/shapeEmoji.js +186 -0
  81. package/cjs/s/shapeMultilineText.js +2 -2
  82. package/cjs/s/style.js +1 -1
  83. package/cjs/s/svgReplace.js +0 -1
  84. package/cjs/t/themes.js +0 -1
  85. package/cjs/t/tilt.js +1 -1
  86. package/cjs/t/trail.js +1 -1
  87. package/cjs/t/trailImage.js +1 -1
  88. package/cjs/w/wobble.js +1 -1
  89. package/esm/c/connect.js +3 -1
  90. package/esm/c/curlNoise.js +49 -0
  91. package/esm/c/index.js +2 -0
  92. package/esm/d/dataImages.js +0 -1
  93. package/esm/{s/shapeBubble.js → e/effectBubble.js} +5 -2
  94. package/esm/e/effectTrail.js +53 -0
  95. package/esm/e/emitterImageShape.js +95 -0
  96. package/esm/e/emitterImages.js +0 -1
  97. package/esm/e/emitterShapes.js +56 -70
  98. package/esm/e/emitterTextShape.js +100 -0
  99. package/esm/e/emitterTextStrokeShape.js +100 -0
  100. package/esm/e/index.js +10 -0
  101. package/esm/f/fontawesome.js +0 -1
  102. package/esm/g/gifs.js +1 -1
  103. package/esm/h/hollowknight.js +5 -3
  104. package/esm/i/images.js +0 -1
  105. package/esm/i/imagesDirections.js +5 -2
  106. package/esm/l/localPolygonMask.js +5 -3
  107. package/esm/m/index.js +2 -0
  108. package/esm/m/mouseTrailNoise.js +118 -0
  109. package/esm/m/multiplePolygonMasks.js +5 -3
  110. package/esm/o/orbit.js +1 -1
  111. package/esm/p/index.js +2 -0
  112. package/esm/p/pathPolygonMask.js +5 -3
  113. package/esm/p/pathSvg.js +0 -1
  114. package/esm/p/polygonMask.js +5 -3
  115. package/esm/p/pop.js +67 -0
  116. package/esm/r/random.js +1 -1
  117. package/esm/r/reactBubbles.js +0 -1
  118. package/esm/r/reactNightSky.js +0 -1
  119. package/esm/r/reactPolygonMask.js +0 -1
  120. package/esm/r/reactSimple.js +0 -1
  121. package/esm/r/reactSnow.js +0 -1
  122. package/esm/r/ring.js +1 -1
  123. package/esm/s/index.js +2 -2
  124. package/esm/s/shapeEmoji.js +184 -0
  125. package/esm/s/shapeMultilineText.js +2 -2
  126. package/esm/s/style.js +1 -1
  127. package/esm/s/svgReplace.js +0 -1
  128. package/esm/t/themes.js +0 -1
  129. package/esm/t/tilt.js +1 -1
  130. package/esm/t/trail.js +1 -1
  131. package/esm/t/trailImage.js +1 -1
  132. package/esm/w/wobble.js +1 -1
  133. package/package.json +2 -2
  134. package/report.html +4 -22
  135. package/tsparticles.configs.bundle.js +1 -1
  136. package/tsparticles.configs.bundle.min.js.LICENSE.txt +1 -1
  137. package/tsparticles.configs.js +975 -173
  138. package/tsparticles.configs.min.js +1 -1
  139. package/tsparticles.configs.min.js.LICENSE.txt +1 -1
  140. package/types/c/index.d.ts +1 -0
  141. package/types/e/effectBubble.d.ts +3 -0
  142. package/types/e/effectTrail.d.ts +3 -0
  143. package/types/e/emitterImageShape.d.ts +3 -0
  144. package/types/e/emitterTextShape.d.ts +3 -0
  145. package/types/e/emitterTextStrokeShape.d.ts +3 -0
  146. package/types/e/index.d.ts +5 -0
  147. package/types/index.d.ts +9 -1
  148. package/types/m/index.d.ts +1 -0
  149. package/types/m/mouseTrailNoise.d.ts +3 -0
  150. package/types/p/index.d.ts +1 -0
  151. package/types/p/pop.d.ts +3 -0
  152. package/types/s/index.d.ts +1 -1
  153. package/types/s/shapeEmoji.d.ts +3 -0
  154. package/umd/c/connect.js +3 -1
  155. package/umd/c/curlNoise.js +61 -0
  156. package/umd/c/index.js +3 -1
  157. package/umd/d/dataImages.js +0 -1
  158. package/umd/{s/shapeBubble.js → e/effectBubble.js} +5 -2
  159. package/umd/e/effectTrail.js +65 -0
  160. package/umd/e/emitterImageShape.js +107 -0
  161. package/umd/e/emitterImages.js +0 -1
  162. package/umd/e/emitterShapes.js +56 -70
  163. package/umd/e/emitterTextShape.js +112 -0
  164. package/umd/e/emitterTextStrokeShape.js +112 -0
  165. package/umd/e/index.js +11 -1
  166. package/umd/f/fontawesome.js +0 -1
  167. package/umd/g/gifs.js +1 -1
  168. package/umd/h/hollowknight.js +5 -3
  169. package/umd/i/images.js +0 -1
  170. package/umd/i/imagesDirections.js +5 -2
  171. package/umd/l/localPolygonMask.js +5 -3
  172. package/umd/m/index.js +3 -1
  173. package/umd/m/mouseTrailNoise.js +130 -0
  174. package/umd/m/multiplePolygonMasks.js +5 -3
  175. package/umd/o/orbit.js +1 -1
  176. package/umd/p/index.js +3 -1
  177. package/umd/p/pathPolygonMask.js +5 -3
  178. package/umd/p/pathSvg.js +0 -1
  179. package/umd/p/polygonMask.js +5 -3
  180. package/umd/p/pop.js +79 -0
  181. package/umd/r/random.js +1 -1
  182. package/umd/r/reactBubbles.js +0 -1
  183. package/umd/r/reactNightSky.js +0 -1
  184. package/umd/r/reactPolygonMask.js +0 -1
  185. package/umd/r/reactSimple.js +0 -1
  186. package/umd/r/reactSnow.js +0 -1
  187. package/umd/r/ring.js +1 -1
  188. package/umd/s/index.js +3 -3
  189. package/umd/s/shapeEmoji.js +196 -0
  190. package/umd/s/shapeMultilineText.js +2 -2
  191. package/umd/s/style.js +1 -1
  192. package/umd/s/svgReplace.js +0 -1
  193. package/umd/t/themes.js +0 -1
  194. package/umd/t/tilt.js +1 -1
  195. package/umd/t/trail.js +1 -1
  196. package/umd/t/trailImage.js +1 -1
  197. package/umd/w/wobble.js +1 -1
  198. /package/types/{s/shapeBubble.d.ts → c/curlNoise.d.ts} +0 -0
@@ -40,7 +40,6 @@ const options = {
40
40
  density: {
41
41
  enable: false,
42
42
  },
43
- limit: 0,
44
43
  value: 200,
45
44
  },
46
45
  opacity: {
@@ -56,8 +55,11 @@ const options = {
56
55
  polygon: {
57
56
  draw: {
58
57
  enable: true,
59
- lineColor: "rgba(255,255,255,1)",
60
- lineWidth: 1,
58
+ stroke: {
59
+ color: "#fff",
60
+ width: 0.5,
61
+ opacity: 0.2,
62
+ },
61
63
  },
62
64
  enable: true,
63
65
  move: {
package/cjs/m/index.js CHANGED
@@ -10,6 +10,7 @@ const mouseAttract_js_1 = __importDefault(require("./mouseAttract.js"));
10
10
  const mouseBounce_js_1 = __importDefault(require("./mouseBounce.js"));
11
11
  const mouseFollow_js_1 = __importDefault(require("./mouseFollow.js"));
12
12
  const mouseTrail_js_1 = __importDefault(require("./mouseTrail.js"));
13
+ const mouseTrailNoise_js_1 = __importDefault(require("./mouseTrailNoise.js"));
13
14
  const moveAngle_js_1 = __importDefault(require("./moveAngle.js"));
14
15
  const moveDistance_js_1 = __importDefault(require("./moveDistance.js"));
15
16
  const moveInside_js_1 = __importDefault(require("./moveInside.js"));
@@ -24,6 +25,7 @@ exports.default = {
24
25
  mouseBounce: mouseBounce_js_1.default,
25
26
  mouseFollow: mouseFollow_js_1.default,
26
27
  mouseTrail: mouseTrail_js_1.default,
28
+ mouseTrailNoise: mouseTrailNoise_js_1.default,
27
29
  moveAngle: moveAngle_js_1.default,
28
30
  moveDistance: moveDistance_js_1.default,
29
31
  moveInside: moveInside_js_1.default,
@@ -0,0 +1,120 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const options = {
4
+ name: "Mouse Trail Noise",
5
+ particles: {
6
+ number: {
7
+ value: 0,
8
+ },
9
+ color: {
10
+ value: ["#ff0000", "#00ff00", "#0000ff"],
11
+ animation: {
12
+ enable: true,
13
+ speed: 360,
14
+ sync: false,
15
+ },
16
+ },
17
+ shape: {
18
+ type: "triangle",
19
+ },
20
+ opacity: {
21
+ value: { min: 0, max: 1 },
22
+ animation: {
23
+ enable: true,
24
+ speed: 1,
25
+ sync: false,
26
+ destroy: "min",
27
+ },
28
+ },
29
+ size: {
30
+ value: {
31
+ min: 4,
32
+ max: 8,
33
+ },
34
+ },
35
+ move: {
36
+ enable: true,
37
+ speed: 6,
38
+ outModes: "destroy",
39
+ path: {
40
+ enable: true,
41
+ options: {
42
+ size: 64,
43
+ draw: false,
44
+ increment: 0.005,
45
+ },
46
+ delay: {
47
+ value: 0,
48
+ },
49
+ generator: "perlinNoise",
50
+ },
51
+ },
52
+ rotate: {
53
+ value: {
54
+ min: 0,
55
+ max: 360,
56
+ },
57
+ direction: "random",
58
+ move: true,
59
+ animation: {
60
+ enable: true,
61
+ speed: 60,
62
+ },
63
+ },
64
+ tilt: {
65
+ direction: "random",
66
+ enable: true,
67
+ move: true,
68
+ value: {
69
+ min: 0,
70
+ max: 360,
71
+ },
72
+ animation: {
73
+ enable: true,
74
+ speed: 60,
75
+ },
76
+ },
77
+ roll: {
78
+ darken: {
79
+ enable: true,
80
+ value: 30,
81
+ },
82
+ enlighten: {
83
+ enable: true,
84
+ value: 30,
85
+ },
86
+ enable: true,
87
+ mode: "both",
88
+ speed: {
89
+ min: 15,
90
+ max: 25,
91
+ },
92
+ },
93
+ wobble: {
94
+ distance: 30,
95
+ enable: true,
96
+ move: true,
97
+ speed: {
98
+ min: -15,
99
+ max: 15,
100
+ },
101
+ },
102
+ },
103
+ interactivity: {
104
+ events: {
105
+ onHover: {
106
+ enable: true,
107
+ mode: "trail",
108
+ },
109
+ },
110
+ modes: {
111
+ trail: {
112
+ delay: 0.01,
113
+ },
114
+ },
115
+ },
116
+ background: {
117
+ color: "#000000",
118
+ },
119
+ };
120
+ exports.default = options;
@@ -74,7 +74,6 @@ const options = {
74
74
  speed: 1,
75
75
  },
76
76
  number: {
77
- limit: 0,
78
77
  value: 200,
79
78
  },
80
79
  opacity: {
@@ -98,8 +97,11 @@ const options = {
98
97
  polygon: {
99
98
  draw: {
100
99
  enable: true,
101
- lineColor: "rgba(255,255,255,0.2)",
102
- lineWidth: 0.5,
100
+ stroke: {
101
+ color: "#fff",
102
+ width: 0.5,
103
+ opacity: 0.2,
104
+ },
103
105
  },
104
106
  enable: true,
105
107
  move: {
package/cjs/o/orbit.js CHANGED
@@ -14,7 +14,7 @@ const options = {
14
14
  density: {
15
15
  enable: true,
16
16
  },
17
- limit: 300,
17
+ limit: { value: 300 },
18
18
  value: 100,
19
19
  },
20
20
  opacity: {
package/cjs/p/index.js CHANGED
@@ -10,6 +10,7 @@ const planes_js_1 = __importDefault(require("./planes.js"));
10
10
  const plasma_js_1 = __importDefault(require("./plasma.js"));
11
11
  const polygonMask_js_1 = __importDefault(require("./polygonMask.js"));
12
12
  const polygons_js_1 = __importDefault(require("./polygons.js"));
13
+ const pop_js_1 = __importDefault(require("./pop.js"));
13
14
  exports.default = {
14
15
  parallax: parallax_js_1.default,
15
16
  pathPolygonMask: pathPolygonMask_js_1.default,
@@ -18,4 +19,5 @@ exports.default = {
18
19
  plasma: plasma_js_1.default,
19
20
  polygonMask: polygonMask_js_1.default,
20
21
  polygons: polygons_js_1.default,
22
+ pop: pop_js_1.default,
21
23
  };
@@ -35,7 +35,6 @@ const options = {
35
35
  speed: 1,
36
36
  },
37
37
  number: {
38
- limit: 0,
39
38
  value: 80,
40
39
  },
41
40
  opacity: {
@@ -59,8 +58,11 @@ const options = {
59
58
  polygon: {
60
59
  draw: {
61
60
  enable: true,
62
- lineColor: "rgba(255,255,255,0.2)",
63
- lineWidth: 0.5,
61
+ stroke: {
62
+ color: "#fff",
63
+ width: 0.5,
64
+ opacity: 0.2,
65
+ },
64
66
  },
65
67
  enable: true,
66
68
  move: {
package/cjs/p/pathSvg.js CHANGED
@@ -34,7 +34,6 @@ const options = {
34
34
  },
35
35
  },
36
36
  number: {
37
- limit: 0,
38
37
  value: 80,
39
38
  },
40
39
  opacity: {
@@ -74,7 +74,6 @@ const options = {
74
74
  speed: 1,
75
75
  },
76
76
  number: {
77
- limit: 0,
78
77
  value: 200,
79
78
  },
80
79
  opacity: {
@@ -98,8 +97,11 @@ const options = {
98
97
  polygon: {
99
98
  draw: {
100
99
  enable: true,
101
- lineColor: "rgba(255,255,255,0.2)",
102
- lineWidth: 1,
100
+ stroke: {
101
+ color: "#fff",
102
+ width: 1,
103
+ opacity: 0.2,
104
+ },
103
105
  },
104
106
  enable: true,
105
107
  move: {
package/cjs/p/pop.js ADDED
@@ -0,0 +1,69 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const options = {
4
+ name: "Pop",
5
+ particles: {
6
+ number: {
7
+ limit: {
8
+ value: 80,
9
+ mode: "wait",
10
+ },
11
+ value: 80,
12
+ },
13
+ color: {
14
+ value: ["#3998D0", "#2EB6AF", "#A9BD33", "#FEC73B", "#F89930", "#F45623", "#D62E32", "#EB586E", "#9952CF"],
15
+ },
16
+ shape: {
17
+ type: "circle",
18
+ },
19
+ opacity: {
20
+ value: 1,
21
+ },
22
+ size: {
23
+ value: {
24
+ min: 10,
25
+ max: 15,
26
+ },
27
+ },
28
+ collisions: {
29
+ enable: true,
30
+ mode: "bounce",
31
+ },
32
+ move: {
33
+ enable: true,
34
+ speed: 3,
35
+ },
36
+ },
37
+ interactivity: {
38
+ events: {
39
+ onClick: {
40
+ enable: true,
41
+ mode: "pop",
42
+ },
43
+ },
44
+ },
45
+ background: {
46
+ color: "#000000",
47
+ },
48
+ emitters: {
49
+ direction: "none",
50
+ life: {
51
+ count: 0,
52
+ duration: 0.1,
53
+ delay: 0.1,
54
+ },
55
+ rate: {
56
+ delay: 0.1,
57
+ quantity: 1,
58
+ },
59
+ size: {
60
+ width: 100,
61
+ height: 100,
62
+ },
63
+ position: {
64
+ x: 50,
65
+ y: 50,
66
+ },
67
+ },
68
+ };
69
+ exports.default = options;
package/cjs/r/random.js CHANGED
@@ -71,7 +71,7 @@ const options = {
71
71
  density: {
72
72
  enable: true,
73
73
  },
74
- limit: 500,
74
+ limit: { value: 500 },
75
75
  value: 300,
76
76
  },
77
77
  opacity: {
@@ -72,7 +72,6 @@ const options = {
72
72
  },
73
73
  },
74
74
  number: {
75
- limit: -1,
76
75
  value: 160,
77
76
  },
78
77
  opacity: {
@@ -57,7 +57,6 @@ const options = {
57
57
  density: {
58
58
  enable: true,
59
59
  },
60
- limit: -1,
61
60
  value: 60,
62
61
  },
63
62
  opacity: {
@@ -46,7 +46,6 @@ const options = {
46
46
  speed: 1,
47
47
  },
48
48
  number: {
49
- limit: -1,
50
49
  value: 200,
51
50
  },
52
51
  opacity: {
@@ -47,7 +47,6 @@ const options = {
47
47
  enable: true,
48
48
  },
49
49
  number: {
50
- limit: -1,
51
50
  value: 50,
52
51
  },
53
52
  opacity: {
@@ -76,7 +76,6 @@ const options = {
76
76
  enable: true,
77
77
  },
78
78
  number: {
79
- limit: -1,
80
79
  value: 160,
81
80
  },
82
81
  opacity: {
package/cjs/r/ring.js CHANGED
@@ -5,7 +5,7 @@ const options = {
5
5
  particles: {
6
6
  number: {
7
7
  value: 0,
8
- limit: 1000,
8
+ limit: { value: 1000 },
9
9
  },
10
10
  color: {
11
11
  value: "#ffffff",
package/cjs/s/index.js CHANGED
@@ -6,8 +6,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
6
6
  const seaAnemone_js_1 = __importDefault(require("./seaAnemone.js"));
7
7
  const shadow_js_1 = __importDefault(require("./shadow.js"));
8
8
  const shapeArrow_js_1 = __importDefault(require("./shapeArrow.js"));
9
- const shapeBubble_js_1 = __importDefault(require("./shapeBubble.js"));
10
9
  const shapeCog_js_1 = __importDefault(require("./shapeCog.js"));
10
+ const shapeEmoji_js_1 = __importDefault(require("./shapeEmoji.js"));
11
11
  const shapeHeart_js_1 = __importDefault(require("./shapeHeart.js"));
12
12
  const shapeMultilineText_js_1 = __importDefault(require("./shapeMultilineText.js"));
13
13
  const shapeOptions_js_1 = __importDefault(require("./shapeOptions.js"));
@@ -32,8 +32,8 @@ exports.default = {
32
32
  seaAnemone: seaAnemone_js_1.default,
33
33
  shadow: shadow_js_1.default,
34
34
  shapeArrow: shapeArrow_js_1.default,
35
- shapeBubble: shapeBubble_js_1.default,
36
35
  shapeCog: shapeCog_js_1.default,
36
+ shapeEmoji: shapeEmoji_js_1.default,
37
37
  shapeHeart: shapeHeart_js_1.default,
38
38
  shapeMultilineText: shapeMultilineText_js_1.default,
39
39
  shapeOptions: shapeOptions_js_1.default,
@@ -0,0 +1,186 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const emitterRate = {
4
+ delay: 0.1,
5
+ quantity: 2,
6
+ }, options = {
7
+ name: "Shape Emoji",
8
+ particles: {
9
+ opacity: {
10
+ value: 1,
11
+ },
12
+ size: {
13
+ value: {
14
+ min: 16,
15
+ max: 32,
16
+ },
17
+ },
18
+ move: {
19
+ enable: true,
20
+ gravity: {
21
+ enable: true,
22
+ },
23
+ speed: 15,
24
+ outModes: {
25
+ default: "destroy",
26
+ top: "none",
27
+ },
28
+ },
29
+ rotate: {
30
+ value: {
31
+ min: 0,
32
+ max: 360,
33
+ },
34
+ direction: "random",
35
+ move: true,
36
+ animation: {
37
+ enable: true,
38
+ speed: 60,
39
+ },
40
+ },
41
+ tilt: {
42
+ direction: "random",
43
+ enable: true,
44
+ move: true,
45
+ value: {
46
+ min: 0,
47
+ max: 360,
48
+ },
49
+ animation: {
50
+ enable: true,
51
+ speed: 60,
52
+ },
53
+ },
54
+ roll: {
55
+ darken: {
56
+ enable: true,
57
+ value: 30,
58
+ },
59
+ enlighten: {
60
+ enable: true,
61
+ value: 30,
62
+ },
63
+ enable: true,
64
+ mode: "both",
65
+ speed: {
66
+ min: 15,
67
+ max: 25,
68
+ },
69
+ },
70
+ wobble: {
71
+ distance: 30,
72
+ enable: true,
73
+ move: true,
74
+ speed: {
75
+ min: -15,
76
+ max: 15,
77
+ },
78
+ },
79
+ },
80
+ background: {
81
+ color: "#000000",
82
+ },
83
+ emitters: [
84
+ {
85
+ position: {
86
+ x: 0,
87
+ y: 33,
88
+ },
89
+ rate: emitterRate,
90
+ particles: {
91
+ move: {
92
+ direction: "top-right",
93
+ },
94
+ shape: {
95
+ type: "emoji",
96
+ options: {
97
+ emoji: {
98
+ value: "🦄",
99
+ },
100
+ },
101
+ },
102
+ },
103
+ },
104
+ {
105
+ position: {
106
+ x: 0,
107
+ y: 66,
108
+ },
109
+ rate: emitterRate,
110
+ particles: {
111
+ move: {
112
+ direction: "top-right",
113
+ },
114
+ shape: {
115
+ type: "emoji",
116
+ options: {
117
+ emoji: {
118
+ value: "🌈",
119
+ },
120
+ },
121
+ },
122
+ },
123
+ },
124
+ {
125
+ position: {
126
+ x: 100,
127
+ y: 33,
128
+ },
129
+ rate: emitterRate,
130
+ particles: {
131
+ move: {
132
+ direction: "top-left",
133
+ },
134
+ shape: {
135
+ type: "emoji",
136
+ options: {
137
+ emoji: {
138
+ value: "🎉",
139
+ },
140
+ },
141
+ },
142
+ },
143
+ },
144
+ {
145
+ position: {
146
+ x: 100,
147
+ y: 66,
148
+ },
149
+ rate: emitterRate,
150
+ particles: {
151
+ move: {
152
+ direction: "top-left",
153
+ },
154
+ shape: {
155
+ type: "emoji",
156
+ options: {
157
+ emoji: {
158
+ value: "🤡",
159
+ },
160
+ },
161
+ },
162
+ },
163
+ },
164
+ {
165
+ position: {
166
+ x: 50,
167
+ y: 50,
168
+ },
169
+ rate: emitterRate,
170
+ particles: {
171
+ move: {
172
+ direction: "top",
173
+ },
174
+ shape: {
175
+ type: "emoji",
176
+ options: {
177
+ emoji: {
178
+ value: "👻",
179
+ },
180
+ },
181
+ },
182
+ },
183
+ },
184
+ ],
185
+ };
186
+ exports.default = options;
@@ -18,9 +18,9 @@ const options = {
18
18
  },
19
19
  },
20
20
  shape: {
21
- type: "multiline-text",
21
+ type: "text",
22
22
  options: {
23
- "multiline-text": {
23
+ text: {
24
24
  value: "pippo\npluto",
25
25
  },
26
26
  },
package/cjs/s/style.js CHANGED
@@ -5,7 +5,7 @@ const options = {
5
5
  particles: {
6
6
  number: {
7
7
  value: 200,
8
- limit: 200,
8
+ limit: { value: 200 },
9
9
  },
10
10
  color: {
11
11
  value: ["#ff0000", "#00ff00", "#0000ff", "#ffff00", "#ff00ff", "#00ffff"],
@@ -71,7 +71,6 @@ const options = {
71
71
  density: {
72
72
  enable: true,
73
73
  },
74
- limit: 0,
75
74
  value: 80,
76
75
  },
77
76
  opacity: {
package/cjs/t/themes.js CHANGED
@@ -164,7 +164,6 @@ const options = {
164
164
  enable: true,
165
165
  mode: "push",
166
166
  },
167
- resize: true,
168
167
  },
169
168
  },
170
169
  detectRetina: true,
package/cjs/t/tilt.js CHANGED
@@ -44,7 +44,7 @@ const options = {
44
44
  },
45
45
  number: {
46
46
  value: 0,
47
- limit: 300,
47
+ limit: { value: 300 },
48
48
  },
49
49
  opacity: {
50
50
  value: 1,
package/cjs/t/trail.js CHANGED
@@ -23,7 +23,7 @@ const options = {
23
23
  particles: {
24
24
  number: {
25
25
  value: 0,
26
- limit: 300,
26
+ limit: { value: 300 },
27
27
  },
28
28
  color: {
29
29
  value: ["#5bc0eb", "#fde74c", "#9bc53d", "#e55934", "#fa7921"],
@@ -27,7 +27,7 @@ const options = {
27
27
  particles: {
28
28
  number: {
29
29
  value: 0,
30
- limit: 300,
30
+ limit: { value: 300 },
31
31
  },
32
32
  color: {
33
33
  value: ["#5bc0eb", "#fde74c", "#9bc53d", "#e55934", "#fa7921"],
package/cjs/w/wobble.js CHANGED
@@ -44,7 +44,7 @@ const options = {
44
44
  },
45
45
  number: {
46
46
  value: 0,
47
- limit: 300,
47
+ limit: { value: 300 },
48
48
  },
49
49
  opacity: {
50
50
  value: 1,