To run magnet.js animation you must include in your html body. To change the particle color you need to open magnet.js file in your text editor using Notepad++ or Atom then find the RGBA section then change it to your custom RGBA value.
alchristleo / magnet.js Goto Github PK
View Code? Open in Web Editor NEWA javascript particle effect animation based on mouse location