Grasshopper Docs

Community documentation for Grasshopper add-ons & plugins

01 | Spawn Types
02 | Initialize
03 | Behaviors
04 | Forces
05 | Engine
06 | Display

Flocking Algorithm

Inputs

NameIDDescriptionType
ConnectCInput a boolean toggle - True = Connect the heads (visualizes their search radius, DRAMATICALLY REDUCES PERFORMANCE) | False = Do not draw connectivityBoolean
View AngleVAInput a float value specifying the view angle each agent can seeNumber
Search RadiusSRInput a float value specifying the distance each creeper can seeNumber
Align ValueAVInput a float value specifying alignment (Steer towards the average heading of local flockmates) vector scale valueNumber
Separation ValueSVInput a float value specifying separation (Steer to avoid crowding local flockmates) vector scale valueNumber
Cohesion ValueCVInput a float value specifying cohesion (Steer to move toward the average position of local flockmates) vector scale valueNumber

Outputs

NameIDDescriptionType
Flocking BehaviorFBThe flocking behavior data structureGeneric Data

Video Tutorials

Site design © Robin Rodricks.   Culebra and associated data © 2020 Luis Quinones.  
Rhinoceros and Grasshopper are registered trademarks of Robert McNeel & Associates.  Hosted by GitHub

Report an Issue  |  Terms of Service