My versions of the same fwiw: - https://jcorbin.github.com/hexant -- the hexagonal one I'm working on now - https://jcorbin.github.io/ants -- the square grid one I made several years ago
Hexagonal Langton's Ant 2 – Colors, Gliders and Highways
11–14 of 14 posts
Re: Hexagonal Langton's Ant 2 – Colors, Gliders and Highways
#12My versions of the same fwiw: - https://jcorbin.github.com/hexant -- the hexagonal one I'm working on now - https://jcorbin.github.io/ants -- the square grid one I made several years ago
e.g., here's a neat one: http://jcorbin.github.io/hexant/#colors=light%28360%2C%20100...
Re: Hexagonal Langton's Ant 2 – Colors, Gliders and Highways
#13Earlier quoted context omitted.
e.g., here's a neat one: http://jcorbin.github.io/hexant/#colors=light%28360%2C%20100...
woa. that looks awesome ;) what am i looking at - whats the rule? and are you also coloring the spaces the ant has already been on, but that reverted to their original state?
The coloring trick is a recent addition I call "redraw tracing"; essentially there are two color palettes: one for "cold cells" and "hot cells" (ones that haven't/have been visited "recently").
What makes it "redraw" tracing is that "recent" is simply defined as "since last full redraw". Full redraws are triggered when the ant hits an edge of the screen.
I plan to expand the tracing to support "last-N" tracing where "recent" would mean something more comprehensible like "in the last 1024 iterations" f.e.