Back to archiveGenerative Experiments
Interactive Particles
A p5.js particle field that chases and swirls around the cursor with cool-toned trails, glow, and live connection webs.
How It Works
- Particles accelerate toward a moving attractor (cursor or autonomous orbital point).
- A close-range repel force and tangential swirl produce fluid, orbiting motion.
- Each particle keeps a short trail history rendered as weighted curve vertices.
- Nearby particles draw lightweight connection lines for evolving mesh structure.
Source Code
tsx