Self-Organizing Networked Systems: Langton's Ant - from simple rules to complex behavior
The following system is created using a very simple set of rules:- Let's assume an infinite 2D grid world. Each grid cell can be either black or white.
- For simplicity, all grid cells are white at the beginning.
- There is an ant, which can move up to four directions (N,E,S,W).
- Whenever the ant enters a white field, it toggles the grid color and performs a clockwise (right) turn.
- Whenever the ant enters a black field, it toggles the grid color and performs a counter-clockwise (left) turn.
Read full article from Self-Organizing Networked Systems: Langton's Ant - from simple rules to complex behavior
No comments:
Post a Comment