Ongoing research on the swarm agents behaviours operating with:
.OOP classes
.C5 UI
the ball class is following the swarm behaviour priciples developed by Crag Reynolds in his flocking studies: cohesion, separation, alignment then implemented and developed in Processing JavaScript code by Daniel Shiffman.
The Processing code I wrote is an original tutorial from Jose Sanchez, developer of plethora library and Plethora platform, against the digital obscurantism.
My code is implemented by some UI, the directional vector rapresented as a line and the fading effect.
Please find the code at the following link: donwload here