{"id":20425288,"url":"https://github.com/catseye/redgreen","last_synced_at":"2026-03-07T09:02:25.862Z","repository":{"id":142239958,"uuid":"5554003","full_name":"catseye/REDGREEN","owner":"catseye","description":"MIRROR of https://codeberg.org/catseye/REDGREEN : A cellular automaton which simulates a little \"physical\" world","archived":false,"fork":false,"pushed_at":"2023-10-27T19:45:01.000Z","size":50,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-12T18:57:48.700Z","etag":null,"topics":["alpaca","cellular-automaton"],"latest_commit_sha":null,"homepage":"https://catseye.tc/node/REDGREEN","language":"JavaScript","has_issues":false,"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/catseye.png","metadata":{"files":{"readme":"README.markdown","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2012-08-25T18:48:35.000Z","updated_at":"2023-10-27T11:45:54.000Z","dependencies_parsed_at":"2025-04-12T18:55:19.420Z","dependency_job_id":"ee8048a7-35d1-49af-9408-df1528b3eb10","html_url":"https://github.com/catseye/REDGREEN","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/catseye/REDGREEN","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/catseye%2FREDGREEN","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/catseye%2FREDGREEN/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/catseye%2FREDGREEN/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/catseye%2FREDGREEN/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/catseye","download_url":"https://codeload.github.com/catseye/REDGREEN/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/catseye%2FREDGREEN/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30210359,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-07T09:02:10.694Z","status":"ssl_error","status_checked_at":"2026-03-07T09:02:08.429Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["alpaca","cellular-automaton"],"created_at":"2024-11-15T07:12:47.267Z","updated_at":"2026-03-07T09:02:25.821Z","avatar_url":"https://github.com/catseye.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"REDGREEN\n========\n\nCellular Automaton\n------------------\n\nREDGREEN is a successor to [RUBE][]. Unlike RUBE, REDGREEN is proper cellular\nautomaton (CA): the next state of each cell is determined only by its current\nstate and the states of its neighbours.\n\n[RUBE]: http://catseye.tc/node/RUBE.html\n\nImplementation\n--------------\n\nThis implementation of REDGREEN is written in [ALPACA][] and compiled to a\nPerl script using the reference ALPACA compiler. As a language for expressing\nCA's, ALPACA is much, much clearer than C (the language in which RUBE was\nimplemented.)  In fact, the need for a clear description language for RUBE's\nsuccessor was one of the driving forces behind the development of ALPACA.\nREDGREEN is an extremely complex automaton, making full use of ALPACA's\n\"class of states\" feature.\n\n[ALPACA]: http://catseye.tc/node/ALPACA.html\n\nThe REDGREEN Universe\n---------------------\n\n    Air                        Heavy things like water and pebbles fall through air. Light things like smoke and steam rise in air. Air is required for a fire to keep burning.\n    Water            **`~`**   Heavy solid things like pebbles fall into water. Light things like steam or smoke make rising bubbles in water. Boils to steam when heated, but also puts out open fires. Fish can live a John Conway's Life in water.\n    Fire             **`%`**   Heavy things like pebbles fall through fire; water puts it out. Requires flammable fuel and air to keep burning, otherwise goes up in smoke. Spreads to adjacent flammables like twigs and heats up adjacent non-flammables like rock.\n    Earth            **`#`**   Stops things which would otherwise fall from falling. Can be heated up to magma by adjacent fire.\n    Magma            **`\u0026`**   Heated-up earth, will cool down to earth if no adjacent fire or magma is present. Can boil water.\n    Steam            **`s`**   From boiling water, rises in air.\n    Smoke            **`@`**   From fire, rises in air.\n    Bubble           **`o`**   From air or steam or smoke, rises in water.\n    Fish             **`f`**   Lives a [John Conway's Life][] in water.\n    Pebble           **`.`**   Falls through air.\n    Two Pebbles      **`:`**   Two pebbles stacked together, also falls through air.\n    Spark            **`*`**   An electrical phenomenon living a [WireWorld][] existence.\n    Tail             **`-`**   The trail of a spark.\n    Wire             **`=`**   Conducts electricity (sparks).\n    Zappy            **`z`**   Shot off by sparks. Can set flammables on fire.\n    Big Zappy        **`Z`**   Also shot off by sparks. Can also set flammables on fire.\n    Duct Tape        **`D`**   Flammable. Things can stick to it. It can unravel.\n    \"Oh No\" Tape     **`O`**   Flammable. Duct tape that's unravelling.\n    Twig             **`l`**   Flammable.\n    Conveyor Left    **`\u003c`**   Moves twigs, pebbles etc. on top of it to the left.\n    Conveyor Right   **`\u003e`**   Moves twigs, pebbles etc. on top of it to the right.\n    Randomizer       **`?`**   Randomly flips the direction of the Conveyor adjacent above it.\n    Torch            **`T`**   Provides endless fuel for a fire.\n\n\n[John Conway's Life]: https://codeberg.org/catseye/ALPACA/src/branch/master/eg/life\n[WireWorld]: https://codeberg.org/catseye/ALPACA/src/branch/master/eg/wireworld\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcatseye%2Fredgreen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcatseye%2Fredgreen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcatseye%2Fredgreen/lists"}