VincentGarreau / particles.js

A lightweight JavaScript library for creating particles

Home Page:https://vincentgarreau.com/particles.js/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Attract rather than repulse

anthonycmain opened this issue · comments

Would it be possible to make the particles move towards the mouse rather than away. I've tried a negative value in the direction but that doesnt work

You can see this sample here: https://codepen.io/matteobruni/pen/bGrXJew

It uses tsParticles since this library has no attract mouse effect.

Thanks really useful