Home > Project > Flocking Model

Flocking Model

This is a proof of concept flocking model, very similar to the first flocking simulation, Boids. It’s a toroidal world with constantly moving airplanes. In it, each of the airplanes is an agent, and they all make independent decisions based on incomplete knowledge of the world around them.

Each plane has a sight radius around it that represents how far the plane can see and a wedge behind it where it can’t see. This is intended to represent how real-world birds are thought to flock. Planes try to fly towards one another, and to align themselves with the planes in their neighborhood. This leads to a distinct flocking behavior.

Download the C# code here. It was built with XNA 3.1.

Advertisements
Categories: Project
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: