@tsparticles/configs 3.6.0-beta.1 → 3.7.0

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.
@@ -1 +1 @@
1
- /*! tsParticles Configs v3.6.0-beta.1 by Matteo Bruni */
1
+ /*! tsParticles Configs v3.7.0 by Matteo Bruni */
package/types/index.d.ts CHANGED
@@ -71,7 +71,9 @@ declare const configs: {
71
71
  polygonMask: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
72
72
  polygons: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
73
73
  pop: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
74
+ oklch: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
74
75
  orbit: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
76
+ namedColors: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
75
77
  nasa: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
76
78
  noClear: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
77
79
  noConfig: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
@@ -94,6 +96,7 @@ declare const configs: {
94
96
  moveOutside: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
95
97
  multipleClickEmitters: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
96
98
  multiplePolygonMasks: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
99
+ lch: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
97
100
  life: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
98
101
  lightHover: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
99
102
  linkTriangles: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
@@ -1,4 +1,5 @@
1
1
  declare const _default: {
2
+ lch: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
2
3
  life: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
3
4
  lightHover: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
4
5
  linkTriangles: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
@@ -0,0 +1,3 @@
1
+ import type { ISourceOptions } from "@tsparticles/engine";
2
+ declare const options: ISourceOptions;
3
+ export default options;
@@ -1,4 +1,5 @@
1
1
  declare const _default: {
2
+ namedColors: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
2
3
  nasa: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
3
4
  noClear: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
4
5
  noConfig: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
@@ -0,0 +1,3 @@
1
+ import type { ISourceOptions } from "@tsparticles/engine";
2
+ declare const options: ISourceOptions;
3
+ export default options;
@@ -1,4 +1,5 @@
1
1
  declare const _default: {
2
+ oklch: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
2
3
  orbit: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
3
4
  };
4
5
  export default _default;
@@ -0,0 +1,3 @@
1
+ import type { ISourceOptions } from "@tsparticles/engine";
2
+ declare const options: ISourceOptions;
3
+ export default options;
package/umd/l/index.js CHANGED
@@ -7,16 +7,18 @@ 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", "./life.js", "./lightHover.js", "./linkTriangles.js", "./localPolygonMask.js"], factory);
10
+ define(["require", "exports", "./lch.js", "./life.js", "./lightHover.js", "./linkTriangles.js", "./localPolygonMask.js"], factory);
11
11
  }
12
12
  })(function (require, exports) {
13
13
  "use strict";
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
+ const lch_js_1 = __importDefault(require("./lch.js"));
15
16
  const life_js_1 = __importDefault(require("./life.js"));
16
17
  const lightHover_js_1 = __importDefault(require("./lightHover.js"));
17
18
  const linkTriangles_js_1 = __importDefault(require("./linkTriangles.js"));
18
19
  const localPolygonMask_js_1 = __importDefault(require("./localPolygonMask.js"));
19
20
  exports.default = {
21
+ lch: lch_js_1.default,
20
22
  life: life_js_1.default,
21
23
  lightHover: lightHover_js_1.default,
22
24
  linkTriangles: linkTriangles_js_1.default,
package/umd/l/lch.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
+ key: "lch",
14
+ name: "LCH",
15
+ particles: {
16
+ number: {
17
+ value: 80,
18
+ density: {
19
+ enable: true,
20
+ },
21
+ },
22
+ color: {
23
+ value: "lch(63.94% 33.1 0.67)",
24
+ animation: {
25
+ enable: true,
26
+ speed: 20,
27
+ sync: true,
28
+ },
29
+ },
30
+ shape: {
31
+ type: "circle",
32
+ },
33
+ opacity: {
34
+ value: 0.5,
35
+ },
36
+ size: {
37
+ value: {
38
+ min: 1,
39
+ max: 3,
40
+ },
41
+ },
42
+ links: {
43
+ enable: true,
44
+ distance: 150,
45
+ color: "#ffffff",
46
+ opacity: 0.4,
47
+ width: 1,
48
+ },
49
+ move: {
50
+ enable: true,
51
+ speed: 6,
52
+ },
53
+ },
54
+ interactivity: {
55
+ events: {
56
+ onHover: {
57
+ enable: true,
58
+ mode: "repulse",
59
+ },
60
+ onClick: {
61
+ enable: true,
62
+ mode: "push",
63
+ },
64
+ },
65
+ modes: {
66
+ repulse: {
67
+ distance: 200,
68
+ },
69
+ push: {
70
+ quantity: 4,
71
+ },
72
+ },
73
+ },
74
+ background: {
75
+ color: "#000000",
76
+ },
77
+ };
78
+ exports.default = options;
79
+ });
package/umd/n/index.js CHANGED
@@ -7,11 +7,12 @@ 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", "./nasa.js", "./noClear.js", "./noConfig.js", "./noisePlanes.js", "./nyancat.js", "./nyancat2.js"], factory);
10
+ define(["require", "exports", "./namedColors.js", "./nasa.js", "./noClear.js", "./noConfig.js", "./noisePlanes.js", "./nyancat.js", "./nyancat2.js"], factory);
11
11
  }
12
12
  })(function (require, exports) {
13
13
  "use strict";
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
+ const namedColors_js_1 = __importDefault(require("./namedColors.js"));
15
16
  const nasa_js_1 = __importDefault(require("./nasa.js"));
16
17
  const noClear_js_1 = __importDefault(require("./noClear.js"));
17
18
  const noConfig_js_1 = __importDefault(require("./noConfig.js"));
@@ -19,6 +20,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
19
20
  const nyancat_js_1 = __importDefault(require("./nyancat.js"));
20
21
  const nyancat2_js_1 = __importDefault(require("./nyancat2.js"));
21
22
  exports.default = {
23
+ namedColors: namedColors_js_1.default,
22
24
  nasa: nasa_js_1.default,
23
25
  noClear: noClear_js_1.default,
24
26
  noConfig: noConfig_js_1.default,
@@ -0,0 +1,67 @@
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: "namedColors",
14
+ name: "Named Colors",
15
+ particles: {
16
+ number: {
17
+ value: 80,
18
+ density: {
19
+ enable: true,
20
+ },
21
+ },
22
+ color: {
23
+ value: ["aqua", "deepskyblue", "firebrick", "khaki"],
24
+ },
25
+ shape: {
26
+ type: "circle",
27
+ },
28
+ opacity: {
29
+ value: 1,
30
+ },
31
+ size: {
32
+ value: {
33
+ min: 3,
34
+ max: 7,
35
+ },
36
+ },
37
+ move: {
38
+ enable: true,
39
+ speed: 6,
40
+ },
41
+ },
42
+ interactivity: {
43
+ events: {
44
+ onHover: {
45
+ enable: true,
46
+ mode: "repulse",
47
+ },
48
+ onClick: {
49
+ enable: true,
50
+ mode: "push",
51
+ },
52
+ },
53
+ modes: {
54
+ repulse: {
55
+ distance: 200,
56
+ },
57
+ push: {
58
+ quantity: 4,
59
+ },
60
+ },
61
+ },
62
+ background: {
63
+ color: "#000000",
64
+ },
65
+ };
66
+ exports.default = options;
67
+ });
package/umd/o/index.js CHANGED
@@ -7,13 +7,15 @@ 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", "./orbit.js"], factory);
10
+ define(["require", "exports", "./oklch", "./orbit.js"], factory);
11
11
  }
12
12
  })(function (require, exports) {
13
13
  "use strict";
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
+ const oklch_1 = __importDefault(require("./oklch"));
15
16
  const orbit_js_1 = __importDefault(require("./orbit.js"));
16
17
  exports.default = {
18
+ oklch: oklch_1.default,
17
19
  orbit: orbit_js_1.default,
18
20
  };
19
21
  });
package/umd/o/oklch.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
+ key: "oklch",
14
+ name: "OKLCH",
15
+ particles: {
16
+ number: {
17
+ value: 80,
18
+ density: {
19
+ enable: true,
20
+ },
21
+ },
22
+ color: {
23
+ value: "oklch(70% 0.1 266)",
24
+ animation: {
25
+ enable: true,
26
+ speed: 20,
27
+ sync: true,
28
+ },
29
+ },
30
+ shape: {
31
+ type: "circle",
32
+ },
33
+ opacity: {
34
+ value: 0.5,
35
+ },
36
+ size: {
37
+ value: {
38
+ min: 1,
39
+ max: 3,
40
+ },
41
+ },
42
+ links: {
43
+ enable: true,
44
+ distance: 150,
45
+ color: "#ffffff",
46
+ opacity: 0.4,
47
+ width: 1,
48
+ },
49
+ move: {
50
+ enable: true,
51
+ speed: 6,
52
+ },
53
+ },
54
+ interactivity: {
55
+ events: {
56
+ onHover: {
57
+ enable: true,
58
+ mode: "repulse",
59
+ },
60
+ onClick: {
61
+ enable: true,
62
+ mode: "push",
63
+ },
64
+ },
65
+ modes: {
66
+ repulse: {
67
+ distance: 200,
68
+ },
69
+ push: {
70
+ quantity: 4,
71
+ },
72
+ },
73
+ },
74
+ background: {
75
+ color: "#000000",
76
+ },
77
+ };
78
+ exports.default = options;
79
+ });