Substrate for cellular automata in Rust.
Named after the LB medium
used in mircobiology.
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.
examples
- retrieve value as grid:
cargo run --example retrieval
- implementation of rule 30:
cargo run --example rule30
versions / changes
1.1
- binary cell states are explicit feature now: "dead-alive-only"
- optional converion of binary cell states into boolean value as feature: "dead-alive-into-bool"
- convert eight cellstates into an u8 (octet) via feature: "dead-alive-into-group-u8"
1.0
- grid works (setting & retrieving cell states)
- universe implemented (rules via function pointer)
- tests
- examples
- documentation
links