This time round we’ll add an attraction force into the mix. Each particle has repulsion and attraction interactions with all other particles, which result in ‘path of least resistance’ geometric configurations. In this example we’ll be drawing both the particles and the forces.Source Code
can you imagine a device that acts as a particle attractor & collector?