u/Seitohin r/compsci • Recommends
On “Ant colony simulation”
Let's continue exploring artificial life, and more specifically swarm intelligence. Following the boid simulation ([video I try to extend it for ant colony simulation. The color represents the current behavior of the ant. If it is green, it is too far from another ant and so it tries to get closer to the colony. If it is blue, it tries to spread compared to other ants to explore. If it is red, it tries to avoid collision with a close ant. If it is yellow, It has found food and tries to pick it up. If it's black, it goes back home with food. Ant has no memory and thus returns to exploring after bringing back the food.
Fun to watch, but I have many ideas to improve this simulation. I take…