0.0.0 • Published 6 years ago

ca-formats v0.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
6 years ago

ca-formats (WIP)

Decodes cellular automata 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-formats

Usage

decode(str, type?) -> cells

  • str is the source string to decode
  • type is which format you are decoding. defaults to rle.
0.0.0

6 years ago