K
K
kamelot432020-09-23 13:17:15
Animation
kamelot43, 2020-09-23 13:17:15

How to apply particle attraction/repulsion animation?

It is necessary to implement an animation of attraction / repulsion of particles (objects) when hovering the cursor. An object has a scope. As planned, when we hover over it, the object is attracted and follows the cursor, at a certain moment it stops following the cursor and returns to its original position. Can you recommend a library or where can I see a similar implementation example?
5f6b212aa200a747030934.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
H
hzzzzl, 2020-09-23
@kamelot43

codepen: mouse attracts object
https://codepen.io/Mamboleoo/pen/XgBvrJ
https://codepen.io/tbarber350/pres/MYYRLm
https://codepen.io/thebabydino/pen/LpRdzW
https://azoora. com/blog/design/8-codepen-examples-...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question