| Crates.io | lysogeny-broth |
| lib.rs | lysogeny-broth |
| version | 1.2.0 |
| created_at | 2021-01-20 17:35:21.222684+00 |
| updated_at | 2023-10-21 16:52:54.09812+00 |
| description | Substrate for cellular automata in Rust. |
| homepage | |
| repository | https://github.com/tpltnt/lysogeny-broth |
| max_upload_size | |
| id | 344489 |
| size | 60,855 |
Substrate for cellular automata in Rust. Named after the LB medium used in mircobiology. Also look into Angelina Fanny Hesse ;) The underlying grid is of toroidal shape, i.e. the coordinate values/neighbours wrap around. This code is dual-licensed under the MIT/Apache 2.0 licenses.
cargo run --example retrievalcargo run --example rule30 cargo run --example jsonEnable utility functions for binary (only) cell state.
Allow dead/alive cell to be converted into boolean values.
Group 8 binary cell states into an octet for nicer processing and i/o.
rule30 example minimisedcs8_into_u8() to be internally compatibleu8_into_cs8 utility functionnext() as iteratornext_byte() for easier byte conversiongrid works (setting & retrieving cell states)
universe implemented (rules via function pointer)
tests
examples
documentation