Skip to content

Simulating ant behavior based on the swarm intelligence algorithm

Notifications You must be signed in to change notification settings

Ismaxis/Cluster-Intelligence

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Cluster Intelligence simulation

DEMO GIF

Description

This little dots called Boids. Red and Blue circles are supply bases. Each Boid wants to go to one of them.

Boid behavior:

  • moves (slight randomly)
  • If he hit the base, he starts counting distance from base and screaming that distance to nearby Boids. He also change his own target base
  • listens
  • screams
  • If he listens the distance to his target base, he screams that distance too and starts moving in direction from which scream came

Each of them pretty stupid and never be able to transfer supplies from one base to another, but together they do it pretty well.

Controls

  • LMB - change the position of blue Station
  • RMB - interaction line visible/invisible
  • MMB/MV - show/hide grid

About

Simulating ant behavior based on the swarm intelligence algorithm

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages