@tsparticles/configs 3.0.0-beta.3 → 3.0.0-beta.5
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 -0
- package/browser/d/dataImages.js +0 -1
- package/browser/{s/shapeBubble.js → 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 +5 -3
- package/browser/i/images.js +0 -1
- package/browser/i/imagesDirections.js +5 -2
- package/browser/l/localPolygonMask.js +5 -3
- package/browser/m/index.js +2 -0
- package/browser/m/mouseTrailNoise.js +118 -0
- package/browser/m/multiplePolygonMasks.js +5 -3
- package/browser/o/orbit.js +1 -1
- package/browser/p/index.js +2 -0
- package/browser/p/pathPolygonMask.js +5 -3
- package/browser/p/pathSvg.js +0 -1
- package/browser/p/polygonMask.js +5 -3
- 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 +2 -2
- package/browser/s/shapeEmoji.js +184 -0
- package/browser/s/shapeMultilineText.js +2 -2
- package/browser/s/style.js +1 -1
- package/browser/s/svgReplace.js +0 -1
- package/browser/t/themes.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 -0
- 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 +5 -3
- package/cjs/i/images.js +0 -1
- package/cjs/i/imagesDirections.js +5 -2
- package/cjs/l/localPolygonMask.js +5 -3
- package/cjs/m/index.js +2 -0
- package/cjs/m/mouseTrailNoise.js +120 -0
- package/cjs/m/multiplePolygonMasks.js +5 -3
- package/cjs/o/orbit.js +1 -1
- package/cjs/p/index.js +2 -0
- package/cjs/p/pathPolygonMask.js +5 -3
- package/cjs/p/pathSvg.js +0 -1
- package/cjs/p/polygonMask.js +5 -3
- 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 +2 -2
- package/cjs/s/shapeEmoji.js +186 -0
- package/cjs/s/shapeMultilineText.js +2 -2
- package/cjs/s/style.js +1 -1
- package/cjs/s/svgReplace.js +0 -1
- package/cjs/t/themes.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 -0
- package/esm/d/dataImages.js +0 -1
- package/esm/{s/shapeBubble.js → 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 +5 -3
- package/esm/i/images.js +0 -1
- package/esm/i/imagesDirections.js +5 -2
- package/esm/l/localPolygonMask.js +5 -3
- package/esm/m/index.js +2 -0
- package/esm/m/mouseTrailNoise.js +118 -0
- package/esm/m/multiplePolygonMasks.js +5 -3
- package/esm/o/orbit.js +1 -1
- package/esm/p/index.js +2 -0
- package/esm/p/pathPolygonMask.js +5 -3
- package/esm/p/pathSvg.js +0 -1
- package/esm/p/polygonMask.js +5 -3
- 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 +2 -2
- package/esm/s/shapeEmoji.js +184 -0
- package/esm/s/shapeMultilineText.js +2 -2
- package/esm/s/style.js +1 -1
- package/esm/s/svgReplace.js +0 -1
- package/esm/t/themes.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 +975 -173
- package/tsparticles.configs.min.js +1 -1
- package/tsparticles.configs.min.js.LICENSE.txt +1 -1
- package/types/c/index.d.ts +1 -0
- package/types/e/effectBubble.d.ts +3 -0
- package/types/e/effectTrail.d.ts +3 -0
- 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 +9 -1
- 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 +1 -1
- package/types/s/shapeEmoji.d.ts +3 -0
- package/umd/c/connect.js +3 -1
- package/umd/c/curlNoise.js +61 -0
- package/umd/c/index.js +3 -1
- 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 +5 -3
- package/umd/i/images.js +0 -1
- package/umd/i/imagesDirections.js +5 -2
- package/umd/l/localPolygonMask.js +5 -3
- package/umd/m/index.js +3 -1
- package/umd/m/mouseTrailNoise.js +130 -0
- package/umd/m/multiplePolygonMasks.js +5 -3
- package/umd/o/orbit.js +1 -1
- package/umd/p/index.js +3 -1
- package/umd/p/pathPolygonMask.js +5 -3
- package/umd/p/pathSvg.js +0 -1
- package/umd/p/polygonMask.js +5 -3
- 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 +3 -3
- package/umd/s/shapeEmoji.js +196 -0
- package/umd/s/shapeMultilineText.js +2 -2
- package/umd/s/style.js +1 -1
- package/umd/s/svgReplace.js +0 -1
- package/umd/t/themes.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/types/{s/shapeBubble.d.ts → c/curlNoise.d.ts} +0 -0
package/umd/s/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", "./seaAnemone.js", "./shadow.js", "./shapeArrow.js", "./
|
|
10
|
+
define(["require", "exports", "./seaAnemone.js", "./shadow.js", "./shapeArrow.js", "./shapeCog.js", "./shapeEmoji.js", "./shapeHeart.js", "./shapeMultilineText.js", "./shapeOptions.js", "./shapePath.js", "./shapeRoundedPolygon.js", "./shapeRoundedRect.js", "./shapeSpiral.js", "./slow.js", "./snow.js", "./soundsAudio.js", "./soundsLoop.js", "./soundsMelodies.js", "./soundsMelodyLoop.js", "./soundsNotes.js", "./speedDecay.js", "./spin.js", "./star.js", "./strokeAnimation.js", "./style.js", "./svgReplace.js"], factory);
|
|
11
11
|
}
|
|
12
12
|
})(function (require, exports) {
|
|
13
13
|
"use strict";
|
|
@@ -15,8 +15,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
15
15
|
const seaAnemone_js_1 = __importDefault(require("./seaAnemone.js"));
|
|
16
16
|
const shadow_js_1 = __importDefault(require("./shadow.js"));
|
|
17
17
|
const shapeArrow_js_1 = __importDefault(require("./shapeArrow.js"));
|
|
18
|
-
const shapeBubble_js_1 = __importDefault(require("./shapeBubble.js"));
|
|
19
18
|
const shapeCog_js_1 = __importDefault(require("./shapeCog.js"));
|
|
19
|
+
const shapeEmoji_js_1 = __importDefault(require("./shapeEmoji.js"));
|
|
20
20
|
const shapeHeart_js_1 = __importDefault(require("./shapeHeart.js"));
|
|
21
21
|
const shapeMultilineText_js_1 = __importDefault(require("./shapeMultilineText.js"));
|
|
22
22
|
const shapeOptions_js_1 = __importDefault(require("./shapeOptions.js"));
|
|
@@ -41,8 +41,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
41
41
|
seaAnemone: seaAnemone_js_1.default,
|
|
42
42
|
shadow: shadow_js_1.default,
|
|
43
43
|
shapeArrow: shapeArrow_js_1.default,
|
|
44
|
-
shapeBubble: shapeBubble_js_1.default,
|
|
45
44
|
shapeCog: shapeCog_js_1.default,
|
|
45
|
+
shapeEmoji: shapeEmoji_js_1.default,
|
|
46
46
|
shapeHeart: shapeHeart_js_1.default,
|
|
47
47
|
shapeMultilineText: shapeMultilineText_js_1.default,
|
|
48
48
|
shapeOptions: shapeOptions_js_1.default,
|
|
@@ -0,0 +1,196 @@
|
|
|
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 emitterRate = {
|
|
13
|
+
delay: 0.1,
|
|
14
|
+
quantity: 2,
|
|
15
|
+
}, options = {
|
|
16
|
+
name: "Shape Emoji",
|
|
17
|
+
particles: {
|
|
18
|
+
opacity: {
|
|
19
|
+
value: 1,
|
|
20
|
+
},
|
|
21
|
+
size: {
|
|
22
|
+
value: {
|
|
23
|
+
min: 16,
|
|
24
|
+
max: 32,
|
|
25
|
+
},
|
|
26
|
+
},
|
|
27
|
+
move: {
|
|
28
|
+
enable: true,
|
|
29
|
+
gravity: {
|
|
30
|
+
enable: true,
|
|
31
|
+
},
|
|
32
|
+
speed: 15,
|
|
33
|
+
outModes: {
|
|
34
|
+
default: "destroy",
|
|
35
|
+
top: "none",
|
|
36
|
+
},
|
|
37
|
+
},
|
|
38
|
+
rotate: {
|
|
39
|
+
value: {
|
|
40
|
+
min: 0,
|
|
41
|
+
max: 360,
|
|
42
|
+
},
|
|
43
|
+
direction: "random",
|
|
44
|
+
move: true,
|
|
45
|
+
animation: {
|
|
46
|
+
enable: true,
|
|
47
|
+
speed: 60,
|
|
48
|
+
},
|
|
49
|
+
},
|
|
50
|
+
tilt: {
|
|
51
|
+
direction: "random",
|
|
52
|
+
enable: true,
|
|
53
|
+
move: true,
|
|
54
|
+
value: {
|
|
55
|
+
min: 0,
|
|
56
|
+
max: 360,
|
|
57
|
+
},
|
|
58
|
+
animation: {
|
|
59
|
+
enable: true,
|
|
60
|
+
speed: 60,
|
|
61
|
+
},
|
|
62
|
+
},
|
|
63
|
+
roll: {
|
|
64
|
+
darken: {
|
|
65
|
+
enable: true,
|
|
66
|
+
value: 30,
|
|
67
|
+
},
|
|
68
|
+
enlighten: {
|
|
69
|
+
enable: true,
|
|
70
|
+
value: 30,
|
|
71
|
+
},
|
|
72
|
+
enable: true,
|
|
73
|
+
mode: "both",
|
|
74
|
+
speed: {
|
|
75
|
+
min: 15,
|
|
76
|
+
max: 25,
|
|
77
|
+
},
|
|
78
|
+
},
|
|
79
|
+
wobble: {
|
|
80
|
+
distance: 30,
|
|
81
|
+
enable: true,
|
|
82
|
+
move: true,
|
|
83
|
+
speed: {
|
|
84
|
+
min: -15,
|
|
85
|
+
max: 15,
|
|
86
|
+
},
|
|
87
|
+
},
|
|
88
|
+
},
|
|
89
|
+
background: {
|
|
90
|
+
color: "#000000",
|
|
91
|
+
},
|
|
92
|
+
emitters: [
|
|
93
|
+
{
|
|
94
|
+
position: {
|
|
95
|
+
x: 0,
|
|
96
|
+
y: 33,
|
|
97
|
+
},
|
|
98
|
+
rate: emitterRate,
|
|
99
|
+
particles: {
|
|
100
|
+
move: {
|
|
101
|
+
direction: "top-right",
|
|
102
|
+
},
|
|
103
|
+
shape: {
|
|
104
|
+
type: "emoji",
|
|
105
|
+
options: {
|
|
106
|
+
emoji: {
|
|
107
|
+
value: "🦄",
|
|
108
|
+
},
|
|
109
|
+
},
|
|
110
|
+
},
|
|
111
|
+
},
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
position: {
|
|
115
|
+
x: 0,
|
|
116
|
+
y: 66,
|
|
117
|
+
},
|
|
118
|
+
rate: emitterRate,
|
|
119
|
+
particles: {
|
|
120
|
+
move: {
|
|
121
|
+
direction: "top-right",
|
|
122
|
+
},
|
|
123
|
+
shape: {
|
|
124
|
+
type: "emoji",
|
|
125
|
+
options: {
|
|
126
|
+
emoji: {
|
|
127
|
+
value: "🌈",
|
|
128
|
+
},
|
|
129
|
+
},
|
|
130
|
+
},
|
|
131
|
+
},
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
position: {
|
|
135
|
+
x: 100,
|
|
136
|
+
y: 33,
|
|
137
|
+
},
|
|
138
|
+
rate: emitterRate,
|
|
139
|
+
particles: {
|
|
140
|
+
move: {
|
|
141
|
+
direction: "top-left",
|
|
142
|
+
},
|
|
143
|
+
shape: {
|
|
144
|
+
type: "emoji",
|
|
145
|
+
options: {
|
|
146
|
+
emoji: {
|
|
147
|
+
value: "🎉",
|
|
148
|
+
},
|
|
149
|
+
},
|
|
150
|
+
},
|
|
151
|
+
},
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
position: {
|
|
155
|
+
x: 100,
|
|
156
|
+
y: 66,
|
|
157
|
+
},
|
|
158
|
+
rate: emitterRate,
|
|
159
|
+
particles: {
|
|
160
|
+
move: {
|
|
161
|
+
direction: "top-left",
|
|
162
|
+
},
|
|
163
|
+
shape: {
|
|
164
|
+
type: "emoji",
|
|
165
|
+
options: {
|
|
166
|
+
emoji: {
|
|
167
|
+
value: "🤡",
|
|
168
|
+
},
|
|
169
|
+
},
|
|
170
|
+
},
|
|
171
|
+
},
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
position: {
|
|
175
|
+
x: 50,
|
|
176
|
+
y: 50,
|
|
177
|
+
},
|
|
178
|
+
rate: emitterRate,
|
|
179
|
+
particles: {
|
|
180
|
+
move: {
|
|
181
|
+
direction: "top",
|
|
182
|
+
},
|
|
183
|
+
shape: {
|
|
184
|
+
type: "emoji",
|
|
185
|
+
options: {
|
|
186
|
+
emoji: {
|
|
187
|
+
value: "👻",
|
|
188
|
+
},
|
|
189
|
+
},
|
|
190
|
+
},
|
|
191
|
+
},
|
|
192
|
+
},
|
|
193
|
+
],
|
|
194
|
+
};
|
|
195
|
+
exports.default = options;
|
|
196
|
+
});
|
package/umd/s/style.js
CHANGED
package/umd/s/svgReplace.js
CHANGED
package/umd/t/themes.js
CHANGED
package/umd/t/tilt.js
CHANGED
package/umd/t/trail.js
CHANGED
package/umd/t/trailImage.js
CHANGED
package/umd/w/wobble.js
CHANGED
|
File without changes
|