Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 877 Bytes

README.md

File metadata and controls

18 lines (12 loc) · 877 Bytes

flocking-with-obstacles

Two NetLogo models to simulate obstacle avoidance in a multi-agent system.

Flocking With Drawable Obstacles and Target

In this simulation obstacles can be drawn before and during simulation. Boids will try to avoid them while moving towards a target. The flock is attracted by the target's potential field.

alt tag

Flocking with Tree Avoidance and Target.nlogo

Here the obstacles (trees) are generated in random positions each time we setup the simulation. Like the previous model the flock moves towards the target.

alt tag

Running

Download and install the NetLogo environment (https://ccl.northwestern.edu/netlogo/download.shtml). Simply open a model in NetLogo and have fun!