{"id":21389387,"url":"https://github.com/tpltnt/lysogeny-broth","last_synced_at":"2025-07-13T15:33:06.907Z","repository":{"id":52248913,"uuid":"331326373","full_name":"tpltnt/lysogeny-broth","owner":"tpltnt","description":"substrate for cellular automata in Rust.","archived":false,"fork":false,"pushed_at":"2023-10-21T16:54:52.000Z","size":72,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-03-23T09:43:36.694Z","etag":null,"topics":["ca","cellular-automata","cellular-automaton","embedded","nostd"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tpltnt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-01-20T14:11:35.000Z","updated_at":"2023-10-21T16:01:05.000Z","dependencies_parsed_at":"2022-09-26T20:21:23.407Z","dependency_job_id":null,"html_url":"https://github.com/tpltnt/lysogeny-broth","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tpltnt%2Flysogeny-broth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tpltnt%2Flysogeny-broth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tpltnt%2Flysogeny-broth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tpltnt%2Flysogeny-broth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tpltnt","download_url":"https://codeload.github.com/tpltnt/lysogeny-broth/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225896423,"owners_count":17541494,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ca","cellular-automata","cellular-automaton","embedded","nostd"],"created_at":"2024-11-22T12:26:12.843Z","updated_at":"2024-11-22T12:26:13.438Z","avatar_url":"https://github.com/tpltnt.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![dependency status](https://deps.rs/repo/github/tpltnt/lysogeny-broth/status.svg)](https://deps.rs/repo/github/tpltnt/lysogeny-broth)\n\nSubstrate for cellular automata in Rust.\nNamed after the [LB medium](https://en.wikipedia.org/wiki/Lysogeny_broth)\nused in mircobiology. Also look into Angelina Fanny Hesse ;)\nThe underlying grid is of toroidal shape, i.e. the coordinate\nvalues/neighbours wrap around. This code is dual-licensed\nunder the MIT/Apache 2.0 licenses.\n\n\n# examples\n* retrieve value as grid: `cargo run --example retrieval`\n* implementation of rule 30: `cargo run --example rule30`\n* save grid states as JSON: ` cargo run --example json`\n\n# features\n\n## dead-alive-only\n\nEnable utility functions for binary (only) cell state.\n\n## dead-alive-into-bool\n\nAllow dead/alive cell to be converted into boolean values.\n\n## dead-alive-u8-utils\n\nGroup 8 binary cell states into an octet for nicer processing and i/o.\n\n\n\n# versions / changes\n\n## upcoming\n\n## 1.2\n* documentation extended\n* minor code cleaning\n* `rule30` example minimised\n* fixed signature of `cs8_into_u8()` to be internally compatible\n* added `u8_into_cs8` utility function\n* grouped CellState / u8 conversions under feature \"dead-alive-u8-utils\"\n  * dropped feature \"dead-alive-into-group-u8\"\n* added JSON example\n* implemented `next()` as iterator\n* implemented `next_byte()` for easier byte conversion\n\n## 1.1\n* binary cell states are explicit feature now: \"dead-alive-only\"\n* optional conversion of binary cell states into boolean value as feature: \"dead-alive-into-bool\"\n* convert eight cellstates into an u8 (octet) via feature: \"dead-alive-into-group-u8\"\n\n## 1.0\n* grid works (setting \u0026 retrieving cell states)\n* universe implemented (rules via function pointer)\n* tests\n* examples\n* documentation\n\n\n# links\n* [crate documentation](https://docs.rs/lysogeny-broth/)\n* [wikipedia: cellular automaton](https://en.wikipedia.org/wiki/Cellular_automaton)\n* [Wolfram Atlas - various types of one-dimensional cellular automata](http://atlas.wolfram.com/TOC/TOC_200.html)\n* [MathWorld: Rule 30](https://mathworld.wolfram.com/Rule30.html)\n* [ca-rules](https://crates.io/crates/ca-rules) ... a possible compagnion crate\n* [JSON](https://www.json.org/json-en.html)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftpltnt%2Flysogeny-broth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftpltnt%2Flysogeny-broth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftpltnt%2Flysogeny-broth/lists"}