Hi, I’m in the process of implementing a swarm algorithm and I am having difficulty getting my feedback loop to work…
The way my patch works is that :
random initial positions are passed to a 2d vector node
the position vectors are then fed to several different rules which are summed back in.
The output of this summing node is fed simultaneously to the renderer and back to the original vector node through a frame delay node…
The problem I am having is that the effect of the rules now just send the boids flying immediately off the screen! I am guessing this is a result of the feedback loop counting up towards infinity… How does one deal with this?
I tried multiplying the feedback by a factor < 1, but of course the boids all just ended up in the centre of the page!
I can upload my patch if you need to see it but its a bit of a mess :)
Any help would be much appreciated, I am tearing my hair out here!