@tsparticles/configs 3.8.1 → 3.9.1
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/g/groups.js +66 -0
- package/browser/g/index.js +2 -0
- package/browser/n/index.js +6 -2
- package/browser/n/noisePlanesFractal.js +91 -0
- package/browser/n/noisePlanesPerlin.js +91 -0
- package/browser/n/{noisePlanes.js → noisePlanesSimplex.js} +2 -2
- package/cjs/g/groups.js +68 -0
- package/cjs/g/index.js +2 -0
- package/cjs/n/index.js +6 -2
- package/cjs/n/noisePlanesFractal.js +93 -0
- package/cjs/n/noisePlanesPerlin.js +93 -0
- package/cjs/n/{noisePlanes.js → noisePlanesSimplex.js} +2 -2
- package/esm/g/groups.js +66 -0
- package/esm/g/index.js +2 -0
- package/esm/n/index.js +6 -2
- package/esm/n/noisePlanesFractal.js +91 -0
- package/esm/n/noisePlanesPerlin.js +91 -0
- package/esm/n/{noisePlanes.js → noisePlanesSimplex.js} +2 -2
- package/package.json +2 -2
- package/report.html +2 -2
- package/tsparticles.configs.bundle.js +2 -2
- package/tsparticles.configs.bundle.min.js.LICENSE.txt +1 -1
- package/tsparticles.configs.js +219 -189
- package/tsparticles.configs.min.js +1 -1
- package/tsparticles.configs.min.js.LICENSE.txt +1 -1
- package/types/g/index.d.ts +1 -0
- package/types/index.d.ts +4 -1
- package/types/n/index.d.ts +3 -1
- package/types/n/noisePlanesFractal.d.ts +3 -0
- package/types/n/noisePlanesPerlin.d.ts +3 -0
- package/types/n/noisePlanesSimplex.d.ts +3 -0
- package/umd/g/groups.js +78 -0
- package/umd/g/index.js +3 -1
- package/umd/n/index.js +7 -3
- package/umd/n/noisePlanesFractal.js +103 -0
- package/umd/n/noisePlanesPerlin.js +103 -0
- package/umd/n/{noisePlanes.js → noisePlanesSimplex.js} +2 -2
- /package/types/{n/noisePlanes.d.ts → g/groups.d.ts} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! tsParticles Configs v3.
|
|
1
|
+
/*! tsParticles Configs v3.9.1 by Matteo Bruni */
|
package/types/g/index.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ declare const _default: {
|
|
|
3
3
|
grabRandomColor: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
|
|
4
4
|
gradients: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
|
|
5
5
|
gravity: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
|
|
6
|
+
groups: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
|
|
6
7
|
growing: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
|
|
7
8
|
};
|
|
8
9
|
export default _default;
|
package/types/index.d.ts
CHANGED
|
@@ -77,7 +77,9 @@ declare const configs: {
|
|
|
77
77
|
nasa: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
|
|
78
78
|
noClear: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
|
|
79
79
|
noConfig: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
|
|
80
|
-
|
|
80
|
+
noisePlanesFractal: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
|
|
81
|
+
noisePlanesPerlin: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
|
|
82
|
+
noisePlanesSimplex: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
|
|
81
83
|
nyancat: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
|
|
82
84
|
nyancat2: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
|
|
83
85
|
manual: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
|
|
@@ -112,6 +114,7 @@ declare const configs: {
|
|
|
112
114
|
grabRandomColor: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
|
|
113
115
|
gradients: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
|
|
114
116
|
gravity: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
|
|
117
|
+
groups: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
|
|
115
118
|
growing: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
|
|
116
119
|
fireworks: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
|
|
117
120
|
fireworks2: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
|
package/types/n/index.d.ts
CHANGED
|
@@ -3,7 +3,9 @@ declare const _default: {
|
|
|
3
3
|
nasa: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
|
|
4
4
|
noClear: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
|
|
5
5
|
noConfig: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
|
|
6
|
-
|
|
6
|
+
noisePlanesFractal: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
|
|
7
|
+
noisePlanesPerlin: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
|
|
8
|
+
noisePlanesSimplex: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
|
|
7
9
|
nyancat: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
|
|
8
10
|
nyancat2: import("@tsparticles/engine").RecursivePartial<import("@tsparticles/engine").IOptions>;
|
|
9
11
|
};
|
package/umd/g/groups.js
ADDED
|
@@ -0,0 +1,78 @@
|
|
|
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: "groups",
|
|
14
|
+
name: "Groups",
|
|
15
|
+
particles: {
|
|
16
|
+
groups: {
|
|
17
|
+
green: {
|
|
18
|
+
number: {
|
|
19
|
+
value: 10,
|
|
20
|
+
},
|
|
21
|
+
color: {
|
|
22
|
+
value: "#00ff00",
|
|
23
|
+
},
|
|
24
|
+
},
|
|
25
|
+
yellow: {
|
|
26
|
+
number: {
|
|
27
|
+
value: 10,
|
|
28
|
+
},
|
|
29
|
+
color: {
|
|
30
|
+
value: "#ffff00",
|
|
31
|
+
},
|
|
32
|
+
},
|
|
33
|
+
blue: {
|
|
34
|
+
number: {
|
|
35
|
+
value: 10,
|
|
36
|
+
},
|
|
37
|
+
color: {
|
|
38
|
+
value: "#0000ff",
|
|
39
|
+
},
|
|
40
|
+
},
|
|
41
|
+
cyan: {
|
|
42
|
+
number: {
|
|
43
|
+
value: 10,
|
|
44
|
+
},
|
|
45
|
+
color: {
|
|
46
|
+
value: "#00ffff",
|
|
47
|
+
},
|
|
48
|
+
},
|
|
49
|
+
},
|
|
50
|
+
number: {
|
|
51
|
+
value: 40,
|
|
52
|
+
density: {
|
|
53
|
+
enable: true,
|
|
54
|
+
},
|
|
55
|
+
},
|
|
56
|
+
color: {
|
|
57
|
+
value: "#ffffff",
|
|
58
|
+
},
|
|
59
|
+
shape: {
|
|
60
|
+
type: "circle",
|
|
61
|
+
},
|
|
62
|
+
opacity: {
|
|
63
|
+
value: 0.5,
|
|
64
|
+
},
|
|
65
|
+
size: {
|
|
66
|
+
value: 10,
|
|
67
|
+
},
|
|
68
|
+
move: {
|
|
69
|
+
enable: true,
|
|
70
|
+
speed: 2,
|
|
71
|
+
},
|
|
72
|
+
},
|
|
73
|
+
background: {
|
|
74
|
+
color: "#000000",
|
|
75
|
+
},
|
|
76
|
+
};
|
|
77
|
+
exports.default = options;
|
|
78
|
+
});
|
package/umd/g/index.js
CHANGED
|
@@ -7,7 +7,7 @@ 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", "./gifs.js", "./grabRandomColor.js", "./gradients.js", "./gravity.js", "./growing.js"], factory);
|
|
10
|
+
define(["require", "exports", "./gifs.js", "./grabRandomColor.js", "./gradients.js", "./gravity.js", "./groups", "./growing.js"], factory);
|
|
11
11
|
}
|
|
12
12
|
})(function (require, exports) {
|
|
13
13
|
"use strict";
|
|
@@ -16,12 +16,14 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
16
16
|
const grabRandomColor_js_1 = __importDefault(require("./grabRandomColor.js"));
|
|
17
17
|
const gradients_js_1 = __importDefault(require("./gradients.js"));
|
|
18
18
|
const gravity_js_1 = __importDefault(require("./gravity.js"));
|
|
19
|
+
const groups_1 = __importDefault(require("./groups"));
|
|
19
20
|
const growing_js_1 = __importDefault(require("./growing.js"));
|
|
20
21
|
exports.default = {
|
|
21
22
|
gifs: gifs_js_1.default,
|
|
22
23
|
grabRandomColor: grabRandomColor_js_1.default,
|
|
23
24
|
gradients: gradients_js_1.default,
|
|
24
25
|
gravity: gravity_js_1.default,
|
|
26
|
+
groups: groups_1.default,
|
|
25
27
|
growing: growing_js_1.default,
|
|
26
28
|
};
|
|
27
29
|
});
|
package/umd/n/index.js
CHANGED
|
@@ -7,7 +7,7 @@ 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", "./namedColors.js", "./nasa.js", "./noClear.js", "./noConfig.js", "./
|
|
10
|
+
define(["require", "exports", "./namedColors.js", "./nasa.js", "./noClear.js", "./noConfig.js", "./noisePlanesFractal.js", "./noisePlanesPerlin.js", "./noisePlanesSimplex.js", "./nyancat.js", "./nyancat2.js"], factory);
|
|
11
11
|
}
|
|
12
12
|
})(function (require, exports) {
|
|
13
13
|
"use strict";
|
|
@@ -16,7 +16,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
16
16
|
const nasa_js_1 = __importDefault(require("./nasa.js"));
|
|
17
17
|
const noClear_js_1 = __importDefault(require("./noClear.js"));
|
|
18
18
|
const noConfig_js_1 = __importDefault(require("./noConfig.js"));
|
|
19
|
-
const
|
|
19
|
+
const noisePlanesFractal_js_1 = __importDefault(require("./noisePlanesFractal.js"));
|
|
20
|
+
const noisePlanesPerlin_js_1 = __importDefault(require("./noisePlanesPerlin.js"));
|
|
21
|
+
const noisePlanesSimplex_js_1 = __importDefault(require("./noisePlanesSimplex.js"));
|
|
20
22
|
const nyancat_js_1 = __importDefault(require("./nyancat.js"));
|
|
21
23
|
const nyancat2_js_1 = __importDefault(require("./nyancat2.js"));
|
|
22
24
|
exports.default = {
|
|
@@ -24,7 +26,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
24
26
|
nasa: nasa_js_1.default,
|
|
25
27
|
noClear: noClear_js_1.default,
|
|
26
28
|
noConfig: noConfig_js_1.default,
|
|
27
|
-
|
|
29
|
+
noisePlanesFractal: noisePlanesFractal_js_1.default,
|
|
30
|
+
noisePlanesPerlin: noisePlanesPerlin_js_1.default,
|
|
31
|
+
noisePlanesSimplex: noisePlanesSimplex_js_1.default,
|
|
28
32
|
nyancat: nyancat_js_1.default,
|
|
29
33
|
nyancat2: nyancat2_js_1.default,
|
|
30
34
|
};
|
|
@@ -0,0 +1,103 @@
|
|
|
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: "noisePlanesFractal",
|
|
14
|
+
name: "Noise Planes Fractal",
|
|
15
|
+
background: {
|
|
16
|
+
color: "#000",
|
|
17
|
+
},
|
|
18
|
+
interactivity: {
|
|
19
|
+
events: {
|
|
20
|
+
onClick: {
|
|
21
|
+
enable: true,
|
|
22
|
+
mode: "push",
|
|
23
|
+
},
|
|
24
|
+
},
|
|
25
|
+
modes: {
|
|
26
|
+
bubble: {
|
|
27
|
+
distance: 400,
|
|
28
|
+
duration: 2,
|
|
29
|
+
opacity: 0.8,
|
|
30
|
+
size: 40,
|
|
31
|
+
speed: 3,
|
|
32
|
+
},
|
|
33
|
+
grab: {
|
|
34
|
+
distance: 400,
|
|
35
|
+
links: {
|
|
36
|
+
opacity: 1,
|
|
37
|
+
},
|
|
38
|
+
},
|
|
39
|
+
push: {
|
|
40
|
+
quantity: 4,
|
|
41
|
+
},
|
|
42
|
+
remove: {
|
|
43
|
+
quantity: 2,
|
|
44
|
+
},
|
|
45
|
+
repulse: {
|
|
46
|
+
distance: 200,
|
|
47
|
+
duration: 0.4,
|
|
48
|
+
},
|
|
49
|
+
},
|
|
50
|
+
},
|
|
51
|
+
particles: {
|
|
52
|
+
move: {
|
|
53
|
+
path: {
|
|
54
|
+
enable: true,
|
|
55
|
+
options: {
|
|
56
|
+
size: 32,
|
|
57
|
+
draw: false,
|
|
58
|
+
increment: 0.004,
|
|
59
|
+
},
|
|
60
|
+
generator: "fractalNoise",
|
|
61
|
+
},
|
|
62
|
+
enable: true,
|
|
63
|
+
speed: 6,
|
|
64
|
+
},
|
|
65
|
+
number: {
|
|
66
|
+
density: {
|
|
67
|
+
enable: true,
|
|
68
|
+
},
|
|
69
|
+
value: 80,
|
|
70
|
+
},
|
|
71
|
+
rotate: {
|
|
72
|
+
value: 45,
|
|
73
|
+
path: true,
|
|
74
|
+
},
|
|
75
|
+
opacity: {
|
|
76
|
+
value: 1,
|
|
77
|
+
},
|
|
78
|
+
shape: {
|
|
79
|
+
options: {
|
|
80
|
+
image: {
|
|
81
|
+
height: 128,
|
|
82
|
+
src: "https://particles.js.org/images/plane_alt.png",
|
|
83
|
+
width: 128,
|
|
84
|
+
},
|
|
85
|
+
},
|
|
86
|
+
type: "image",
|
|
87
|
+
},
|
|
88
|
+
size: {
|
|
89
|
+
value: 32,
|
|
90
|
+
},
|
|
91
|
+
zIndex: {
|
|
92
|
+
value: {
|
|
93
|
+
min: 0,
|
|
94
|
+
max: 100,
|
|
95
|
+
},
|
|
96
|
+
opacityRate: 0,
|
|
97
|
+
sizeRate: 2,
|
|
98
|
+
velocityRate: 2,
|
|
99
|
+
},
|
|
100
|
+
},
|
|
101
|
+
};
|
|
102
|
+
exports.default = options;
|
|
103
|
+
});
|
|
@@ -0,0 +1,103 @@
|
|
|
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: "noisePlanesPerlin",
|
|
14
|
+
name: "Noise Planes Perlin",
|
|
15
|
+
background: {
|
|
16
|
+
color: "#000",
|
|
17
|
+
},
|
|
18
|
+
interactivity: {
|
|
19
|
+
events: {
|
|
20
|
+
onClick: {
|
|
21
|
+
enable: true,
|
|
22
|
+
mode: "push",
|
|
23
|
+
},
|
|
24
|
+
},
|
|
25
|
+
modes: {
|
|
26
|
+
bubble: {
|
|
27
|
+
distance: 400,
|
|
28
|
+
duration: 2,
|
|
29
|
+
opacity: 0.8,
|
|
30
|
+
size: 40,
|
|
31
|
+
speed: 3,
|
|
32
|
+
},
|
|
33
|
+
grab: {
|
|
34
|
+
distance: 400,
|
|
35
|
+
links: {
|
|
36
|
+
opacity: 1,
|
|
37
|
+
},
|
|
38
|
+
},
|
|
39
|
+
push: {
|
|
40
|
+
quantity: 4,
|
|
41
|
+
},
|
|
42
|
+
remove: {
|
|
43
|
+
quantity: 2,
|
|
44
|
+
},
|
|
45
|
+
repulse: {
|
|
46
|
+
distance: 200,
|
|
47
|
+
duration: 0.4,
|
|
48
|
+
},
|
|
49
|
+
},
|
|
50
|
+
},
|
|
51
|
+
particles: {
|
|
52
|
+
move: {
|
|
53
|
+
path: {
|
|
54
|
+
enable: true,
|
|
55
|
+
options: {
|
|
56
|
+
size: 32,
|
|
57
|
+
draw: false,
|
|
58
|
+
increment: 0.004,
|
|
59
|
+
},
|
|
60
|
+
generator: "perlinNoise",
|
|
61
|
+
},
|
|
62
|
+
enable: true,
|
|
63
|
+
speed: 6,
|
|
64
|
+
},
|
|
65
|
+
number: {
|
|
66
|
+
density: {
|
|
67
|
+
enable: true,
|
|
68
|
+
},
|
|
69
|
+
value: 80,
|
|
70
|
+
},
|
|
71
|
+
rotate: {
|
|
72
|
+
value: 45,
|
|
73
|
+
path: true,
|
|
74
|
+
},
|
|
75
|
+
opacity: {
|
|
76
|
+
value: 1,
|
|
77
|
+
},
|
|
78
|
+
shape: {
|
|
79
|
+
options: {
|
|
80
|
+
image: {
|
|
81
|
+
height: 128,
|
|
82
|
+
src: "https://particles.js.org/images/plane_alt.png",
|
|
83
|
+
width: 128,
|
|
84
|
+
},
|
|
85
|
+
},
|
|
86
|
+
type: "image",
|
|
87
|
+
},
|
|
88
|
+
size: {
|
|
89
|
+
value: 32,
|
|
90
|
+
},
|
|
91
|
+
zIndex: {
|
|
92
|
+
value: {
|
|
93
|
+
min: 0,
|
|
94
|
+
max: 100,
|
|
95
|
+
},
|
|
96
|
+
opacityRate: 0,
|
|
97
|
+
sizeRate: 2,
|
|
98
|
+
velocityRate: 2,
|
|
99
|
+
},
|
|
100
|
+
},
|
|
101
|
+
};
|
|
102
|
+
exports.default = options;
|
|
103
|
+
});
|
|
File without changes
|