@tsparticles/configs 3.6.0-beta.0 → 3.6.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.0 by Matteo Bruni */
1
+ /*! tsParticles Configs v3.6.0 by Matteo Bruni */
package/types/index.d.ts CHANGED
@@ -71,6 +71,7 @@ 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>;
75
76
  nasa: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
76
77
  noClear: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
@@ -94,6 +95,7 @@ declare const configs: {
94
95
  moveOutside: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
95
96
  multipleClickEmitters: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
96
97
  multiplePolygonMasks: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
98
+ lch: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
97
99
  life: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
98
100
  lightHover: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
99
101
  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
+ 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/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
+ });