Grasshopper Docs

Community documentation for Grasshopper add-ons & plugins

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

Flocking Algorithm with image color sampling override for any flocking attributes and remaping of color values

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
Colored MeshCMInput a color mesh to drive the flocking parametersMesh
Map AlignmentMAInput value specifying if you want the alignment value to be color drivenBoolean
Map SeparationMSInput value specifying if you want the separation value to be color drivenBoolean
Map CohesionMCInput value specifying if you want the cohesion value to be color drivenBoolean

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