群れ行動のデモンストレーション。 実装の詳細な説明は、Daniel Shiffmanによる Nature of Code の本で見つけることができます。このシミュレーションは Craig Reynoldsの研究に基づいており、 彼は鳥のようなオブジェクトを表すために’boid’という用語を使用しました。
群れ行動: Revised by Darren Kessner. Edited and maintained by p5.js Contributors and Processing Foundation. Licensed under CC BY-NC-SA 4.0.
You can find the code history of these examples here: pre-2023 example, 2023 code. You can suggest improvements by contributing to the current website!