@tsparticles/preset-fountain 3.0.0-alpha.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/LICENSE +21 -0
- package/README.md +205 -0
- package/browser/bundle.js +6 -0
- package/browser/index.js +20 -0
- package/browser/options.js +90 -0
- package/cjs/bundle.js +19 -0
- package/cjs/index.js +35 -0
- package/cjs/options.js +93 -0
- package/esm/bundle.js +6 -0
- package/esm/index.js +20 -0
- package/esm/options.js +90 -0
- package/package.json +99 -0
- package/report.html +39 -0
- package/tsparticles.preset.fountain.bundle.js +7250 -0
- package/tsparticles.preset.fountain.bundle.min.js +2 -0
- package/tsparticles.preset.fountain.bundle.min.js.LICENSE.txt +8 -0
- package/tsparticles.preset.fountain.js +279 -0
- package/tsparticles.preset.fountain.min.js +2 -0
- package/tsparticles.preset.fountain.min.js.LICENSE.txt +8 -0
- package/types/bundle.d.ts +3 -0
- package/types/index.d.ts +2 -0
- package/types/options.d.ts +2 -0
- package/umd/bundle.js +20 -0
- package/umd/index.js +34 -0
- package/umd/options.js +103 -0
package/umd/options.js
ADDED
|
@@ -0,0 +1,103 @@
|
|
|
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
|
+
exports.options = void 0;
|
|
13
|
+
exports.options = {
|
|
14
|
+
fpsLimit: 120,
|
|
15
|
+
particles: {
|
|
16
|
+
bounce: {
|
|
17
|
+
vertical: {
|
|
18
|
+
value: {
|
|
19
|
+
min: 0.75,
|
|
20
|
+
max: 0.85,
|
|
21
|
+
},
|
|
22
|
+
},
|
|
23
|
+
},
|
|
24
|
+
color: {
|
|
25
|
+
value: ["#3998D0", "#2EB6AF", "#A9BD33", "#FEC73B", "#F89930", "#F45623", "#D62E32", "#EB586E", "#9952CF"],
|
|
26
|
+
},
|
|
27
|
+
number: {
|
|
28
|
+
value: 0,
|
|
29
|
+
},
|
|
30
|
+
destroy: {
|
|
31
|
+
mode: "split",
|
|
32
|
+
split: {
|
|
33
|
+
count: 2,
|
|
34
|
+
factor: {
|
|
35
|
+
value: {
|
|
36
|
+
min: 1.1,
|
|
37
|
+
max: 2,
|
|
38
|
+
},
|
|
39
|
+
},
|
|
40
|
+
rate: {
|
|
41
|
+
value: {
|
|
42
|
+
min: 2,
|
|
43
|
+
max: 3,
|
|
44
|
+
},
|
|
45
|
+
},
|
|
46
|
+
},
|
|
47
|
+
},
|
|
48
|
+
opacity: {
|
|
49
|
+
value: 0.5,
|
|
50
|
+
},
|
|
51
|
+
size: {
|
|
52
|
+
value: {
|
|
53
|
+
min: 10,
|
|
54
|
+
max: 20,
|
|
55
|
+
},
|
|
56
|
+
},
|
|
57
|
+
move: {
|
|
58
|
+
enable: true,
|
|
59
|
+
gravity: {
|
|
60
|
+
enable: true,
|
|
61
|
+
maxSpeed: 50,
|
|
62
|
+
},
|
|
63
|
+
speed: {
|
|
64
|
+
min: 10,
|
|
65
|
+
max: 20,
|
|
66
|
+
},
|
|
67
|
+
direction: "none",
|
|
68
|
+
random: false,
|
|
69
|
+
straight: false,
|
|
70
|
+
outModes: {
|
|
71
|
+
bottom: "split",
|
|
72
|
+
default: "bounce",
|
|
73
|
+
top: "none",
|
|
74
|
+
},
|
|
75
|
+
trail: {
|
|
76
|
+
enable: true,
|
|
77
|
+
fillColor: "#fff",
|
|
78
|
+
length: 3,
|
|
79
|
+
},
|
|
80
|
+
},
|
|
81
|
+
},
|
|
82
|
+
detectRetina: true,
|
|
83
|
+
background: {
|
|
84
|
+
color: "#fff",
|
|
85
|
+
},
|
|
86
|
+
emitters: {
|
|
87
|
+
direction: "top",
|
|
88
|
+
life: {
|
|
89
|
+
count: 0,
|
|
90
|
+
duration: 0.15,
|
|
91
|
+
delay: 3,
|
|
92
|
+
},
|
|
93
|
+
rate: {
|
|
94
|
+
delay: 0.1,
|
|
95
|
+
quantity: 5,
|
|
96
|
+
},
|
|
97
|
+
size: {
|
|
98
|
+
width: 0,
|
|
99
|
+
height: 0,
|
|
100
|
+
},
|
|
101
|
+
},
|
|
102
|
+
};
|
|
103
|
+
});
|