フロッキングアルゴリズムの分離(separation)を実装しようとしてるのですが、
boidが重なり合い、分離してくれません。

MainPanelクラスのif ((ed > 0) && (ed < desiredseparation)){...}の中身が間違っているのでしょうか?

ttps://github.com/nature-of-code/noc-examples-processing/blob/master/chp06_agents/NOC_6_09_Flocking/Boid.pde
を参考にしたのですが。

ttps://pastebin.com/RrAQsZVC