Skip to content

kas2020-commits/termautomaton

Repository files navigation

Termautomaton

termautomaton is a program to simulate Cellular Automaton (CA) with a Terminal User Interface (TUI) in Rust.

demo.mov

Usage

By default, if you just run the binary with no other arguments, it will initialize a random cell grid and evolve the grid using Conway's Game of Life:

# Evolves a random grid.
termautomaton

You can also provide your own initialized grid as an ASCII formatted file:

termautomaton -a gosperglidergun.cells

The format of the ASCII file is very forgiving, and allows for top-of-line comments using either # or ! and then afterwards converts the characters *, #, O and X as "alive" cells and every other character as a "dead" cell. There are plans to support more than 2-state cell grids in ASCII.

About

A cellular automata terminal screensaver. Think pipes.sh, but with automata

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published