@tsparticles/configs 3.6.0-beta.1 → 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.
- package/browser/l/index.js +2 -0
- package/browser/l/lch.js +67 -0
- package/browser/o/index.js +2 -0
- package/browser/o/oklch.js +67 -0
- package/cjs/l/index.js +2 -0
- package/cjs/l/lch.js +69 -0
- package/cjs/o/index.js +2 -0
- package/cjs/o/oklch.js +69 -0
- package/esm/l/index.js +2 -0
- package/esm/l/lch.js +67 -0
- package/esm/o/index.js +2 -0
- package/esm/o/oklch.js +67 -0
- package/package.json +2 -2
- package/report.html +1 -1
- package/tsparticles.configs.bundle.js +1 -1
- package/tsparticles.configs.bundle.min.js.LICENSE.txt +1 -1
- package/tsparticles.configs.js +23 -3
- package/tsparticles.configs.min.js +1 -1
- package/tsparticles.configs.min.js.LICENSE.txt +1 -1
- package/types/index.d.ts +2 -0
- package/types/l/index.d.ts +1 -0
- package/types/l/lch.d.ts +3 -0
- package/types/o/index.d.ts +1 -0
- package/types/o/oklch.d.ts +3 -0
- package/umd/l/index.js +3 -1
- package/umd/l/lch.js +79 -0
- package/umd/o/index.js +3 -1
- package/umd/o/oklch.js +79 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! tsParticles Configs v3.6.0
|
|
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>;
|
package/types/l/index.d.ts
CHANGED
|
@@ -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>;
|
package/types/l/lch.d.ts
ADDED
package/types/o/index.d.ts
CHANGED
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
|
+
});
|