An implementation of Langton's Ant that runs in a terminal.
138909e8 — Steve Sprang 8 months ago
Edit comment.
a391bc2e — Steve Sprang 8 months ago
Stop passing orientation to step() method.
771112f9 — Steve Sprang 8 months ago
Simplify reversibility.



You can also use your local clone with git send-email.

#langtons-termite License: GPLv3

langtons-termite is an implementation of Langton's ant that runs in a terminal emulator (see also Turmite). It uses Braille Unicode characters to display a high resolution bitmap. Some fonts support this effect better than others.

This program is part of a project that explores implementations of Langton's ant on multiple platforms (Classic Mac, Commodore 64, and a modern terminal emulator). See the article at nybble.org for more details.

langtons-termite Terminal: Gnome Terminal, Font: Anonymous Pro


langtons-termite is written in Rust, so you will need to install Rust to compile it.

To run:

$ git clone https://git.sr.ht/~nybble/langtons-termite
$ cd langtons-termite
$ cargo run --release


langtons-termite is released under the GNU General Public License v3.