Hi Zach, thank you for the such a quick reply!
By affecting a container of elements do you mean the parent elements of these circles?
So I did try for that. I added a mousemove on the window and calculated the distance of the mouse to all the particles, and moved the particles away, while storing their last position, when the mouse came close using the setInterval function. But that causes the particles/bees to jitter, as when they move ahead, their previous position automatically gets kicked in.
So I cam across this CodePen: https://codepen.io/biblos/pen/KRJmey
Like I want the smooth pushback and back to it's original position. This works perfect for a stationary particles but when it starts moving, the particle get jittery. This has me stuck for a good week now. Just can't wrap my head around it yet.
Again, thank you for the reply!