@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
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
const options = {
|
|
2
|
+
key: "groups",
|
|
3
|
+
name: "Groups",
|
|
4
|
+
particles: {
|
|
5
|
+
groups: {
|
|
6
|
+
green: {
|
|
7
|
+
number: {
|
|
8
|
+
value: 10,
|
|
9
|
+
},
|
|
10
|
+
color: {
|
|
11
|
+
value: "#00ff00",
|
|
12
|
+
},
|
|
13
|
+
},
|
|
14
|
+
yellow: {
|
|
15
|
+
number: {
|
|
16
|
+
value: 10,
|
|
17
|
+
},
|
|
18
|
+
color: {
|
|
19
|
+
value: "#ffff00",
|
|
20
|
+
},
|
|
21
|
+
},
|
|
22
|
+
blue: {
|
|
23
|
+
number: {
|
|
24
|
+
value: 10,
|
|
25
|
+
},
|
|
26
|
+
color: {
|
|
27
|
+
value: "#0000ff",
|
|
28
|
+
},
|
|
29
|
+
},
|
|
30
|
+
cyan: {
|
|
31
|
+
number: {
|
|
32
|
+
value: 10,
|
|
33
|
+
},
|
|
34
|
+
color: {
|
|
35
|
+
value: "#00ffff",
|
|
36
|
+
},
|
|
37
|
+
},
|
|
38
|
+
},
|
|
39
|
+
number: {
|
|
40
|
+
value: 40,
|
|
41
|
+
density: {
|
|
42
|
+
enable: true,
|
|
43
|
+
},
|
|
44
|
+
},
|
|
45
|
+
color: {
|
|
46
|
+
value: "#ffffff",
|
|
47
|
+
},
|
|
48
|
+
shape: {
|
|
49
|
+
type: "circle",
|
|
50
|
+
},
|
|
51
|
+
opacity: {
|
|
52
|
+
value: 0.5,
|
|
53
|
+
},
|
|
54
|
+
size: {
|
|
55
|
+
value: 10,
|
|
56
|
+
},
|
|
57
|
+
move: {
|
|
58
|
+
enable: true,
|
|
59
|
+
speed: 2,
|
|
60
|
+
},
|
|
61
|
+
},
|
|
62
|
+
background: {
|
|
63
|
+
color: "#000000",
|
|
64
|
+
},
|
|
65
|
+
};
|
|
66
|
+
export default options;
|
package/browser/g/index.js
CHANGED
|
@@ -2,11 +2,13 @@ import gifs from "./gifs.js";
|
|
|
2
2
|
import grabRandomColor from "./grabRandomColor.js";
|
|
3
3
|
import gradients from "./gradients.js";
|
|
4
4
|
import gravity from "./gravity.js";
|
|
5
|
+
import groups from "./groups";
|
|
5
6
|
import growing from "./growing.js";
|
|
6
7
|
export default {
|
|
7
8
|
gifs,
|
|
8
9
|
grabRandomColor,
|
|
9
10
|
gradients,
|
|
10
11
|
gravity,
|
|
12
|
+
groups,
|
|
11
13
|
growing,
|
|
12
14
|
};
|
package/browser/n/index.js
CHANGED
|
@@ -2,7 +2,9 @@ import namedColors from "./namedColors.js";
|
|
|
2
2
|
import nasa from "./nasa.js";
|
|
3
3
|
import noClear from "./noClear.js";
|
|
4
4
|
import noConfig from "./noConfig.js";
|
|
5
|
-
import
|
|
5
|
+
import noisePlanesFractal from "./noisePlanesFractal.js";
|
|
6
|
+
import noisePlanesPerlin from "./noisePlanesPerlin.js";
|
|
7
|
+
import noisePlanesSimplex from "./noisePlanesSimplex.js";
|
|
6
8
|
import nyancat from "./nyancat.js";
|
|
7
9
|
import nyancat2 from "./nyancat2.js";
|
|
8
10
|
export default {
|
|
@@ -10,7 +12,9 @@ export default {
|
|
|
10
12
|
nasa,
|
|
11
13
|
noClear,
|
|
12
14
|
noConfig,
|
|
13
|
-
|
|
15
|
+
noisePlanesFractal,
|
|
16
|
+
noisePlanesPerlin,
|
|
17
|
+
noisePlanesSimplex,
|
|
14
18
|
nyancat,
|
|
15
19
|
nyancat2,
|
|
16
20
|
};
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
const options = {
|
|
2
|
+
key: "noisePlanesFractal",
|
|
3
|
+
name: "Noise Planes Fractal",
|
|
4
|
+
background: {
|
|
5
|
+
color: "#000",
|
|
6
|
+
},
|
|
7
|
+
interactivity: {
|
|
8
|
+
events: {
|
|
9
|
+
onClick: {
|
|
10
|
+
enable: true,
|
|
11
|
+
mode: "push",
|
|
12
|
+
},
|
|
13
|
+
},
|
|
14
|
+
modes: {
|
|
15
|
+
bubble: {
|
|
16
|
+
distance: 400,
|
|
17
|
+
duration: 2,
|
|
18
|
+
opacity: 0.8,
|
|
19
|
+
size: 40,
|
|
20
|
+
speed: 3,
|
|
21
|
+
},
|
|
22
|
+
grab: {
|
|
23
|
+
distance: 400,
|
|
24
|
+
links: {
|
|
25
|
+
opacity: 1,
|
|
26
|
+
},
|
|
27
|
+
},
|
|
28
|
+
push: {
|
|
29
|
+
quantity: 4,
|
|
30
|
+
},
|
|
31
|
+
remove: {
|
|
32
|
+
quantity: 2,
|
|
33
|
+
},
|
|
34
|
+
repulse: {
|
|
35
|
+
distance: 200,
|
|
36
|
+
duration: 0.4,
|
|
37
|
+
},
|
|
38
|
+
},
|
|
39
|
+
},
|
|
40
|
+
particles: {
|
|
41
|
+
move: {
|
|
42
|
+
path: {
|
|
43
|
+
enable: true,
|
|
44
|
+
options: {
|
|
45
|
+
size: 32,
|
|
46
|
+
draw: false,
|
|
47
|
+
increment: 0.004,
|
|
48
|
+
},
|
|
49
|
+
generator: "fractalNoise",
|
|
50
|
+
},
|
|
51
|
+
enable: true,
|
|
52
|
+
speed: 6,
|
|
53
|
+
},
|
|
54
|
+
number: {
|
|
55
|
+
density: {
|
|
56
|
+
enable: true,
|
|
57
|
+
},
|
|
58
|
+
value: 80,
|
|
59
|
+
},
|
|
60
|
+
rotate: {
|
|
61
|
+
value: 45,
|
|
62
|
+
path: true,
|
|
63
|
+
},
|
|
64
|
+
opacity: {
|
|
65
|
+
value: 1,
|
|
66
|
+
},
|
|
67
|
+
shape: {
|
|
68
|
+
options: {
|
|
69
|
+
image: {
|
|
70
|
+
height: 128,
|
|
71
|
+
src: "https://particles.js.org/images/plane_alt.png",
|
|
72
|
+
width: 128,
|
|
73
|
+
},
|
|
74
|
+
},
|
|
75
|
+
type: "image",
|
|
76
|
+
},
|
|
77
|
+
size: {
|
|
78
|
+
value: 32,
|
|
79
|
+
},
|
|
80
|
+
zIndex: {
|
|
81
|
+
value: {
|
|
82
|
+
min: 0,
|
|
83
|
+
max: 100,
|
|
84
|
+
},
|
|
85
|
+
opacityRate: 0,
|
|
86
|
+
sizeRate: 2,
|
|
87
|
+
velocityRate: 2,
|
|
88
|
+
},
|
|
89
|
+
},
|
|
90
|
+
};
|
|
91
|
+
export default options;
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
const options = {
|
|
2
|
+
key: "noisePlanesPerlin",
|
|
3
|
+
name: "Noise Planes Perlin",
|
|
4
|
+
background: {
|
|
5
|
+
color: "#000",
|
|
6
|
+
},
|
|
7
|
+
interactivity: {
|
|
8
|
+
events: {
|
|
9
|
+
onClick: {
|
|
10
|
+
enable: true,
|
|
11
|
+
mode: "push",
|
|
12
|
+
},
|
|
13
|
+
},
|
|
14
|
+
modes: {
|
|
15
|
+
bubble: {
|
|
16
|
+
distance: 400,
|
|
17
|
+
duration: 2,
|
|
18
|
+
opacity: 0.8,
|
|
19
|
+
size: 40,
|
|
20
|
+
speed: 3,
|
|
21
|
+
},
|
|
22
|
+
grab: {
|
|
23
|
+
distance: 400,
|
|
24
|
+
links: {
|
|
25
|
+
opacity: 1,
|
|
26
|
+
},
|
|
27
|
+
},
|
|
28
|
+
push: {
|
|
29
|
+
quantity: 4,
|
|
30
|
+
},
|
|
31
|
+
remove: {
|
|
32
|
+
quantity: 2,
|
|
33
|
+
},
|
|
34
|
+
repulse: {
|
|
35
|
+
distance: 200,
|
|
36
|
+
duration: 0.4,
|
|
37
|
+
},
|
|
38
|
+
},
|
|
39
|
+
},
|
|
40
|
+
particles: {
|
|
41
|
+
move: {
|
|
42
|
+
path: {
|
|
43
|
+
enable: true,
|
|
44
|
+
options: {
|
|
45
|
+
size: 32,
|
|
46
|
+
draw: false,
|
|
47
|
+
increment: 0.004,
|
|
48
|
+
},
|
|
49
|
+
generator: "perlinNoise",
|
|
50
|
+
},
|
|
51
|
+
enable: true,
|
|
52
|
+
speed: 6,
|
|
53
|
+
},
|
|
54
|
+
number: {
|
|
55
|
+
density: {
|
|
56
|
+
enable: true,
|
|
57
|
+
},
|
|
58
|
+
value: 80,
|
|
59
|
+
},
|
|
60
|
+
rotate: {
|
|
61
|
+
value: 45,
|
|
62
|
+
path: true,
|
|
63
|
+
},
|
|
64
|
+
opacity: {
|
|
65
|
+
value: 1,
|
|
66
|
+
},
|
|
67
|
+
shape: {
|
|
68
|
+
options: {
|
|
69
|
+
image: {
|
|
70
|
+
height: 128,
|
|
71
|
+
src: "https://particles.js.org/images/plane_alt.png",
|
|
72
|
+
width: 128,
|
|
73
|
+
},
|
|
74
|
+
},
|
|
75
|
+
type: "image",
|
|
76
|
+
},
|
|
77
|
+
size: {
|
|
78
|
+
value: 32,
|
|
79
|
+
},
|
|
80
|
+
zIndex: {
|
|
81
|
+
value: {
|
|
82
|
+
min: 0,
|
|
83
|
+
max: 100,
|
|
84
|
+
},
|
|
85
|
+
opacityRate: 0,
|
|
86
|
+
sizeRate: 2,
|
|
87
|
+
velocityRate: 2,
|
|
88
|
+
},
|
|
89
|
+
},
|
|
90
|
+
};
|
|
91
|
+
export default options;
|
package/cjs/g/groups.js
ADDED
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const options = {
|
|
4
|
+
key: "groups",
|
|
5
|
+
name: "Groups",
|
|
6
|
+
particles: {
|
|
7
|
+
groups: {
|
|
8
|
+
green: {
|
|
9
|
+
number: {
|
|
10
|
+
value: 10,
|
|
11
|
+
},
|
|
12
|
+
color: {
|
|
13
|
+
value: "#00ff00",
|
|
14
|
+
},
|
|
15
|
+
},
|
|
16
|
+
yellow: {
|
|
17
|
+
number: {
|
|
18
|
+
value: 10,
|
|
19
|
+
},
|
|
20
|
+
color: {
|
|
21
|
+
value: "#ffff00",
|
|
22
|
+
},
|
|
23
|
+
},
|
|
24
|
+
blue: {
|
|
25
|
+
number: {
|
|
26
|
+
value: 10,
|
|
27
|
+
},
|
|
28
|
+
color: {
|
|
29
|
+
value: "#0000ff",
|
|
30
|
+
},
|
|
31
|
+
},
|
|
32
|
+
cyan: {
|
|
33
|
+
number: {
|
|
34
|
+
value: 10,
|
|
35
|
+
},
|
|
36
|
+
color: {
|
|
37
|
+
value: "#00ffff",
|
|
38
|
+
},
|
|
39
|
+
},
|
|
40
|
+
},
|
|
41
|
+
number: {
|
|
42
|
+
value: 40,
|
|
43
|
+
density: {
|
|
44
|
+
enable: true,
|
|
45
|
+
},
|
|
46
|
+
},
|
|
47
|
+
color: {
|
|
48
|
+
value: "#ffffff",
|
|
49
|
+
},
|
|
50
|
+
shape: {
|
|
51
|
+
type: "circle",
|
|
52
|
+
},
|
|
53
|
+
opacity: {
|
|
54
|
+
value: 0.5,
|
|
55
|
+
},
|
|
56
|
+
size: {
|
|
57
|
+
value: 10,
|
|
58
|
+
},
|
|
59
|
+
move: {
|
|
60
|
+
enable: true,
|
|
61
|
+
speed: 2,
|
|
62
|
+
},
|
|
63
|
+
},
|
|
64
|
+
background: {
|
|
65
|
+
color: "#000000",
|
|
66
|
+
},
|
|
67
|
+
};
|
|
68
|
+
exports.default = options;
|
package/cjs/g/index.js
CHANGED
|
@@ -7,11 +7,13 @@ const gifs_js_1 = __importDefault(require("./gifs.js"));
|
|
|
7
7
|
const grabRandomColor_js_1 = __importDefault(require("./grabRandomColor.js"));
|
|
8
8
|
const gradients_js_1 = __importDefault(require("./gradients.js"));
|
|
9
9
|
const gravity_js_1 = __importDefault(require("./gravity.js"));
|
|
10
|
+
const groups_1 = __importDefault(require("./groups"));
|
|
10
11
|
const growing_js_1 = __importDefault(require("./growing.js"));
|
|
11
12
|
exports.default = {
|
|
12
13
|
gifs: gifs_js_1.default,
|
|
13
14
|
grabRandomColor: grabRandomColor_js_1.default,
|
|
14
15
|
gradients: gradients_js_1.default,
|
|
15
16
|
gravity: gravity_js_1.default,
|
|
17
|
+
groups: groups_1.default,
|
|
16
18
|
growing: growing_js_1.default,
|
|
17
19
|
};
|
package/cjs/n/index.js
CHANGED
|
@@ -7,7 +7,9 @@ const namedColors_js_1 = __importDefault(require("./namedColors.js"));
|
|
|
7
7
|
const nasa_js_1 = __importDefault(require("./nasa.js"));
|
|
8
8
|
const noClear_js_1 = __importDefault(require("./noClear.js"));
|
|
9
9
|
const noConfig_js_1 = __importDefault(require("./noConfig.js"));
|
|
10
|
-
const
|
|
10
|
+
const noisePlanesFractal_js_1 = __importDefault(require("./noisePlanesFractal.js"));
|
|
11
|
+
const noisePlanesPerlin_js_1 = __importDefault(require("./noisePlanesPerlin.js"));
|
|
12
|
+
const noisePlanesSimplex_js_1 = __importDefault(require("./noisePlanesSimplex.js"));
|
|
11
13
|
const nyancat_js_1 = __importDefault(require("./nyancat.js"));
|
|
12
14
|
const nyancat2_js_1 = __importDefault(require("./nyancat2.js"));
|
|
13
15
|
exports.default = {
|
|
@@ -15,7 +17,9 @@ exports.default = {
|
|
|
15
17
|
nasa: nasa_js_1.default,
|
|
16
18
|
noClear: noClear_js_1.default,
|
|
17
19
|
noConfig: noConfig_js_1.default,
|
|
18
|
-
|
|
20
|
+
noisePlanesFractal: noisePlanesFractal_js_1.default,
|
|
21
|
+
noisePlanesPerlin: noisePlanesPerlin_js_1.default,
|
|
22
|
+
noisePlanesSimplex: noisePlanesSimplex_js_1.default,
|
|
19
23
|
nyancat: nyancat_js_1.default,
|
|
20
24
|
nyancat2: nyancat2_js_1.default,
|
|
21
25
|
};
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const options = {
|
|
4
|
+
key: "noisePlanesFractal",
|
|
5
|
+
name: "Noise Planes Fractal",
|
|
6
|
+
background: {
|
|
7
|
+
color: "#000",
|
|
8
|
+
},
|
|
9
|
+
interactivity: {
|
|
10
|
+
events: {
|
|
11
|
+
onClick: {
|
|
12
|
+
enable: true,
|
|
13
|
+
mode: "push",
|
|
14
|
+
},
|
|
15
|
+
},
|
|
16
|
+
modes: {
|
|
17
|
+
bubble: {
|
|
18
|
+
distance: 400,
|
|
19
|
+
duration: 2,
|
|
20
|
+
opacity: 0.8,
|
|
21
|
+
size: 40,
|
|
22
|
+
speed: 3,
|
|
23
|
+
},
|
|
24
|
+
grab: {
|
|
25
|
+
distance: 400,
|
|
26
|
+
links: {
|
|
27
|
+
opacity: 1,
|
|
28
|
+
},
|
|
29
|
+
},
|
|
30
|
+
push: {
|
|
31
|
+
quantity: 4,
|
|
32
|
+
},
|
|
33
|
+
remove: {
|
|
34
|
+
quantity: 2,
|
|
35
|
+
},
|
|
36
|
+
repulse: {
|
|
37
|
+
distance: 200,
|
|
38
|
+
duration: 0.4,
|
|
39
|
+
},
|
|
40
|
+
},
|
|
41
|
+
},
|
|
42
|
+
particles: {
|
|
43
|
+
move: {
|
|
44
|
+
path: {
|
|
45
|
+
enable: true,
|
|
46
|
+
options: {
|
|
47
|
+
size: 32,
|
|
48
|
+
draw: false,
|
|
49
|
+
increment: 0.004,
|
|
50
|
+
},
|
|
51
|
+
generator: "fractalNoise",
|
|
52
|
+
},
|
|
53
|
+
enable: true,
|
|
54
|
+
speed: 6,
|
|
55
|
+
},
|
|
56
|
+
number: {
|
|
57
|
+
density: {
|
|
58
|
+
enable: true,
|
|
59
|
+
},
|
|
60
|
+
value: 80,
|
|
61
|
+
},
|
|
62
|
+
rotate: {
|
|
63
|
+
value: 45,
|
|
64
|
+
path: true,
|
|
65
|
+
},
|
|
66
|
+
opacity: {
|
|
67
|
+
value: 1,
|
|
68
|
+
},
|
|
69
|
+
shape: {
|
|
70
|
+
options: {
|
|
71
|
+
image: {
|
|
72
|
+
height: 128,
|
|
73
|
+
src: "https://particles.js.org/images/plane_alt.png",
|
|
74
|
+
width: 128,
|
|
75
|
+
},
|
|
76
|
+
},
|
|
77
|
+
type: "image",
|
|
78
|
+
},
|
|
79
|
+
size: {
|
|
80
|
+
value: 32,
|
|
81
|
+
},
|
|
82
|
+
zIndex: {
|
|
83
|
+
value: {
|
|
84
|
+
min: 0,
|
|
85
|
+
max: 100,
|
|
86
|
+
},
|
|
87
|
+
opacityRate: 0,
|
|
88
|
+
sizeRate: 2,
|
|
89
|
+
velocityRate: 2,
|
|
90
|
+
},
|
|
91
|
+
},
|
|
92
|
+
};
|
|
93
|
+
exports.default = options;
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const options = {
|
|
4
|
+
key: "noisePlanesPerlin",
|
|
5
|
+
name: "Noise Planes Perlin",
|
|
6
|
+
background: {
|
|
7
|
+
color: "#000",
|
|
8
|
+
},
|
|
9
|
+
interactivity: {
|
|
10
|
+
events: {
|
|
11
|
+
onClick: {
|
|
12
|
+
enable: true,
|
|
13
|
+
mode: "push",
|
|
14
|
+
},
|
|
15
|
+
},
|
|
16
|
+
modes: {
|
|
17
|
+
bubble: {
|
|
18
|
+
distance: 400,
|
|
19
|
+
duration: 2,
|
|
20
|
+
opacity: 0.8,
|
|
21
|
+
size: 40,
|
|
22
|
+
speed: 3,
|
|
23
|
+
},
|
|
24
|
+
grab: {
|
|
25
|
+
distance: 400,
|
|
26
|
+
links: {
|
|
27
|
+
opacity: 1,
|
|
28
|
+
},
|
|
29
|
+
},
|
|
30
|
+
push: {
|
|
31
|
+
quantity: 4,
|
|
32
|
+
},
|
|
33
|
+
remove: {
|
|
34
|
+
quantity: 2,
|
|
35
|
+
},
|
|
36
|
+
repulse: {
|
|
37
|
+
distance: 200,
|
|
38
|
+
duration: 0.4,
|
|
39
|
+
},
|
|
40
|
+
},
|
|
41
|
+
},
|
|
42
|
+
particles: {
|
|
43
|
+
move: {
|
|
44
|
+
path: {
|
|
45
|
+
enable: true,
|
|
46
|
+
options: {
|
|
47
|
+
size: 32,
|
|
48
|
+
draw: false,
|
|
49
|
+
increment: 0.004,
|
|
50
|
+
},
|
|
51
|
+
generator: "perlinNoise",
|
|
52
|
+
},
|
|
53
|
+
enable: true,
|
|
54
|
+
speed: 6,
|
|
55
|
+
},
|
|
56
|
+
number: {
|
|
57
|
+
density: {
|
|
58
|
+
enable: true,
|
|
59
|
+
},
|
|
60
|
+
value: 80,
|
|
61
|
+
},
|
|
62
|
+
rotate: {
|
|
63
|
+
value: 45,
|
|
64
|
+
path: true,
|
|
65
|
+
},
|
|
66
|
+
opacity: {
|
|
67
|
+
value: 1,
|
|
68
|
+
},
|
|
69
|
+
shape: {
|
|
70
|
+
options: {
|
|
71
|
+
image: {
|
|
72
|
+
height: 128,
|
|
73
|
+
src: "https://particles.js.org/images/plane_alt.png",
|
|
74
|
+
width: 128,
|
|
75
|
+
},
|
|
76
|
+
},
|
|
77
|
+
type: "image",
|
|
78
|
+
},
|
|
79
|
+
size: {
|
|
80
|
+
value: 32,
|
|
81
|
+
},
|
|
82
|
+
zIndex: {
|
|
83
|
+
value: {
|
|
84
|
+
min: 0,
|
|
85
|
+
max: 100,
|
|
86
|
+
},
|
|
87
|
+
opacityRate: 0,
|
|
88
|
+
sizeRate: 2,
|
|
89
|
+
velocityRate: 2,
|
|
90
|
+
},
|
|
91
|
+
},
|
|
92
|
+
};
|
|
93
|
+
exports.default = options;
|
package/esm/g/groups.js
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
const options = {
|
|
2
|
+
key: "groups",
|
|
3
|
+
name: "Groups",
|
|
4
|
+
particles: {
|
|
5
|
+
groups: {
|
|
6
|
+
green: {
|
|
7
|
+
number: {
|
|
8
|
+
value: 10,
|
|
9
|
+
},
|
|
10
|
+
color: {
|
|
11
|
+
value: "#00ff00",
|
|
12
|
+
},
|
|
13
|
+
},
|
|
14
|
+
yellow: {
|
|
15
|
+
number: {
|
|
16
|
+
value: 10,
|
|
17
|
+
},
|
|
18
|
+
color: {
|
|
19
|
+
value: "#ffff00",
|
|
20
|
+
},
|
|
21
|
+
},
|
|
22
|
+
blue: {
|
|
23
|
+
number: {
|
|
24
|
+
value: 10,
|
|
25
|
+
},
|
|
26
|
+
color: {
|
|
27
|
+
value: "#0000ff",
|
|
28
|
+
},
|
|
29
|
+
},
|
|
30
|
+
cyan: {
|
|
31
|
+
number: {
|
|
32
|
+
value: 10,
|
|
33
|
+
},
|
|
34
|
+
color: {
|
|
35
|
+
value: "#00ffff",
|
|
36
|
+
},
|
|
37
|
+
},
|
|
38
|
+
},
|
|
39
|
+
number: {
|
|
40
|
+
value: 40,
|
|
41
|
+
density: {
|
|
42
|
+
enable: true,
|
|
43
|
+
},
|
|
44
|
+
},
|
|
45
|
+
color: {
|
|
46
|
+
value: "#ffffff",
|
|
47
|
+
},
|
|
48
|
+
shape: {
|
|
49
|
+
type: "circle",
|
|
50
|
+
},
|
|
51
|
+
opacity: {
|
|
52
|
+
value: 0.5,
|
|
53
|
+
},
|
|
54
|
+
size: {
|
|
55
|
+
value: 10,
|
|
56
|
+
},
|
|
57
|
+
move: {
|
|
58
|
+
enable: true,
|
|
59
|
+
speed: 2,
|
|
60
|
+
},
|
|
61
|
+
},
|
|
62
|
+
background: {
|
|
63
|
+
color: "#000000",
|
|
64
|
+
},
|
|
65
|
+
};
|
|
66
|
+
export default options;
|
package/esm/g/index.js
CHANGED
|
@@ -2,11 +2,13 @@ import gifs from "./gifs.js";
|
|
|
2
2
|
import grabRandomColor from "./grabRandomColor.js";
|
|
3
3
|
import gradients from "./gradients.js";
|
|
4
4
|
import gravity from "./gravity.js";
|
|
5
|
+
import groups from "./groups";
|
|
5
6
|
import growing from "./growing.js";
|
|
6
7
|
export default {
|
|
7
8
|
gifs,
|
|
8
9
|
grabRandomColor,
|
|
9
10
|
gradients,
|
|
10
11
|
gravity,
|
|
12
|
+
groups,
|
|
11
13
|
growing,
|
|
12
14
|
};
|
package/esm/n/index.js
CHANGED
|
@@ -2,7 +2,9 @@ import namedColors from "./namedColors.js";
|
|
|
2
2
|
import nasa from "./nasa.js";
|
|
3
3
|
import noClear from "./noClear.js";
|
|
4
4
|
import noConfig from "./noConfig.js";
|
|
5
|
-
import
|
|
5
|
+
import noisePlanesFractal from "./noisePlanesFractal.js";
|
|
6
|
+
import noisePlanesPerlin from "./noisePlanesPerlin.js";
|
|
7
|
+
import noisePlanesSimplex from "./noisePlanesSimplex.js";
|
|
6
8
|
import nyancat from "./nyancat.js";
|
|
7
9
|
import nyancat2 from "./nyancat2.js";
|
|
8
10
|
export default {
|
|
@@ -10,7 +12,9 @@ export default {
|
|
|
10
12
|
nasa,
|
|
11
13
|
noClear,
|
|
12
14
|
noConfig,
|
|
13
|
-
|
|
15
|
+
noisePlanesFractal,
|
|
16
|
+
noisePlanesPerlin,
|
|
17
|
+
noisePlanesSimplex,
|
|
14
18
|
nyancat,
|
|
15
19
|
nyancat2,
|
|
16
20
|
};
|