-
Notifications
You must be signed in to change notification settings - Fork 3
/
app.js
53 lines (53 loc) · 1.15 KB
/
app.js
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
particlesJS('particles-js', {
particles: {
number: {
value: 100, // Adjust the number of snowflakes
density: {
enable: true,
value_area: 800
}
},
color: {
value: '#ffffff' // Snowflake color
},
shape: {
type: 'circle',
stroke: {
width: 0,
color: '#000000'
},
},
opacity: {
value: 0.7,
random: true,
anim: {
enable: true,
speed: 1
}
},
size: {
value: 4,
random: true
},
line_linked: {
enable: false
},
move: {
enable: true,
speed: 3, // Adjust the snowflake falling speed
direction: 'bottom',
random: true,
straight: false,
out_mode: 'out',
bounce: false
}
},
interactivity: {
detect_on: 'canvas',
events: {
onhover: {
enable: false
}
}
}
});