animation in Processing
“Ants” moves by exchanging the pheromone signals.
This program allows the agent to move by following two simple rules: try to move to the nearby point which has strongest pheromone left by others; try to move along the paths on the map. The pheromone signals left on the trails keeps fading through time.
Screen shot:
No comments:
Post a Comment