3 ms·
When trying out rust, I wrote a little langton's ant implementation[1] that runs in the terminal. It includes the extensions to multiple colors as described in
by aleyan 7y ago
When trying out rust, I wrote a little langton's ant implementation[1] that runs in the terminal. It includes the extensions to multiple colors as described in the wikipedia article. Of particular interest is that I ran the simulation and looked through all results of combination of up to 6 colors and included a list of the archetypal ones in the README [2]. It would be interesting to explore ants with larger rotation cycles, but it isn't really scalable to look through the results with human eyeballs. Perhaps there is a computer vision clustering algorithm that can be used to classify them.
[1] https://github.com/aleyan/langtonsant https://github.com/aleyan/langtonsant
[2] https://github.com/aleyan/langtonsant#interesting-ants https://github.com/aleyan/langtonsant#interesting-ants