@tsparticles/configs 3.0.0-beta.5 → 3.0.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.
@@ -19,6 +19,7 @@ const options = {
19
19
  type: "trail",
20
20
  options: {
21
21
  trail: {
22
+ fade: true,
22
23
  length: {
23
24
  min: 10,
24
25
  max: 30,
@@ -43,7 +44,7 @@ const options = {
43
44
  generator: "simplexNoise",
44
45
  },
45
46
  enable: true,
46
- speed: 6,
47
+ speed: { min: 6, max: 15 },
47
48
  },
48
49
  },
49
50
  background: {
@@ -0,0 +1,196 @@
1
+ const options = {
2
+ name: "Fireworks 2",
3
+ fullScreen: {
4
+ enable: true,
5
+ },
6
+ background: {
7
+ color: "#ffffff",
8
+ image: "url('https://particles.js.org/images/background3.jpg')",
9
+ position: "50% 50%",
10
+ repeat: "no-repeat",
11
+ size: "cover",
12
+ },
13
+ backgroundMask: {
14
+ enable: true,
15
+ },
16
+ emitters: {
17
+ direction: "top",
18
+ life: {
19
+ count: 0,
20
+ duration: 0.1,
21
+ delay: 0.1,
22
+ },
23
+ rate: {
24
+ delay: 0.15,
25
+ quantity: 1,
26
+ },
27
+ size: {
28
+ width: 100,
29
+ height: 0,
30
+ },
31
+ position: {
32
+ y: 100,
33
+ x: 50,
34
+ },
35
+ },
36
+ particles: {
37
+ number: {
38
+ value: 0,
39
+ },
40
+ destroy: {
41
+ bounds: {
42
+ top: 30,
43
+ },
44
+ mode: "split",
45
+ split: {
46
+ count: 1,
47
+ factor: {
48
+ value: 0.333333,
49
+ },
50
+ rate: {
51
+ value: 100,
52
+ },
53
+ particles: {
54
+ stroke: {
55
+ width: 0,
56
+ },
57
+ color: {
58
+ value: ["#ff595e", "#ffca3a", "#8ac926", "#1982c4", "#6a4c93"],
59
+ },
60
+ number: {
61
+ value: 0,
62
+ },
63
+ collisions: {
64
+ enable: false,
65
+ },
66
+ destroy: {
67
+ bounds: {
68
+ top: 0,
69
+ },
70
+ },
71
+ opacity: {
72
+ value: {
73
+ min: 0.1,
74
+ max: 1,
75
+ },
76
+ animation: {
77
+ enable: true,
78
+ speed: 0.7,
79
+ sync: false,
80
+ startValue: "max",
81
+ destroy: "min",
82
+ },
83
+ },
84
+ effect: {
85
+ type: "trail",
86
+ options: {
87
+ trail: {
88
+ length: {
89
+ min: 5,
90
+ max: 10,
91
+ },
92
+ },
93
+ },
94
+ },
95
+ shape: {
96
+ type: "circle",
97
+ },
98
+ size: {
99
+ value: 2,
100
+ animation: {
101
+ enable: false,
102
+ },
103
+ },
104
+ life: {
105
+ count: 1,
106
+ duration: {
107
+ value: {
108
+ min: 1,
109
+ max: 2,
110
+ },
111
+ },
112
+ },
113
+ move: {
114
+ enable: true,
115
+ gravity: {
116
+ enable: true,
117
+ acceleration: 9.81,
118
+ inverse: false,
119
+ },
120
+ decay: 0.1,
121
+ speed: {
122
+ min: 10,
123
+ max: 25,
124
+ },
125
+ direction: "outside",
126
+ outModes: "destroy",
127
+ },
128
+ },
129
+ },
130
+ },
131
+ life: {
132
+ count: 1,
133
+ },
134
+ effect: {
135
+ type: "trail",
136
+ options: {
137
+ trail: {
138
+ length: {
139
+ min: 10,
140
+ max: 30,
141
+ },
142
+ minWidth: 1,
143
+ maxWidth: 1,
144
+ },
145
+ },
146
+ },
147
+ rotate: {
148
+ path: true,
149
+ },
150
+ shape: {
151
+ type: "circle",
152
+ },
153
+ size: {
154
+ value: 1,
155
+ },
156
+ stroke: {
157
+ color: {
158
+ value: "#ffffff",
159
+ },
160
+ width: 1,
161
+ },
162
+ move: {
163
+ enable: true,
164
+ gravity: {
165
+ acceleration: 15,
166
+ enable: true,
167
+ inverse: true,
168
+ maxSpeed: 100,
169
+ },
170
+ speed: {
171
+ min: 10,
172
+ max: 20,
173
+ },
174
+ outModes: {
175
+ default: "destroy",
176
+ top: "none",
177
+ },
178
+ },
179
+ },
180
+ sounds: {
181
+ enable: true,
182
+ events: [
183
+ {
184
+ event: "particleRemoved",
185
+ filter: "explodeSoundCheck",
186
+ audio: [
187
+ "https://particles.js.org/audio/explosion0.mp3",
188
+ "https://particles.js.org/audio/explosion1.mp3",
189
+ "https://particles.js.org/audio/explosion2.mp3",
190
+ ],
191
+ },
192
+ ],
193
+ volume: 50,
194
+ },
195
+ };
196
+ export default options;
package/esm/f/index.js CHANGED
@@ -1,8 +1,10 @@
1
1
  import fireworks from "./fireworks.js";
2
+ import fireworks2 from "./fireworks2.js";
2
3
  import fontawesome from "./fontawesome.js";
3
4
  import forward from "./forward.js";
4
5
  export default {
5
6
  fireworks,
7
+ fireworks2,
6
8
  fontawesome,
7
9
  forward,
8
10
  };
package/esm/n/index.js CHANGED
@@ -1,11 +1,13 @@
1
1
  import nasa from "./nasa.js";
2
- import noconfig from "./noconfig.js";
2
+ import noClear from "./noClear.js";
3
+ import noConfig from "./noConfig.js";
3
4
  import noisePlanes from "./noisePlanes.js";
4
5
  import nyancat from "./nyancat.js";
5
6
  import nyancat2 from "./nyancat2.js";
6
7
  export default {
7
8
  nasa,
8
- noconfig,
9
+ noClear,
10
+ noConfig,
9
11
  noisePlanes,
10
12
  nyancat,
11
13
  nyancat2,
@@ -0,0 +1,98 @@
1
+ const options = {
2
+ name: "No Clear",
3
+ clear: false,
4
+ interactivity: {
5
+ events: {
6
+ onHover: {
7
+ enable: true,
8
+ mode: "trail",
9
+ },
10
+ },
11
+ modes: {
12
+ trail: {
13
+ delay: 0.01,
14
+ quantity: 1,
15
+ pauseOnStop: true,
16
+ },
17
+ },
18
+ },
19
+ particles: {
20
+ color: {
21
+ value: [
22
+ "#80F31F",
23
+ "#ED8B08",
24
+ "#ED1868",
25
+ "#800CE0",
26
+ "#1274F7",
27
+ "#12E797",
28
+ "#7FF31F",
29
+ "#ED8B08",
30
+ "#ED1868",
31
+ "#800CE0",
32
+ "#1274F7",
33
+ "#12E797",
34
+ "#7FF31F",
35
+ "#ED8B08",
36
+ "#ED1868",
37
+ "#800CE0",
38
+ "#1274F7",
39
+ "#12E797",
40
+ "#7FF31F",
41
+ "#ED8B08",
42
+ "#ED1868",
43
+ "#800CE0",
44
+ "#1274F7",
45
+ "#12E797",
46
+ "#7FF31F",
47
+ "#ED8B08",
48
+ "#ED1868",
49
+ "#800CE0",
50
+ "#1274F7",
51
+ "#12E797",
52
+ "#7FF31F",
53
+ "#ED8B08",
54
+ "#ED1868",
55
+ "#800CE0",
56
+ "#1274F7",
57
+ "#12E797",
58
+ "#7FF31F",
59
+ "#ED8B08",
60
+ "#ED1868",
61
+ "#800CE0",
62
+ "#1274F7",
63
+ "#12E797",
64
+ "#7FF31F",
65
+ "#ED8B08",
66
+ "#ED1868",
67
+ "#800CE0",
68
+ "#1274F7",
69
+ "#12E797",
70
+ "#7FF31F",
71
+ "#ED8B08",
72
+ ],
73
+ },
74
+ life: {
75
+ count: 1,
76
+ duration: {
77
+ sync: true,
78
+ value: 1,
79
+ },
80
+ },
81
+ number: {
82
+ value: 500,
83
+ },
84
+ size: {
85
+ value: 50,
86
+ },
87
+ shape: {
88
+ type: "star",
89
+ },
90
+ rotate: {
91
+ value: {
92
+ min: 0,
93
+ max: 360,
94
+ },
95
+ },
96
+ },
97
+ };
98
+ export default options;
@@ -1,8 +1,4 @@
1
1
  const options = {
2
2
  name: "No Config",
3
- fullScreen: {
4
- enable: true,
5
- zIndex: 0,
6
- },
7
3
  };
8
4
  export default options;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tsparticles/configs",
3
- "version": "3.0.0-beta.5",
3
+ "version": "3.0.1",
4
4
  "description": "tsParticles demo configurations",
5
5
  "homepage": "https://particles.js.org",
6
6
  "repository": {
@@ -99,7 +99,7 @@
99
99
  "./package.json": "./package.json"
100
100
  },
101
101
  "dependencies": {
102
- "@tsparticles/engine": "^3.0.0-beta.5"
102
+ "@tsparticles/engine": "^3.0.1"
103
103
  },
104
104
  "publishConfig": {
105
105
  "access": "public"