37 lines
849 B
TypeScript
37 lines
849 B
TypeScript
export const particlesOptions = {
|
|
fpsLimit: 60, // 200 is excessive; 60 is smooth and efficient
|
|
interactivity: {
|
|
events: {
|
|
onClick: { enable: true },
|
|
onHover: { enable: true },
|
|
resize: { enable: true }
|
|
},
|
|
modes: {
|
|
push: { quantity: 4 },
|
|
repulse: { distance: 200, duration: 0.4 }
|
|
}
|
|
},
|
|
particles: {
|
|
number: {
|
|
value: 80,
|
|
density: { enable: true, value_area: 800 }
|
|
},
|
|
color: { value: "#845adf" },
|
|
shape: { type: "circle" },
|
|
opacity: { value: 0.5 },
|
|
size: { value: 2, random: true },
|
|
line_linked: {
|
|
enable: true,
|
|
distance: 150,
|
|
color: "#d1d9e0",
|
|
opacity: 0.4,
|
|
width: 1
|
|
},
|
|
move: {
|
|
enable: true,
|
|
speed: 2,
|
|
out_mode: "out"
|
|
}
|
|
}
|
|
};
|