/
confetti.json
105 lines (105 loc) · 1.65 KB
/
confetti.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
{
"fullScreen": {
"enable": true,
"zIndex": 1
},
"fpsLimit": 60,
"particles": {
"number": {
"value": 0
},
"color": {
"value": [
"#ffffff",
"#ff0000"
]
},
"shape": {
"type": "confetti"
},
"opacity": {
"value": 1,
"animation": {
"enable": true,
"minimumValue": 0,
"speed": 2,
"startValue": "max",
"destroy": "min"
}
},
"size": {
"value": 7,
"random": {
"enable": true,
"minimumValue": 3
}
},
"links": {
"enable": false
},
"life": {
"duration": {
"sync": true,
"value": 5
},
"count": 1
},
"move": {
"enable": true,
"gravity": {
"enable": true
},
"speed": 100,
"decay": 0.1,
"direction": "none",
"random": false,
"straight": false,
"outModes": {
"default": "destroy",
"top": "none"
}
}
},
"interactivity": {
"detectsOn": "canvas",
"events": {
"resize": true
}
},
"detectRetina": true,
"background": {
"color": "#000"
},
"emitters": [
{
"direction": "top-left",
"rate": {
"delay": 0.1,
"quantity": 5
},
"position": {
"x": 100,
"y": 50
},
"size": {
"width": 0,
"height": 0
}
},
{
"direction": "top-right",
"rate": {
"delay": 0.1,
"quantity": 5
},
"position": {
"x": 0,
"y": 50
},
"size": {
"width": 0,
"height": 0
}
}
]
}