@tsparticles/configs 3.0.0-beta.2 → 3.0.0-beta.4
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/c/connect.js +3 -1
- package/browser/c/curlNoise.js +49 -0
- package/browser/c/index.js +2 -4
- package/browser/d/dataImages.js +0 -1
- package/{esm/s/shapeBubble.js → browser/e/effectBubble.js} +5 -2
- package/browser/e/effectTrail.js +53 -0
- package/browser/e/emitterImageShape.js +95 -0
- package/browser/e/emitterImages.js +0 -1
- package/browser/e/emitterShapes.js +56 -70
- package/browser/e/emitterTextShape.js +100 -0
- package/browser/e/emitterTextStrokeShape.js +100 -0
- package/browser/e/index.js +10 -0
- package/browser/f/fontawesome.js +0 -1
- package/browser/g/gifs.js +1 -1
- package/browser/h/hollowknight.js +0 -1
- package/browser/i/images.js +0 -1
- package/browser/l/localPolygonMask.js +0 -1
- package/browser/m/index.js +2 -0
- package/browser/m/mouseTrailNoise.js +118 -0
- package/browser/m/multiplePolygonMasks.js +0 -1
- package/browser/o/orbit.js +1 -1
- package/browser/p/index.js +2 -0
- package/browser/p/pathPolygonMask.js +0 -1
- package/browser/p/pathSvg.js +0 -1
- package/browser/p/polygonMask.js +0 -1
- package/browser/p/pop.js +67 -0
- package/browser/r/random.js +1 -1
- package/browser/r/reactBubbles.js +0 -1
- package/browser/r/reactNightSky.js +0 -1
- package/browser/r/reactPolygonMask.js +0 -1
- package/browser/r/reactSimple.js +0 -1
- package/browser/r/reactSnow.js +0 -1
- package/browser/r/ring.js +1 -1
- package/browser/s/index.js +0 -2
- package/browser/s/shapeMultilineText.js +2 -2
- package/browser/s/style.js +1 -1
- package/browser/s/svgReplace.js +0 -1
- package/browser/t/tilt.js +1 -1
- package/browser/t/trail.js +1 -1
- package/browser/t/trailImage.js +1 -1
- package/browser/w/wobble.js +1 -1
- package/cjs/c/connect.js +3 -1
- package/cjs/c/curlNoise.js +51 -0
- package/cjs/c/index.js +2 -4
- package/cjs/d/dataImages.js +0 -1
- package/cjs/{s/shapeBubble.js → e/effectBubble.js} +5 -2
- package/cjs/e/effectTrail.js +55 -0
- package/cjs/e/emitterImageShape.js +97 -0
- package/cjs/e/emitterImages.js +0 -1
- package/cjs/e/emitterShapes.js +56 -70
- package/cjs/e/emitterTextShape.js +102 -0
- package/cjs/e/emitterTextStrokeShape.js +102 -0
- package/cjs/e/index.js +10 -0
- package/cjs/f/fontawesome.js +0 -1
- package/cjs/g/gifs.js +1 -1
- package/cjs/h/hollowknight.js +0 -1
- package/cjs/i/images.js +0 -1
- package/cjs/l/localPolygonMask.js +0 -1
- package/cjs/m/index.js +2 -0
- package/cjs/m/mouseTrailNoise.js +120 -0
- package/cjs/m/multiplePolygonMasks.js +0 -1
- package/cjs/o/orbit.js +1 -1
- package/cjs/p/index.js +2 -0
- package/cjs/p/pathPolygonMask.js +0 -1
- package/cjs/p/pathSvg.js +0 -1
- package/cjs/p/polygonMask.js +0 -1
- package/cjs/p/pop.js +69 -0
- package/cjs/r/random.js +1 -1
- package/cjs/r/reactBubbles.js +0 -1
- package/cjs/r/reactNightSky.js +0 -1
- package/cjs/r/reactPolygonMask.js +0 -1
- package/cjs/r/reactSimple.js +0 -1
- package/cjs/r/reactSnow.js +0 -1
- package/cjs/r/ring.js +1 -1
- package/cjs/s/index.js +0 -2
- package/cjs/s/shapeMultilineText.js +2 -2
- package/cjs/s/style.js +1 -1
- package/cjs/s/svgReplace.js +0 -1
- package/cjs/t/tilt.js +1 -1
- package/cjs/t/trail.js +1 -1
- package/cjs/t/trailImage.js +1 -1
- package/cjs/w/wobble.js +1 -1
- package/esm/c/connect.js +3 -1
- package/esm/c/curlNoise.js +49 -0
- package/esm/c/index.js +2 -4
- package/esm/d/dataImages.js +0 -1
- package/{browser/s/shapeBubble.js → esm/e/effectBubble.js} +5 -2
- package/esm/e/effectTrail.js +53 -0
- package/esm/e/emitterImageShape.js +95 -0
- package/esm/e/emitterImages.js +0 -1
- package/esm/e/emitterShapes.js +56 -70
- package/esm/e/emitterTextShape.js +100 -0
- package/esm/e/emitterTextStrokeShape.js +100 -0
- package/esm/e/index.js +10 -0
- package/esm/f/fontawesome.js +0 -1
- package/esm/g/gifs.js +1 -1
- package/esm/h/hollowknight.js +0 -1
- package/esm/i/images.js +0 -1
- package/esm/l/localPolygonMask.js +0 -1
- package/esm/m/index.js +2 -0
- package/esm/m/mouseTrailNoise.js +118 -0
- package/esm/m/multiplePolygonMasks.js +0 -1
- package/esm/o/orbit.js +1 -1
- package/esm/p/index.js +2 -0
- package/esm/p/pathPolygonMask.js +0 -1
- package/esm/p/pathSvg.js +0 -1
- package/esm/p/polygonMask.js +0 -1
- package/esm/p/pop.js +67 -0
- package/esm/r/random.js +1 -1
- package/esm/r/reactBubbles.js +0 -1
- package/esm/r/reactNightSky.js +0 -1
- package/esm/r/reactPolygonMask.js +0 -1
- package/esm/r/reactSimple.js +0 -1
- package/esm/r/reactSnow.js +0 -1
- package/esm/r/ring.js +1 -1
- package/esm/s/index.js +0 -2
- package/esm/s/shapeMultilineText.js +2 -2
- package/esm/s/style.js +1 -1
- package/esm/s/svgReplace.js +0 -1
- package/esm/t/tilt.js +1 -1
- package/esm/t/trail.js +1 -1
- package/esm/t/trailImage.js +1 -1
- package/esm/w/wobble.js +1 -1
- package/package.json +2 -2
- package/report.html +4 -22
- package/tsparticles.configs.bundle.js +1 -1
- package/tsparticles.configs.bundle.min.js.LICENSE.txt +1 -1
- package/tsparticles.configs.js +745 -202
- package/tsparticles.configs.min.js +1 -1
- package/tsparticles.configs.min.js.LICENSE.txt +1 -1
- package/types/c/index.d.ts +1 -2
- package/types/e/emitterImageShape.d.ts +3 -0
- package/types/e/emitterTextShape.d.ts +3 -0
- package/types/e/emitterTextStrokeShape.d.ts +3 -0
- package/types/e/index.d.ts +5 -0
- package/types/index.d.ts +8 -3
- package/types/m/index.d.ts +1 -0
- package/types/m/mouseTrailNoise.d.ts +3 -0
- package/types/p/index.d.ts +1 -0
- package/types/p/pop.d.ts +3 -0
- package/types/s/index.d.ts +0 -1
- package/umd/c/connect.js +3 -1
- package/umd/c/{customShape.js → curlNoise.js} +30 -30
- package/umd/c/index.js +3 -5
- package/umd/d/dataImages.js +0 -1
- package/umd/{s/shapeBubble.js → e/effectBubble.js} +5 -2
- package/umd/e/effectTrail.js +65 -0
- package/umd/e/emitterImageShape.js +107 -0
- package/umd/e/emitterImages.js +0 -1
- package/umd/e/emitterShapes.js +56 -70
- package/umd/e/emitterTextShape.js +112 -0
- package/umd/e/emitterTextStrokeShape.js +112 -0
- package/umd/e/index.js +11 -1
- package/umd/f/fontawesome.js +0 -1
- package/umd/g/gifs.js +1 -1
- package/umd/h/hollowknight.js +0 -1
- package/umd/i/images.js +0 -1
- package/umd/l/localPolygonMask.js +0 -1
- package/umd/m/index.js +3 -1
- package/umd/m/mouseTrailNoise.js +130 -0
- package/umd/m/multiplePolygonMasks.js +0 -1
- package/umd/o/orbit.js +1 -1
- package/umd/p/index.js +3 -1
- package/umd/p/pathPolygonMask.js +0 -1
- package/umd/p/pathSvg.js +0 -1
- package/umd/p/polygonMask.js +0 -1
- package/umd/p/pop.js +79 -0
- package/umd/r/random.js +1 -1
- package/umd/r/reactBubbles.js +0 -1
- package/umd/r/reactNightSky.js +0 -1
- package/umd/r/reactPolygonMask.js +0 -1
- package/umd/r/reactSimple.js +0 -1
- package/umd/r/reactSnow.js +0 -1
- package/umd/r/ring.js +1 -1
- package/umd/s/index.js +1 -3
- package/umd/s/shapeMultilineText.js +2 -2
- package/umd/s/style.js +1 -1
- package/umd/s/svgReplace.js +0 -1
- package/umd/t/tilt.js +1 -1
- package/umd/t/trail.js +1 -1
- package/umd/t/trailImage.js +1 -1
- package/umd/w/wobble.js +1 -1
- package/browser/c/customPreset.js +0 -5
- package/browser/c/customShape.js +0 -49
- package/cjs/c/customPreset.js +0 -7
- package/cjs/c/customShape.js +0 -51
- package/esm/c/customPreset.js +0 -5
- package/esm/c/customShape.js +0 -49
- package/umd/c/customPreset.js +0 -17
- /package/types/c/{customPreset.d.ts → curlNoise.d.ts} +0 -0
- /package/types/{c/customShape.d.ts → e/effectBubble.d.ts} +0 -0
- /package/types/{s/shapeBubble.d.ts → e/effectTrail.d.ts} +0 -0
|
@@ -0,0 +1,112 @@
|
|
|
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 rate = {
|
|
13
|
+
delay: 0.1,
|
|
14
|
+
quantity: 100,
|
|
15
|
+
};
|
|
16
|
+
const generateEmitter = (shape, options, fill, position) => {
|
|
17
|
+
return {
|
|
18
|
+
shape: {
|
|
19
|
+
type: shape,
|
|
20
|
+
options,
|
|
21
|
+
},
|
|
22
|
+
position: position,
|
|
23
|
+
size: {
|
|
24
|
+
width: 500,
|
|
25
|
+
height: 500,
|
|
26
|
+
mode: "precise",
|
|
27
|
+
},
|
|
28
|
+
startCount: 300,
|
|
29
|
+
rate,
|
|
30
|
+
fill,
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
const options = {
|
|
34
|
+
name: "Emitter Text Shape",
|
|
35
|
+
particles: {
|
|
36
|
+
number: {
|
|
37
|
+
value: 0,
|
|
38
|
+
},
|
|
39
|
+
color: {
|
|
40
|
+
value: [
|
|
41
|
+
"#f44336",
|
|
42
|
+
"#e91e63",
|
|
43
|
+
"#9c27b0",
|
|
44
|
+
"#673ab7",
|
|
45
|
+
"#3f51b5",
|
|
46
|
+
"#2196f3",
|
|
47
|
+
"#03a9f4",
|
|
48
|
+
"#00bcd4",
|
|
49
|
+
"#009688",
|
|
50
|
+
"#4CAF50",
|
|
51
|
+
"#8BC34A",
|
|
52
|
+
"#CDDC39",
|
|
53
|
+
"#FFEB3B",
|
|
54
|
+
"#FFC107",
|
|
55
|
+
"#FF9800",
|
|
56
|
+
"#FF5722",
|
|
57
|
+
],
|
|
58
|
+
},
|
|
59
|
+
life: {
|
|
60
|
+
count: 1,
|
|
61
|
+
duration: {
|
|
62
|
+
value: 1.5,
|
|
63
|
+
},
|
|
64
|
+
},
|
|
65
|
+
move: {
|
|
66
|
+
enable: true,
|
|
67
|
+
speed: 0.5,
|
|
68
|
+
},
|
|
69
|
+
shape: {
|
|
70
|
+
type: "circle",
|
|
71
|
+
},
|
|
72
|
+
opacity: {
|
|
73
|
+
value: 1,
|
|
74
|
+
},
|
|
75
|
+
size: {
|
|
76
|
+
value: { min: 1, max: 10 },
|
|
77
|
+
animation: {
|
|
78
|
+
enable: true,
|
|
79
|
+
speed: 30,
|
|
80
|
+
sync: true,
|
|
81
|
+
startValue: "min",
|
|
82
|
+
count: 2,
|
|
83
|
+
},
|
|
84
|
+
},
|
|
85
|
+
},
|
|
86
|
+
background: {
|
|
87
|
+
color: "#fff",
|
|
88
|
+
},
|
|
89
|
+
emitters: [
|
|
90
|
+
generateEmitter("canvas", {
|
|
91
|
+
scale: 1,
|
|
92
|
+
pixels: {
|
|
93
|
+
filter: "pixelTextFilter",
|
|
94
|
+
offset: 4,
|
|
95
|
+
},
|
|
96
|
+
text: {
|
|
97
|
+
color: "#ff0000",
|
|
98
|
+
font: {
|
|
99
|
+
size: 500,
|
|
100
|
+
family: "Verdana",
|
|
101
|
+
},
|
|
102
|
+
text: "Particles",
|
|
103
|
+
lines: {
|
|
104
|
+
separator: "\n",
|
|
105
|
+
spacing: 10,
|
|
106
|
+
},
|
|
107
|
+
},
|
|
108
|
+
}, true, { x: 50, y: 50 }),
|
|
109
|
+
],
|
|
110
|
+
};
|
|
111
|
+
exports.default = options;
|
|
112
|
+
});
|
|
@@ -0,0 +1,112 @@
|
|
|
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 rate = {
|
|
13
|
+
delay: 0.1,
|
|
14
|
+
quantity: 100,
|
|
15
|
+
};
|
|
16
|
+
const generateEmitter = (shape, options, fill, position) => {
|
|
17
|
+
return {
|
|
18
|
+
shape: {
|
|
19
|
+
type: shape,
|
|
20
|
+
options,
|
|
21
|
+
},
|
|
22
|
+
position: position,
|
|
23
|
+
size: {
|
|
24
|
+
width: 500,
|
|
25
|
+
height: 500,
|
|
26
|
+
mode: "precise",
|
|
27
|
+
},
|
|
28
|
+
startCount: 300,
|
|
29
|
+
rate,
|
|
30
|
+
fill,
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
const options = {
|
|
34
|
+
name: "Emitter Text Stroke Shape",
|
|
35
|
+
particles: {
|
|
36
|
+
number: {
|
|
37
|
+
value: 0,
|
|
38
|
+
},
|
|
39
|
+
color: {
|
|
40
|
+
value: [
|
|
41
|
+
"#f44336",
|
|
42
|
+
"#e91e63",
|
|
43
|
+
"#9c27b0",
|
|
44
|
+
"#673ab7",
|
|
45
|
+
"#3f51b5",
|
|
46
|
+
"#2196f3",
|
|
47
|
+
"#03a9f4",
|
|
48
|
+
"#00bcd4",
|
|
49
|
+
"#009688",
|
|
50
|
+
"#4CAF50",
|
|
51
|
+
"#8BC34A",
|
|
52
|
+
"#CDDC39",
|
|
53
|
+
"#FFEB3B",
|
|
54
|
+
"#FFC107",
|
|
55
|
+
"#FF9800",
|
|
56
|
+
"#FF5722",
|
|
57
|
+
],
|
|
58
|
+
},
|
|
59
|
+
life: {
|
|
60
|
+
count: 1,
|
|
61
|
+
duration: {
|
|
62
|
+
value: 1.5,
|
|
63
|
+
},
|
|
64
|
+
},
|
|
65
|
+
move: {
|
|
66
|
+
enable: true,
|
|
67
|
+
speed: 0.5,
|
|
68
|
+
},
|
|
69
|
+
shape: {
|
|
70
|
+
type: "circle",
|
|
71
|
+
},
|
|
72
|
+
opacity: {
|
|
73
|
+
value: 1,
|
|
74
|
+
},
|
|
75
|
+
size: {
|
|
76
|
+
value: { min: 1, max: 10 },
|
|
77
|
+
animation: {
|
|
78
|
+
enable: true,
|
|
79
|
+
speed: 30,
|
|
80
|
+
sync: true,
|
|
81
|
+
startValue: "min",
|
|
82
|
+
count: 2,
|
|
83
|
+
},
|
|
84
|
+
},
|
|
85
|
+
},
|
|
86
|
+
background: {
|
|
87
|
+
color: "#fff",
|
|
88
|
+
},
|
|
89
|
+
emitters: [
|
|
90
|
+
generateEmitter("canvas", {
|
|
91
|
+
scale: 1,
|
|
92
|
+
pixels: {
|
|
93
|
+
filter: "pixelTextFilter",
|
|
94
|
+
offset: 4,
|
|
95
|
+
},
|
|
96
|
+
text: {
|
|
97
|
+
color: "#ff0000",
|
|
98
|
+
font: {
|
|
99
|
+
size: 500,
|
|
100
|
+
family: "Verdana",
|
|
101
|
+
},
|
|
102
|
+
text: "Particles",
|
|
103
|
+
lines: {
|
|
104
|
+
separator: "\n",
|
|
105
|
+
spacing: 10,
|
|
106
|
+
},
|
|
107
|
+
},
|
|
108
|
+
}, false, { x: 50, y: 50 }),
|
|
109
|
+
],
|
|
110
|
+
};
|
|
111
|
+
exports.default = options;
|
|
112
|
+
});
|
package/umd/e/index.js
CHANGED
|
@@ -7,23 +7,33 @@ 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", "./emitter.js", "./emitterAbsorber.js", "./emitterAngled.js", "./emitterImages.js", "./emitterPaths.js", "./emitterShapes.js"], factory);
|
|
10
|
+
define(["require", "exports", "./effectBubble.js", "./effectTrail.js", "./emitter.js", "./emitterAbsorber.js", "./emitterAngled.js", "./emitterImageShape.js", "./emitterImages.js", "./emitterPaths.js", "./emitterShapes.js", "./emitterTextShape.js", "./emitterTextStrokeShape.js"], factory);
|
|
11
11
|
}
|
|
12
12
|
})(function (require, exports) {
|
|
13
13
|
"use strict";
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
const effectBubble_js_1 = __importDefault(require("./effectBubble.js"));
|
|
16
|
+
const effectTrail_js_1 = __importDefault(require("./effectTrail.js"));
|
|
15
17
|
const emitter_js_1 = __importDefault(require("./emitter.js"));
|
|
16
18
|
const emitterAbsorber_js_1 = __importDefault(require("./emitterAbsorber.js"));
|
|
17
19
|
const emitterAngled_js_1 = __importDefault(require("./emitterAngled.js"));
|
|
20
|
+
const emitterImageShape_js_1 = __importDefault(require("./emitterImageShape.js"));
|
|
18
21
|
const emitterImages_js_1 = __importDefault(require("./emitterImages.js"));
|
|
19
22
|
const emitterPaths_js_1 = __importDefault(require("./emitterPaths.js"));
|
|
20
23
|
const emitterShapes_js_1 = __importDefault(require("./emitterShapes.js"));
|
|
24
|
+
const emitterTextShape_js_1 = __importDefault(require("./emitterTextShape.js"));
|
|
25
|
+
const emitterTextStrokeShape_js_1 = __importDefault(require("./emitterTextStrokeShape.js"));
|
|
21
26
|
exports.default = {
|
|
27
|
+
effectBubble: effectBubble_js_1.default,
|
|
28
|
+
effectTrail: effectTrail_js_1.default,
|
|
22
29
|
emitter: emitter_js_1.default,
|
|
23
30
|
emitterAbsorber: emitterAbsorber_js_1.default,
|
|
24
31
|
emitterAngled: emitterAngled_js_1.default,
|
|
32
|
+
emitterImageShape: emitterImageShape_js_1.default,
|
|
25
33
|
emitterImages: emitterImages_js_1.default,
|
|
26
34
|
emitterPaths: emitterPaths_js_1.default,
|
|
27
35
|
emitterShapes: emitterShapes_js_1.default,
|
|
36
|
+
emitterTextShape: emitterTextShape_js_1.default,
|
|
37
|
+
emitterTextStrokeShape: emitterTextStrokeShape_js_1.default,
|
|
28
38
|
};
|
|
29
39
|
});
|
package/umd/f/fontawesome.js
CHANGED
package/umd/g/gifs.js
CHANGED
package/umd/h/hollowknight.js
CHANGED
package/umd/i/images.js
CHANGED
package/umd/m/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", "./manual.js", "./motionDisable.js", "./motionReduce.js", "./mouseAttract.js", "./mouseBounce.js", "./mouseFollow.js", "./mouseTrail.js", "./moveAngle.js", "./moveDistance.js", "./moveInside.js", "./moveOutside.js", "./multipleClickEmitters.js", "./multiplePolygonMasks.js"], factory);
|
|
10
|
+
define(["require", "exports", "./manual.js", "./motionDisable.js", "./motionReduce.js", "./mouseAttract.js", "./mouseBounce.js", "./mouseFollow.js", "./mouseTrail.js", "./mouseTrailNoise.js", "./moveAngle.js", "./moveDistance.js", "./moveInside.js", "./moveOutside.js", "./multipleClickEmitters.js", "./multiplePolygonMasks.js"], factory);
|
|
11
11
|
}
|
|
12
12
|
})(function (require, exports) {
|
|
13
13
|
"use strict";
|
|
@@ -19,6 +19,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
19
19
|
const mouseBounce_js_1 = __importDefault(require("./mouseBounce.js"));
|
|
20
20
|
const mouseFollow_js_1 = __importDefault(require("./mouseFollow.js"));
|
|
21
21
|
const mouseTrail_js_1 = __importDefault(require("./mouseTrail.js"));
|
|
22
|
+
const mouseTrailNoise_js_1 = __importDefault(require("./mouseTrailNoise.js"));
|
|
22
23
|
const moveAngle_js_1 = __importDefault(require("./moveAngle.js"));
|
|
23
24
|
const moveDistance_js_1 = __importDefault(require("./moveDistance.js"));
|
|
24
25
|
const moveInside_js_1 = __importDefault(require("./moveInside.js"));
|
|
@@ -33,6 +34,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
33
34
|
mouseBounce: mouseBounce_js_1.default,
|
|
34
35
|
mouseFollow: mouseFollow_js_1.default,
|
|
35
36
|
mouseTrail: mouseTrail_js_1.default,
|
|
37
|
+
mouseTrailNoise: mouseTrailNoise_js_1.default,
|
|
36
38
|
moveAngle: moveAngle_js_1.default,
|
|
37
39
|
moveDistance: moveDistance_js_1.default,
|
|
38
40
|
moveInside: moveInside_js_1.default,
|
|
@@ -0,0 +1,130 @@
|
|
|
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
|
+
name: "Mouse Trail Noise",
|
|
14
|
+
particles: {
|
|
15
|
+
number: {
|
|
16
|
+
value: 0,
|
|
17
|
+
},
|
|
18
|
+
color: {
|
|
19
|
+
value: ["#ff0000", "#00ff00", "#0000ff"],
|
|
20
|
+
animation: {
|
|
21
|
+
enable: true,
|
|
22
|
+
speed: 360,
|
|
23
|
+
sync: false,
|
|
24
|
+
},
|
|
25
|
+
},
|
|
26
|
+
shape: {
|
|
27
|
+
type: "triangle",
|
|
28
|
+
},
|
|
29
|
+
opacity: {
|
|
30
|
+
value: { min: 0, max: 1 },
|
|
31
|
+
animation: {
|
|
32
|
+
enable: true,
|
|
33
|
+
speed: 1,
|
|
34
|
+
sync: false,
|
|
35
|
+
destroy: "min",
|
|
36
|
+
},
|
|
37
|
+
},
|
|
38
|
+
size: {
|
|
39
|
+
value: {
|
|
40
|
+
min: 4,
|
|
41
|
+
max: 8,
|
|
42
|
+
},
|
|
43
|
+
},
|
|
44
|
+
move: {
|
|
45
|
+
enable: true,
|
|
46
|
+
speed: 6,
|
|
47
|
+
outModes: "destroy",
|
|
48
|
+
path: {
|
|
49
|
+
enable: true,
|
|
50
|
+
options: {
|
|
51
|
+
size: 64,
|
|
52
|
+
draw: false,
|
|
53
|
+
increment: 0.005,
|
|
54
|
+
},
|
|
55
|
+
delay: {
|
|
56
|
+
value: 0,
|
|
57
|
+
},
|
|
58
|
+
generator: "perlinNoise",
|
|
59
|
+
},
|
|
60
|
+
},
|
|
61
|
+
rotate: {
|
|
62
|
+
value: {
|
|
63
|
+
min: 0,
|
|
64
|
+
max: 360,
|
|
65
|
+
},
|
|
66
|
+
direction: "random",
|
|
67
|
+
move: true,
|
|
68
|
+
animation: {
|
|
69
|
+
enable: true,
|
|
70
|
+
speed: 60,
|
|
71
|
+
},
|
|
72
|
+
},
|
|
73
|
+
tilt: {
|
|
74
|
+
direction: "random",
|
|
75
|
+
enable: true,
|
|
76
|
+
move: true,
|
|
77
|
+
value: {
|
|
78
|
+
min: 0,
|
|
79
|
+
max: 360,
|
|
80
|
+
},
|
|
81
|
+
animation: {
|
|
82
|
+
enable: true,
|
|
83
|
+
speed: 60,
|
|
84
|
+
},
|
|
85
|
+
},
|
|
86
|
+
roll: {
|
|
87
|
+
darken: {
|
|
88
|
+
enable: true,
|
|
89
|
+
value: 30,
|
|
90
|
+
},
|
|
91
|
+
enlighten: {
|
|
92
|
+
enable: true,
|
|
93
|
+
value: 30,
|
|
94
|
+
},
|
|
95
|
+
enable: true,
|
|
96
|
+
mode: "both",
|
|
97
|
+
speed: {
|
|
98
|
+
min: 15,
|
|
99
|
+
max: 25,
|
|
100
|
+
},
|
|
101
|
+
},
|
|
102
|
+
wobble: {
|
|
103
|
+
distance: 30,
|
|
104
|
+
enable: true,
|
|
105
|
+
move: true,
|
|
106
|
+
speed: {
|
|
107
|
+
min: -15,
|
|
108
|
+
max: 15,
|
|
109
|
+
},
|
|
110
|
+
},
|
|
111
|
+
},
|
|
112
|
+
interactivity: {
|
|
113
|
+
events: {
|
|
114
|
+
onHover: {
|
|
115
|
+
enable: true,
|
|
116
|
+
mode: "trail",
|
|
117
|
+
},
|
|
118
|
+
},
|
|
119
|
+
modes: {
|
|
120
|
+
trail: {
|
|
121
|
+
delay: 0.01,
|
|
122
|
+
},
|
|
123
|
+
},
|
|
124
|
+
},
|
|
125
|
+
background: {
|
|
126
|
+
color: "#000000",
|
|
127
|
+
},
|
|
128
|
+
};
|
|
129
|
+
exports.default = options;
|
|
130
|
+
});
|
package/umd/o/orbit.js
CHANGED
package/umd/p/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", "./parallax.js", "./pathPolygonMask.js", "./pathSvg.js", "./planes.js", "./plasma.js", "./polygonMask.js", "./polygons.js"], factory);
|
|
10
|
+
define(["require", "exports", "./parallax.js", "./pathPolygonMask.js", "./pathSvg.js", "./planes.js", "./plasma.js", "./polygonMask.js", "./polygons.js", "./pop.js"], factory);
|
|
11
11
|
}
|
|
12
12
|
})(function (require, exports) {
|
|
13
13
|
"use strict";
|
|
@@ -19,6 +19,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
19
19
|
const plasma_js_1 = __importDefault(require("./plasma.js"));
|
|
20
20
|
const polygonMask_js_1 = __importDefault(require("./polygonMask.js"));
|
|
21
21
|
const polygons_js_1 = __importDefault(require("./polygons.js"));
|
|
22
|
+
const pop_js_1 = __importDefault(require("./pop.js"));
|
|
22
23
|
exports.default = {
|
|
23
24
|
parallax: parallax_js_1.default,
|
|
24
25
|
pathPolygonMask: pathPolygonMask_js_1.default,
|
|
@@ -27,5 +28,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
27
28
|
plasma: plasma_js_1.default,
|
|
28
29
|
polygonMask: polygonMask_js_1.default,
|
|
29
30
|
polygons: polygons_js_1.default,
|
|
31
|
+
pop: pop_js_1.default,
|
|
30
32
|
};
|
|
31
33
|
});
|
package/umd/p/pathPolygonMask.js
CHANGED
package/umd/p/pathSvg.js
CHANGED
package/umd/p/polygonMask.js
CHANGED
package/umd/p/pop.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
|
+
name: "Pop",
|
|
14
|
+
particles: {
|
|
15
|
+
number: {
|
|
16
|
+
limit: {
|
|
17
|
+
value: 80,
|
|
18
|
+
mode: "wait",
|
|
19
|
+
},
|
|
20
|
+
value: 80,
|
|
21
|
+
},
|
|
22
|
+
color: {
|
|
23
|
+
value: ["#3998D0", "#2EB6AF", "#A9BD33", "#FEC73B", "#F89930", "#F45623", "#D62E32", "#EB586E", "#9952CF"],
|
|
24
|
+
},
|
|
25
|
+
shape: {
|
|
26
|
+
type: "circle",
|
|
27
|
+
},
|
|
28
|
+
opacity: {
|
|
29
|
+
value: 1,
|
|
30
|
+
},
|
|
31
|
+
size: {
|
|
32
|
+
value: {
|
|
33
|
+
min: 10,
|
|
34
|
+
max: 15,
|
|
35
|
+
},
|
|
36
|
+
},
|
|
37
|
+
collisions: {
|
|
38
|
+
enable: true,
|
|
39
|
+
mode: "bounce",
|
|
40
|
+
},
|
|
41
|
+
move: {
|
|
42
|
+
enable: true,
|
|
43
|
+
speed: 3,
|
|
44
|
+
},
|
|
45
|
+
},
|
|
46
|
+
interactivity: {
|
|
47
|
+
events: {
|
|
48
|
+
onClick: {
|
|
49
|
+
enable: true,
|
|
50
|
+
mode: "pop",
|
|
51
|
+
},
|
|
52
|
+
},
|
|
53
|
+
},
|
|
54
|
+
background: {
|
|
55
|
+
color: "#000000",
|
|
56
|
+
},
|
|
57
|
+
emitters: {
|
|
58
|
+
direction: "none",
|
|
59
|
+
life: {
|
|
60
|
+
count: 0,
|
|
61
|
+
duration: 0.1,
|
|
62
|
+
delay: 0.1,
|
|
63
|
+
},
|
|
64
|
+
rate: {
|
|
65
|
+
delay: 0.1,
|
|
66
|
+
quantity: 1,
|
|
67
|
+
},
|
|
68
|
+
size: {
|
|
69
|
+
width: 100,
|
|
70
|
+
height: 100,
|
|
71
|
+
},
|
|
72
|
+
position: {
|
|
73
|
+
x: 50,
|
|
74
|
+
y: 50,
|
|
75
|
+
},
|
|
76
|
+
},
|
|
77
|
+
};
|
|
78
|
+
exports.default = options;
|
|
79
|
+
});
|
package/umd/r/random.js
CHANGED
package/umd/r/reactBubbles.js
CHANGED
package/umd/r/reactNightSky.js
CHANGED
package/umd/r/reactSimple.js
CHANGED
package/umd/r/reactSnow.js
CHANGED