LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

pbmlife

applies Game of Life rules

TLDR

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

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).

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)

Copied to clipboard
Kai