ArticleslgStudy

computer science

Boids

Boids is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Boids rather than just read about it. In short: Boids is an artificial life algorithm, developed by Craig Reynolds in 1986, which simulates the flocking behaviour of birds, and related group motion. His paper on this topic was published in 1987 in the proceedings of the ACM SIGGRAPH conference.

Boids — main illustration
Boids — illustration

Key takeaways

  • Boids belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Boids to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Boids from memory before moving on to harder problems.

Reference excerpt

Boids is an artificial life algorithm, developed by Craig Reynolds in 1986, which simulates the flocking behaviour of birds, and related group motion. His paper on this topic was published in 1987 in the proceedings of the ACM SIGGRAPH conference. The name "boid" corresponds to a shortened version of "bird-oid object", which refers to a bird-like object, as well as referencing the stereotypical New York pronunciation of 'bird' as . Reynolds' boid model is one example of a larger general concept, for which many other variations have been developed since. The closely related work of Ichiro Aoki is noteworthy because it was published in 1982 – five years before Reynolds' boids paper.

Model details Like most artificial life simulations, Boids is an example of emergent behavior; that is, the complexity of Boids arises from the interaction of individual agents (the boids, in this case) adhering to a set of simple rules. The rules applied in the simplest Boids world are as follows:

separation: steer to avoid crowding local flockmates alignment: steer towards the average heading of local flockmates cohesion: steer to move towards the average position (center of mass) of local flockmates More complex rules can be added, such as obstacle avoidance and goal seeking. The basic model has been extended in several different ways since Reynolds proposed it. For instance, Delgado-Mata et al. extended the basic model to incorporate the effects of fear. Olfaction was used to transmit emotion between animals, through pheromones modelled as particles in a free expansion gas. Chistopher Hartman and Bedrich Benes introduced a complementary force to the alignment that they call the change of leadership. This steer defines the chance of the boid to become a leader and try to escape. The movement of Boids can be characterized as either chaotic (splitting groups and wild behaviour) or orderly. Unexpected behaviours, such as splitting flocks and reuniting after avoiding obstacles, can be considered emergent. The Boids model can be used for direct control and stabilization of teams of simple unmanned ground vehicles (UGV) or micro aerial vehicles (MAV) in swarm robotics. For stabilization of heterogeneous UAV-UGV teams, the model was adapted for using onboard relative localization by Saska et al. At the time of proposal, Reynolds' approach represented a giant step forward compared to the traditional techniques used in computer animation for motion pictures. The first animation created with the model was Stanley and Stella in: Breaking the Ice (1987), followed by a feature film debut in Tim Burton's film Batman Returns (1992) with computer-generated bat swarms and armies of penguins marching through the streets of Gotham City. The boids model has been used for other interesting applications. It has been applied to automatically program Internet multi-channel radio stations. It has also been used for visualizing information and for optimization tasks. Biologist Richard Dawkins references the Boids model in his 2009 book The Greatest Show on Earth: The Evidence for Evolution.

See also Swarm intelligence – Collective behavior of decentralized, self-organized systems Collective cell migration – Emergent cell behavior Artificial life – Field of study Conway's Game of Life – Two-dimensional cellular automaton

References

External links Craig Reynolds' Boids page “Boids Demo Reel” Early motion tests, 1986 to 1987. “Stanley and Stella in: Breaking the Ice” 1987. On Internet Archive (remastered in 2023, highest quality. Also available on YouTube.) Explanation of algorithm in pseudocode JavaScript implementation JavaScript implementation with Phaser Framework 3D Boids Simulation using OpenGL, used by the BBC's Natural History Unit Live In-Browser 3D Simulation of Bird Flocking Behavior in Unity3D – Open Source implementation for Windows, Linux and Mac UNIX+Windows open source implementation in C++, using OpenGL and simulation controls A java implementation using the javafx API Explanations and interactive demos of the three "forces," individually and combined. With a link to a full 3D interactive sim. Open Source, 2026.

Illustrations

Boids illustration
Boids illustration
Boids illustration

Worked examples

Example 1 — a first encounter with Boids

Start with the simplest possible case. Write down what Boids claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Boids before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Boids ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Boids

In research
Boids appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Boids in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Boids is common in secondary-school and first-year university syllabi. It links to neighbouring topics 1986 software, Artificial life, so understanding it makes those chapters shorter.
In everyday life
Look for Boids outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Boids” →

How to study Boids in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Boids means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Boids out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Boids in simple terms?

Boids is an artificial life algorithm, developed by Craig Reynolds in 1986, which simulates the flocking behaviour of birds, and related group motion. His paper on this topic was published in 1987 in the proceedings of the ACM SIGGRAPH conference.

Why does Boids matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Boids?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Boids.

Tags

  • 1986 software
  • Artificial life

Keep exploring