I tried a lot with react-tsparticles plugin options but I cannot manage to have exactly the same animation as whois.domaintools.com .
When my page is launched, the particles are everywhere within the canevas but on the page I mention, the group of particles follow the mouse ( OnHover) .
Here is my plugin's configuration :
<Particles
id="tsparticles"
init={particlesInit}
loaded={particlesLoaded}
options={{
fpsLimit: 60,
interactivity: {
events: {
onHover: {
enable: true,
mode: ["connect","grab"],
},
onClick: {
enable: false,
},
resize: true,
},
modes: {
bubble: {
distance: 400,
duration: 1,
opacity: 0.8,
size: 40,
},
push: {
quantity: 4,
},
repulse: {
distance: 200,
duration: 0.4,
},
},
},
particles: {
color: {
value: "#ffffff",
},
links: {
color: "#ffffff",
distance: 150,
enable: true,
opacity: 0.5,
width: 1,
},
collisions: {
enable: true,
},
move: {
direction: "none",
enable: true,
outMode: "bounce",
random: true,
speed: 3,
straight: false,
},
number: {
density: {
enable: true,
value_area: 800,
},
value: 80,
},
opacity: {
value: 0.5,
},
shape: {
type: "circle"
},
size: {
random: true,
value: 5,
},
},
detectRetina: true,
}}
/>
Note : The whois page that I give as example/reference may not be using the tsparticles plugin, my goal is to achieve the same rendering and not copy their config.