-
Notifications
You must be signed in to change notification settings - Fork 5
Home
trmt is a 2D Turing machine (turmite) simulator for terminal environments. It simulates multiple turmites on a toroidal grid, supporting various rule formats and visualization options. A turmite is a Turing machine operating on a 2D grid. Each head reads the current cell state, writes a new state, turns according to defined rules, and moves forward. trmt can simulate up to 256 heads simultaneously with customizable rules, colors, and display options.
Important
This wiki is under construction and currently has a lot of missing pieces. Please see to the README for a general overview of how trmt works.
1. Install trmt:
cargo install trmt2. Run with default config:
trmt3. Explore:
Press h for help, generate random simulations with R (shift+r), and experiment with config options.
trmt uses TOML configuration files. The default config is created on first run at:
-
Linux/macOS:
~/.config/trmt/config.toml -
Windows:
%APPDATA%\trmt\config.toml
trmt supports multiple rule notation systems:
-
Sequential:
RL(Langton's Ant) -
Multi-state:
RL:LR -
Explicit transitions:
L1>1,R0>0:R1>1,D0>0 -
Standard notation:
{{{1, 8, 1}, {1, 8, 1}}, {{1, 2, 1}, {0, 1, 0}}}