flying free comments on craig w. reynolds’ flocks, herds, and schools: a distributed behavioral...

24
Flying Free Flying Free Comments on Craig W. Reynolds’ Comments on Craig W. Reynolds’ Flocks, Herds, and Schools: A Distributed Behavioral Model Flocks, Herds, and Schools: A Distributed Behavioral Model Cailin K. Andruss Cailin K. Andruss Virginia Commonwealth University Virginia Commonwealth University NSF BBSI Program 2005 - 2006 NSF BBSI Program 2005 - 2006

Upload: piers-fitzgerald

Post on 16-Dec-2015

212 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Flying Free Comments on Craig W. Reynolds’ Flocks, Herds, and Schools: A Distributed Behavioral Model Cailin K. Andruss Virginia Commonwealth University

Flying FreeFlying FreeComments on Craig W. Reynolds’Comments on Craig W. Reynolds’

Flocks, Herds, and Schools: A Distributed Behavioral ModelFlocks, Herds, and Schools: A Distributed Behavioral Model

Cailin K. AndrussCailin K. AndrussVirginia Commonwealth UniversityVirginia Commonwealth University

NSF BBSI Program 2005 - 2006NSF BBSI Program 2005 - 2006

Page 2: Flying Free Comments on Craig W. Reynolds’ Flocks, Herds, and Schools: A Distributed Behavioral Model Cailin K. Andruss Virginia Commonwealth University

ExampleExample

Page 3: Flying Free Comments on Craig W. Reynolds’ Flocks, Herds, and Schools: A Distributed Behavioral Model Cailin K. Andruss Virginia Commonwealth University

ExampleExample

100100

Page 4: Flying Free Comments on Craig W. Reynolds’ Flocks, Herds, and Schools: A Distributed Behavioral Model Cailin K. Andruss Virginia Commonwealth University

ExampleExample

100100

Page 5: Flying Free Comments on Craig W. Reynolds’ Flocks, Herds, and Schools: A Distributed Behavioral Model Cailin K. Andruss Virginia Commonwealth University

ExampleExample

100100

Page 6: Flying Free Comments on Craig W. Reynolds’ Flocks, Herds, and Schools: A Distributed Behavioral Model Cailin K. Andruss Virginia Commonwealth University

ExampleExample

100100

Page 7: Flying Free Comments on Craig W. Reynolds’ Flocks, Herds, and Schools: A Distributed Behavioral Model Cailin K. Andruss Virginia Commonwealth University

ExampleExample

100100

Page 8: Flying Free Comments on Craig W. Reynolds’ Flocks, Herds, and Schools: A Distributed Behavioral Model Cailin K. Andruss Virginia Commonwealth University

ExampleExample

100100

200200

Page 9: Flying Free Comments on Craig W. Reynolds’ Flocks, Herds, and Schools: A Distributed Behavioral Model Cailin K. Andruss Virginia Commonwealth University

ExampleExample

100100

200200

Page 10: Flying Free Comments on Craig W. Reynolds’ Flocks, Herds, and Schools: A Distributed Behavioral Model Cailin K. Andruss Virginia Commonwealth University

Can a flock of birds be Can a flock of birds be modeled without modeled without

individually individually programming each programming each

bird’s path?bird’s path?

Page 11: Flying Free Comments on Craig W. Reynolds’ Flocks, Herds, and Schools: A Distributed Behavioral Model Cailin K. Andruss Virginia Commonwealth University

Natural FlockingNatural Flocking

• Millions of herring can travel in Millions of herring can travel in schools spanning 17 miles just as schools spanning 17 miles just as easily as a dozen birds can form a easily as a dozen birds can form a flock for a brief flight.flock for a brief flight.

• If flocking ability is independent of If flocking ability is independent of flock size, how do the flocks flock size, how do the flocks coordinate?coordinate?

Page 12: Flying Free Comments on Craig W. Reynolds’ Flocks, Herds, and Schools: A Distributed Behavioral Model Cailin K. Andruss Virginia Commonwealth University

The Secret:The Secret:The NeighborhoodThe Neighborhood

Based on a Diagram by Craig Reynolds

Page 13: Flying Free Comments on Craig W. Reynolds’ Flocks, Herds, and Schools: A Distributed Behavioral Model Cailin K. Andruss Virginia Commonwealth University

Acceleration RequestsAcceleration Requests

• Collision Avoidance: Collision Avoidance: Stay clear Stay clear

Page 14: Flying Free Comments on Craig W. Reynolds’ Flocks, Herds, and Schools: A Distributed Behavioral Model Cailin K. Andruss Virginia Commonwealth University

Acceleration RequestsAcceleration Requests

• Velocity Matching: Velocity Matching: Stay on track Stay on track

• Collision Avoidance: Collision Avoidance: Stay clear Stay clear

Page 15: Flying Free Comments on Craig W. Reynolds’ Flocks, Herds, and Schools: A Distributed Behavioral Model Cailin K. Andruss Virginia Commonwealth University

Acceleration RequestsAcceleration Requests

• Velocity Matching: Velocity Matching: Stay on track Stay on track

• Flock Centering:Flock Centering: Stay close Stay close

• Collision Avoidance: Collision Avoidance: Stay clear Stay clear

Diagrams by Craig Reynolds

Page 16: Flying Free Comments on Craig W. Reynolds’ Flocks, Herds, and Schools: A Distributed Behavioral Model Cailin K. Andruss Virginia Commonwealth University

The Brick WallThe Brick Wall

Page 17: Flying Free Comments on Craig W. Reynolds’ Flocks, Herds, and Schools: A Distributed Behavioral Model Cailin K. Andruss Virginia Commonwealth University

The Brick WallThe Brick Wall

Page 18: Flying Free Comments on Craig W. Reynolds’ Flocks, Herds, and Schools: A Distributed Behavioral Model Cailin K. Andruss Virginia Commonwealth University

The Brick WallThe Brick Wall• Prioritize the acceleration requests.Prioritize the acceleration requests.• Set a maximum acceleration.Set a maximum acceleration.• Allow acceleration up to the maximum Allow acceleration up to the maximum

with the highest priority request getting with the highest priority request getting first dibs.first dibs.

Page 19: Flying Free Comments on Craig W. Reynolds’ Flocks, Herds, and Schools: A Distributed Behavioral Model Cailin K. Andruss Virginia Commonwealth University

The Brick WallThe Brick Wall• Prioritize the acceleration requests.Prioritize the acceleration requests.• Set a maximum acceleration.Set a maximum acceleration.• Allow acceleration up to the maximum Allow acceleration up to the maximum

with the highest priority request getting with the highest priority request getting first dibs.first dibs.

Page 20: Flying Free Comments on Craig W. Reynolds’ Flocks, Herds, and Schools: A Distributed Behavioral Model Cailin K. Andruss Virginia Commonwealth University

The Brick WallThe Brick Wall• Prioritize the acceleration requests.Prioritize the acceleration requests.• Set a maximum acceleration.Set a maximum acceleration.• Allow acceleration up to the maximum Allow acceleration up to the maximum

with the highest priority request getting with the highest priority request getting first dibs.first dibs.

Page 22: Flying Free Comments on Craig W. Reynolds’ Flocks, Herds, and Schools: A Distributed Behavioral Model Cailin K. Andruss Virginia Commonwealth University

Take Home MessageTake Home Message

• The secret: The secret: Limit vision of boid to neighborhood Limit vision of boid to neighborhood

• Boids follow three rules:Boids follow three rules: 1. Collision avoidance 1. Collision avoidance 2. Velocity matching 2. Velocity matching 3. Flock centering 3. Flock centering

• More urgent rules receive priorityMore urgent rules receive priority

Page 23: Flying Free Comments on Craig W. Reynolds’ Flocks, Herds, and Schools: A Distributed Behavioral Model Cailin K. Andruss Virginia Commonwealth University

Application to VPPApplication to VPP

• The Virtual Parasite Project uses The Virtual Parasite Project uses swarming to model parasite activity.swarming to model parasite activity.

• The accuracy of theories about their The accuracy of theories about their activity can be tested. activity can be tested.

• Experiments can be performed more Experiments can be performed more quickly quickly in silicoin silico than than in vitroin vitro. .

Page 24: Flying Free Comments on Craig W. Reynolds’ Flocks, Herds, and Schools: A Distributed Behavioral Model Cailin K. Andruss Virginia Commonwealth University

ReferencesReferences

Reynolds, C. W. (1987) Flocks, Herds, and Schools: A Reynolds, C. W. (1987) Flocks, Herds, and Schools: A Distributed Behavioral Model, in Computer Graphics, Distributed Behavioral Model, in Computer Graphics, 21(4) (SIGGRAPH '87 Conference Proceedings) p. 25-21(4) (SIGGRAPH '87 Conference Proceedings) p. 25-34.34.

Acceleration Request diagrams from Craig Reynold’s Acceleration Request diagrams from Craig Reynold’s Boid’s Page: http://www.red3d.com/cwr/boids/Boid’s Page: http://www.red3d.com/cwr/boids/

Thanks to Jeff Elhai for help with dewordificationThanks to Jeff Elhai for help with dewordification