How to recreate this background effect?

I'm stuck trying to recreate this, but I've not progressed with anything. It responds to mousemove and the lines move away from the mouse.
3 Replies
Coder_Carl
Coder_Carl2y ago
Go to the code base and have a look how they did it. https://vincentgarreau.com/particles.js/
particles.js
particles.js - A lightweight JavaScript library for creating particles
A lightweight JavaScript library for creating particles.
Lofty!
Lofty!2y ago
Oh I was looking at a gif didn't know about it, thanks
Want results from more Discord servers?
Add your server