Particle Effects
Floating dots or stars that drift and react to mouse movement. Adds atmosphere to hero sections and dark backgrounds.
Also called: particle field, starfield, floating dots
Particles connect when close · mouse repels nearby dots
How it works
Canvas draws hundreds of particles with random velocity. Each frame: update positions, draw lines between nearby pairs, push particles away from cursor.
- Libraries: particles.js, tsparticles, Three.js Points
- Keep count under 150 on mobile for performance