This is a particle network JS script I spent a bunch of time optimizing and adding some extra features and animations. It’s the same one I used on this website. My optimizations include: added refreshRateLimit option to allow users to draw more particles with less work on the CPU, added additional mouse pointer connections to draw a different color in white, added added 4k and retina display optimizations for phones and desktop

I ended up forking the project on Github and committing my changes so other people can use them.