Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to create shapes around mouse cursor?

I am a markup newbie and wanted to create some shapes like spider net around mouse cursor using javascript, jquery or even better, pure css (I doubt it is possible).

An exactly example is:

http://whois.domaintools.com/

Do you see shapes when you move your mouse cursor? What are these and is there any jquery plugin to do this?

thank you.

like image 996
Hamid Soltani Avatar asked Feb 17 '15 17:02

Hamid Soltani


People also ask

How do you make a red circle around a mouse?

On the Accessibility settings screen, scroll down to the Mouse and touchpad section. Set the toggle switch for Highlight the mouse cursor when it's moving to On. You will now see a red halo around the mouse when you move it.


1 Answers

I had used an a library for this. Here's the link to it: https://github.com/VincentGarreau/particles.js

It's just what you want. Happy coding!

like image 109
Dhruv Ramani Avatar answered Sep 21 '22 23:09

Dhruv Ramani