I have been trying to replicate this animation below like this gif
Right now, I have successfully created the moving animation for circles and lines. If I click on the canvas, it will then create a circle with random radius and connect itself to its adjacent circles, and it is animated perfectly. So far so good.
However, I have not been able to replicate this blue, neural network like animation. Any idea on how to start this with? For example, which functions or methods should I use for this animation?
Any help would appreciated.
Here is what I have for now: Demo.