Hello i have found a great website and i want to use that effect, here is the link http://dotmick.com/
I need help with those lines that following mouse and stop on element, can some one help me with that, i dont know where to look that, is there some similar jquery animation, i think i have found it here,
http://dotmick.com/cms/site/themes/dotfolio/js/script.js
But still to complicated, little point to similar example will be nice
Txanks in advance
It is not an simple jquery animation. Unfortunately, there’s no “easy” answer with this one. Thankfully, they didn’t obfuscate their code. Below is the pretty-printed version of it:
The key variable to look for here is
overThumbwhich looks like it determines whether the animation should be shown or not. For instance:You can see than, when the mouse is over a thumbnail, it sets it to
true, otherwise it isfalse. There is a timer in this code that looks at this variable and decides how to animate the particles. I hope this helps!