Swarm Video Collection

Author: Don Miner
SAF Home
Human Experiment (10/22/07)
Subjects were asked to perform a variety of tasks: form a circle, form a triangle, form a triangle with corner markers and form a square with corner markers. A corner is marked by a raised hand.


[download] (11.1 MB)
Form Triangle
Boids form a triangle and follow the mouse (not visible). Red boids are the corners and green boids are the edges. They tend to form equilateral triangles.
The following rules are used to create the triangle:
  • A very weak desire to form a circle
  • If there are less than 3 red boids, maybe become a red boid
  • Equal forces are applied towards the 2 nearest red boid
  • Follow the mouse

[download] (160 KB)
Form Multiple Different Shapes
Red boids are the corners and green boids are the edges. The number of sides that should be present is increased periodically.
The following rules are used to create the shapes:
  • A very weak desire to form a circle
  • If there are less red boids than current number of corners, maybe become a red boid
  • Equal forces are applied towards the 2 nearest red boid
  • Tend to the center of the screen (to keep it centered)

[download] (204KB)
Square Resilience
Boids form a square, with red boids being the corners and green boids being the edges. Periodically new boids are added while other boids are removed. Notice when a boid is added, space is made for it and it enters the square easily. If an edge becomes too long, the side shifts some boids over to its neighbor edge. When an edge boid is removed, there is little effect to the structure and the rest of the square closes in the gap. However, the structure changes significantly when a red boid is removed since a new random boid becomes the 4th corner.
The following rules are used to create the square (same as triangle above, just 4 corners):
  • A very weak desire to form a circle
  • If there are less than 4 red boids then maybe become a red boid
  • Equal forces are applied towards the 2 nearest red boid
  • Tend to the center of the screen (to keep it centered)

[download] (316 KB)
Form Multiple Triangles
The rules here are the same as the Form Triangle demonstration, except that the boids have a limited sight range. This causes the boids to form local triangles.

[download] (159 KB)
Form Lines
Boids in this demonstration form rows with the following two rules:
  • Avoid closeness
  • Have equal attraction to its two closest polar boids
By polar boids, we mean the closest boids that are on opposite sides of the boid. Although this rule is demonstrated alone, it can be useful in making boids form tighter connections.

[download] (203 KB)
Form Circle
Boids in this demonstration self-organize into a circle. We varied the avoidance factor and the number of agents and ran several experiments to see what the radius would be. Our final goal was to create a mapping between the low-level parameters and the high-level property of radius.

[download] (3.6mb)
Boid Density
Boids in this demonstration flock towards a goal (red dot). We record the average density on the way to the goal.

[download] (3.5mb)
3D boids
Boids moving around in a 3dimensional environment. Bigger boids are closer to the screen than smaller boids. Boids are dynamically color coded based on their flock.

[download] (2.2mb)
Hill climbing boids
I used a simple randomized hill climbing algorithm on the parameters of a boid flock to have them converge towards a desired density. In this demonstration, the boids go from high-density to low-density.

[download] (10.7mb)
3D Tetrahedron
This is the same as the triangle swarm, except that it is in 3D, with four corners. Also, there is no usage of the form circle rule (which makes it a bit bouncy). Made with SwarmVis.
[download] (6.3mb)
3D Boid Flock
This is the same type of swarm (same rules) as the previous 3d boids video, except now it's in SwarmVis.
[download] (8.4mb)

Back