The particles.js library really only does one thing (and the name is a pretty big giveaway), but it does that one thing well. If you want to create a really awesome looking demo involving randomly roaming particles — with or without connecting lines — well, then look no further. This is absolutely the library for you.
The demo below gives you a good feel for what this library is all about:
To get started SUPER simply, you’d only need this JS:
Yup. That’s it. Edit the demo above to read that, and it’ll still work. So, assuming you have this somewhere in your HTML:
You’re up and running.
Now, if you’re looking for a lot of documentation, it doesn’t really exist yet. This is a fairly new project, so maybe it’s forthcoming (and maybe not).