3 ms·
There are some interesting patterns/behaviours with Langton's ants. In a wrap around world (e.g. moving off the left/right will enter the other side), the ant
by rhdunn 3y ago
There are some interesting patterns/behaviours with Langton's ants.
In a wrap around world (e.g. moving off the left/right will enter the other side), the ant will collide with its "hive" (starting blob) or "highway" (diagonal pattern) and repeat a hive-highway construction cycle.
With two ants, depending on their starting position, they will end up in one of 3 patterns:
1. A hive-highway pattern like one ant;
2. As 1, but will collide with each other, then undo their construction until they go back to the beginning and then repeat this pattern;
3. Race around each other in an expanding diamond pattern. If the world is a wrap around world, when they reach one edge, they will start to undo/shrink the diamond, generating an expanding-collapsing diamond pattern.
It's also interesting playing around with more colours/states, and different rules (180deg turn, no turn).
With these generalized turmites, I've seen them create/use "super highway" constructs. -- A "super highway" is a straight line of a single colour where a turmite's behviour for that colour is to not turn. -- It will then race forward along that highway.