ca-formats
v0.0.0
Published
Decodes [cellular automata][1] formats to `[x1, y1, ..., xn, yn]` values. It currently supports the types `rle`, `plain`, and `life` (1.05 and 1.06).
Downloads
14
Readme
ca-formats (WIP)
Decodes [cellular automata][1] formats to [x1, y1, ..., xn, yn] values. It currently supports the types rle, plain, and life (1.05 and 1.06).
Install
npm i ca-formatsUsage
decode(str, type?) -> cells
stris the source string to decodetypeis which format you are decoding. defaults to rle.
