#terminal #automata #turing #graphics #terminal-window

app langtons-termite

Implementation of Langton's Ant that runs in a terminal window

6 releases (1 stable)

1.0.0 Oct 20, 2023
0.5.0 Apr 21, 2020
0.4.0 Apr 16, 2020
0.3.0 Apr 4, 2020
0.1.0 Feb 26, 2020

#189 in Math

Download history 6/week @ 2024-02-26 5/week @ 2024-03-11 96/week @ 2024-04-01

101 downloads per month

GPL-3.0+

53KB
737 lines

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

Building

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

License

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

Dependencies

~335–475KB