i want to ask about a website i saw

there are websites that will make lines like these follow mouse pointer how does they do that
15 Replies
Unknown User
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
Jochem
Jochem•2y ago
it's a library, I just forget the name of it
Jochem
Jochem•2y ago
particles.js
particles.js - A lightweight JavaScript library for creating particles
A lightweight JavaScript library for creating particles.
Anonymous DEV
Anonymous DEVOP•2y ago
particlesBackground component
Anonymous DEV
Anonymous DEVOP•2y ago
app.js file
import './App.css';
import ParticlesBackground from './ParticlesBackground';

function App() {
return (
<>
<ParticlesBackground/>
</>
);
}

export default App;
import './App.css';
import ParticlesBackground from './ParticlesBackground';

function App() {
return (
<>
<ParticlesBackground/>
</>
);
}

export default App;
Anonymous DEV
Anonymous DEVOP•2y ago
all i can see is this black screen
Anonymous DEV
Anonymous DEVOP•2y ago
let me know if i lack info
Jochem
Jochem•2y ago
I have zero experience with particles.js and react are you getting any errors? @AnonymousDEV
Anonymous DEV
Anonymous DEVOP•2y ago
no m not having any errors at all particles.js is showing object in console for some reason
Anonymous DEV
Anonymous DEVOP•2y ago
Jochem
Jochem•2y ago
no idea then, sorry
Anonymous DEV
Anonymous DEVOP•2y ago
😭😭😭😭
Jochem
Jochem•2y ago
hopefully someone else will be able to help
Anonymous DEV
Anonymous DEVOP•2y ago
should i make a new thread?
Jochem
Jochem•2y ago
yeah, that'll probably get you a better response. It would help if you could include a codesandbox or something where people can see your code running, and maybe include a link to the react-particles package on npm
Want results from more Discord servers?
Add your server