{"id":15914083,"url":"https://github.com/bbengfort/cellular-automata","last_synced_at":"2025-08-15T02:31:26.288Z","repository":{"id":13715023,"uuid":"16409041","full_name":"bbengfort/cellular-automata","owner":"bbengfort","description":"Animated Cellular Automata using Matplotlib","archived":false,"fork":false,"pushed_at":"2014-02-07T20:48:49.000Z","size":157,"stargazers_count":6,"open_issues_count":0,"forks_count":5,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-03T05:41:23.612Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bbengfort.png","metadata":{"files":{"readme":"README.md","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}},"created_at":"2014-01-31T13:41:26.000Z","updated_at":"2024-12-11T06:00:53.000Z","dependencies_parsed_at":"2022-09-06T04:02:45.159Z","dependency_job_id":null,"html_url":"https://github.com/bbengfort/cellular-automata","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bbengfort/cellular-automata","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbengfort%2Fcellular-automata","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbengfort%2Fcellular-automata/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbengfort%2Fcellular-automata/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbengfort%2Fcellular-automata/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bbengfort","download_url":"https://codeload.github.com/bbengfort/cellular-automata/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbengfort%2Fcellular-automata/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270514453,"owners_count":24598366,"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","status":"online","status_checked_at":"2025-08-15T02:00:12.559Z","response_time":110,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-10-06T17:01:13.445Z","updated_at":"2025-08-15T02:31:25.996Z","avatar_url":"https://github.com/bbengfort.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cellular Automata [![Build Status][travis_img]][travis_url] #\nAnimated Cellular Automata using Matplotlib\n\n[Cellular automata][cellular_automaton] are models of dynamical systems in discrete time, space, and state inspired by the work of [Jon von Neumann][vonneumann] in the 1950s. He conceived of a world of machines (cells) inhabiting a chessboard space, but instead of simply being black or red, the machine's state was identified by its color. These models are used often in [Artificial Life][artificial_life] Simulations as well as parallel computational devices because the illustrate the following fundamentals of natural computing:\n\n* explicit space and time\n* [locality for massive parallelism][massive_parallel]\n* [self-organization][self_organization]\n* [emergent properties][emergence]\n* lifelike behavior\n\nFor my part- they are extremely cool, and programming them is extremely fun. Although there are many tools and animations for building visual Cellular Automata, I found very little in the way of Python libraries. This library uses [matplotlib 1.3.1][matplotlib] to animate the behavior of cellular automata, and allows a researcher to use Python to build and visualize these very cool looking machines!\n\n## Usage ##\nCurrently, you can view the R90 animation with a simple command:\n\n    $ bin/pyca\n\nThis should launch the animation in its own window. If you're having trouble, remember to ensure that the `pyca` module is on the Python path. If you're using `virtualenv`, you may have to add a .pth file to the site packages folder of the environment.\n\n## Dependencies ##\nThis library depends on Python data libraries, particularly matplotlib and numpy. These libraries have a lot of compiling under the hood; you need to ensure that you have a Fortran compiler, and that you have ffmpeg libraries installed. Installing on a Mac (which this was developed on) is also notoriously difficult, so there are some Mac-specific hacks in the code. If you're getting errors trying to get the program to run, don't fear; it might not be the code, just the coder! Feel free to leave an issue and we'll sort it out together.\n\n\u003c!-- References --\u003e\n[travis_img]: https://travis-ci.org/bbengfort/cellular-automata.png?branch=master\n[travis_url]: https://travis-ci.org/bbengfort/cellular-automata\n[cellular_automaton]: http://mathworld.wolfram.com/CellularAutomaton.html\n[vonneumann]: http://ei.cs.vt.edu/~history/VonNeumann.html\n[artificial_life]: http://en.wikipedia.org/wiki/Artificial_life\n[massive_parallel]: http://en.wikipedia.org/wiki/Massively_parallel_(computing)\n[self_organization]: http://en.wikipedia.org/wiki/Self-organization\n[emergence]: http://en.wikipedia.org/wiki/Emergent_properties#Emergent_properties_and_processes\n[matplotlib]: http://matplotlib.org/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbbengfort%2Fcellular-automata","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbbengfort%2Fcellular-automata","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbbengfort%2Fcellular-automata/lists"}