pbmlife

applies Game of Life rules

TLDR

Run Game of Life iteration
$ pbmlife [input.pbm] > [output.pbm]
Multiple generations
$ pbmlife [input.pbm] | pbmlife | pbmlife > [output.pbm]

SYNOPSIS

pbmlife [file]

DESCRIPTION

pbmlife applies Game of Life rules. Single generation step.The tool simulates cellular automata. Conway's Game of Life.

PARAMETERS

FILE

Input PBM file (initial state).

INSTALL

sudo apt install netpbm
sudo dnf install netpbm
sudo pacman -S netpbm
sudo apk add netpbm
sudo zypper install netpbm
brew install netpbm
nix profile install nixpkgs#netpbm

CAVEATS

Part of Netpbm. One generation per call. Chain for animation.

HISTORY

pbmlife is part of Netpbm implementing Conway's Game of Life.

SEE ALSO

pbm(5), pbmmake(1), netpbm(1)