- Terminal graphics
- Specify custom amount of columns and rows (
-c <number>
,-r <number>
) - Color cells by age
- Configurable speed in milliseconds (
-t <number>
) - Multiple initialization modes (
--init [random|empty|gauss]
) - Terminal high resolution mode (
-x
) - Mark patterns with red color (
-m <filepath>
) - Insert patterns into canvas (
-i <filepath>
) - Load .rle files
- Load .cells files
- Custom rules (
--rule <rule>
)
cargo build --release
cd target/release
./cgol
Make the font size of your terminal very small (e.g. via Ctrl +/-
). Then:
./cgol -x
This works best with fast terminal emulators (e.g. Alacritty).
./cgol -i ../../patterns/glidergun.rle --init empty
./cgol -m ../../patterns/block.cells
Try some well-known life-like cellular automata!
./cgol --rule B0/S8