@tsparticles/configs 3.2.2 → 3.4.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/c/clickConfetti.js +0 -1
- package/browser/e/effectTrailTransform.js +57 -0
- package/browser/e/emitterSpawnColor.js +6 -5
- package/browser/e/index.js +2 -0
- package/browser/f/fireworks.js +3 -1
- package/browser/f/fireworks2.js +2 -1
- package/browser/g/gradients.js +9 -8
- package/browser/i/imagesDirections.js +3 -2
- package/browser/m/mouseTrailNoise.js +0 -1
- package/browser/p/pop.js +2 -1
- package/browser/r/index.js +2 -0
- package/browser/r/randomShapes.js +417 -0
- package/browser/s/index.js +2 -0
- package/browser/s/shapeEmoji.js +6 -6
- package/browser/s/shapeInfinity.js +88 -0
- package/browser/t/tilt.js +0 -4
- package/browser/w/index.js +2 -0
- package/browser/w/wobble.js +0 -1
- package/browser/w/wobbleBig.js +139 -0
- package/cjs/c/clickConfetti.js +0 -1
- package/cjs/e/effectTrailTransform.js +59 -0
- package/cjs/e/emitterSpawnColor.js +6 -5
- package/cjs/e/index.js +2 -0
- package/cjs/f/fireworks.js +3 -1
- package/cjs/f/fireworks2.js +2 -1
- package/cjs/g/gradients.js +9 -8
- package/cjs/i/imagesDirections.js +3 -2
- package/cjs/m/mouseTrailNoise.js +0 -1
- package/cjs/p/pop.js +2 -1
- package/cjs/r/index.js +2 -0
- package/cjs/r/randomShapes.js +419 -0
- package/cjs/s/index.js +2 -0
- package/cjs/s/shapeEmoji.js +6 -6
- package/cjs/s/shapeInfinity.js +90 -0
- package/cjs/t/tilt.js +0 -4
- package/cjs/w/index.js +2 -0
- package/cjs/w/wobble.js +0 -1
- package/cjs/w/wobbleBig.js +141 -0
- package/esm/c/clickConfetti.js +0 -1
- package/esm/e/effectTrailTransform.js +57 -0
- package/esm/e/emitterSpawnColor.js +6 -5
- package/esm/e/index.js +2 -0
- package/esm/f/fireworks.js +3 -1
- package/esm/f/fireworks2.js +2 -1
- package/esm/g/gradients.js +9 -8
- package/esm/i/imagesDirections.js +3 -2
- package/esm/m/mouseTrailNoise.js +0 -1
- package/esm/p/pop.js +2 -1
- package/esm/r/index.js +2 -0
- package/esm/r/randomShapes.js +417 -0
- package/esm/s/index.js +2 -0
- package/esm/s/shapeEmoji.js +6 -6
- package/esm/s/shapeInfinity.js +88 -0
- package/esm/t/tilt.js +0 -4
- package/esm/w/index.js +2 -0
- package/esm/w/wobble.js +0 -1
- package/esm/w/wobbleBig.js +139 -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 +55 -15
- package/tsparticles.configs.min.js +1 -1
- package/tsparticles.configs.min.js.LICENSE.txt +1 -1
- package/types/e/effectTrailTransform.d.ts +3 -0
- package/types/e/index.d.ts +1 -0
- package/types/index.d.ts +4 -0
- package/types/r/index.d.ts +1 -0
- package/types/r/randomShapes.d.ts +3 -0
- package/types/s/index.d.ts +1 -0
- package/types/s/shapeInfinity.d.ts +3 -0
- package/types/w/index.d.ts +1 -0
- package/types/w/wobbleBig.d.ts +3 -0
- package/umd/c/clickConfetti.js +0 -1
- package/umd/e/effectTrailTransform.js +69 -0
- package/umd/e/emitterSpawnColor.js +7 -6
- package/umd/e/index.js +3 -1
- package/umd/f/fireworks.js +4 -2
- package/umd/f/fireworks2.js +3 -2
- package/umd/g/gradients.js +10 -9
- package/umd/i/imagesDirections.js +4 -3
- package/umd/m/mouseTrailNoise.js +0 -1
- package/umd/p/pop.js +3 -2
- package/umd/r/index.js +3 -1
- package/umd/r/randomShapes.js +429 -0
- package/umd/s/index.js +3 -1
- package/umd/s/shapeEmoji.js +7 -7
- package/umd/s/shapeInfinity.js +100 -0
- package/umd/t/tilt.js +0 -4
- package/umd/w/index.js +3 -1
- package/umd/w/wobble.js +0 -1
- package/umd/w/wobbleBig.js +151 -0
|
@@ -0,0 +1,151 @@
|
|
|
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: "wobbleBig",
|
|
14
|
+
name: "Wobble Big",
|
|
15
|
+
background: {
|
|
16
|
+
color: "#000000",
|
|
17
|
+
},
|
|
18
|
+
particles: {
|
|
19
|
+
bounce: {
|
|
20
|
+
vertical: {
|
|
21
|
+
value: 0,
|
|
22
|
+
},
|
|
23
|
+
horizontal: {
|
|
24
|
+
value: 0,
|
|
25
|
+
},
|
|
26
|
+
},
|
|
27
|
+
color: {
|
|
28
|
+
value: ["#1E00FF", "#FF0061", "#E1FF00", "#00FF9E"],
|
|
29
|
+
animation: {
|
|
30
|
+
enable: true,
|
|
31
|
+
speed: 30,
|
|
32
|
+
},
|
|
33
|
+
},
|
|
34
|
+
move: {
|
|
35
|
+
decay: {
|
|
36
|
+
min: 0.05,
|
|
37
|
+
max: 0.15,
|
|
38
|
+
},
|
|
39
|
+
direction: "top",
|
|
40
|
+
enable: true,
|
|
41
|
+
gravity: {
|
|
42
|
+
acceleration: 9.81,
|
|
43
|
+
enable: true,
|
|
44
|
+
maxSpeed: 200,
|
|
45
|
+
},
|
|
46
|
+
outModes: {
|
|
47
|
+
top: "none",
|
|
48
|
+
default: "destroy",
|
|
49
|
+
},
|
|
50
|
+
speed: {
|
|
51
|
+
min: 50,
|
|
52
|
+
max: 150,
|
|
53
|
+
},
|
|
54
|
+
},
|
|
55
|
+
number: {
|
|
56
|
+
value: 0,
|
|
57
|
+
limit: { value: 300 },
|
|
58
|
+
},
|
|
59
|
+
opacity: {
|
|
60
|
+
value: 1,
|
|
61
|
+
animation: {
|
|
62
|
+
enable: false,
|
|
63
|
+
startValue: "max",
|
|
64
|
+
destroy: "min",
|
|
65
|
+
speed: 0.3,
|
|
66
|
+
sync: true,
|
|
67
|
+
},
|
|
68
|
+
},
|
|
69
|
+
rotate: {
|
|
70
|
+
value: {
|
|
71
|
+
min: 0,
|
|
72
|
+
max: 360,
|
|
73
|
+
},
|
|
74
|
+
direction: "random",
|
|
75
|
+
move: true,
|
|
76
|
+
animation: {
|
|
77
|
+
enable: true,
|
|
78
|
+
speed: 60,
|
|
79
|
+
},
|
|
80
|
+
},
|
|
81
|
+
tilt: {
|
|
82
|
+
direction: "random",
|
|
83
|
+
enable: true,
|
|
84
|
+
value: {
|
|
85
|
+
min: 0,
|
|
86
|
+
max: 360,
|
|
87
|
+
},
|
|
88
|
+
animation: {
|
|
89
|
+
enable: true,
|
|
90
|
+
speed: 60,
|
|
91
|
+
},
|
|
92
|
+
},
|
|
93
|
+
shape: {
|
|
94
|
+
type: ["circle", "square", "polygon"],
|
|
95
|
+
options: {
|
|
96
|
+
polygon: [
|
|
97
|
+
{
|
|
98
|
+
sides: 5,
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
sides: 6,
|
|
102
|
+
},
|
|
103
|
+
],
|
|
104
|
+
},
|
|
105
|
+
},
|
|
106
|
+
size: {
|
|
107
|
+
value: 30,
|
|
108
|
+
},
|
|
109
|
+
roll: {
|
|
110
|
+
darken: {
|
|
111
|
+
enable: true,
|
|
112
|
+
value: 30,
|
|
113
|
+
},
|
|
114
|
+
enlighten: {
|
|
115
|
+
enable: true,
|
|
116
|
+
value: 30,
|
|
117
|
+
},
|
|
118
|
+
enable: true,
|
|
119
|
+
mode: "both",
|
|
120
|
+
speed: {
|
|
121
|
+
min: 15,
|
|
122
|
+
max: 25,
|
|
123
|
+
},
|
|
124
|
+
},
|
|
125
|
+
wobble: {
|
|
126
|
+
distance: 30,
|
|
127
|
+
enable: true,
|
|
128
|
+
move: true,
|
|
129
|
+
speed: {
|
|
130
|
+
min: -15,
|
|
131
|
+
max: 15,
|
|
132
|
+
},
|
|
133
|
+
},
|
|
134
|
+
},
|
|
135
|
+
emitters: {
|
|
136
|
+
position: {
|
|
137
|
+
x: 50,
|
|
138
|
+
y: 100,
|
|
139
|
+
},
|
|
140
|
+
size: {
|
|
141
|
+
width: 0,
|
|
142
|
+
height: 0,
|
|
143
|
+
},
|
|
144
|
+
rate: {
|
|
145
|
+
quantity: 10,
|
|
146
|
+
delay: 0.2,
|
|
147
|
+
},
|
|
148
|
+
},
|
|
149
|
+
};
|
|
150
|
+
exports.default = options;
|
|
151
|
+
});
|