Elementary Computational Automata for PYthon
Project description
ecapybara
ecapybara, Elementary Cellular Automata for PYthon + BARA
Iterate the 256 elementary cellular automata starting from a fixed inital state (center cell 'live', all others 'dead').
Usage
Installed package
pip install ecapybara
python3 -m ecapybara.ecapydriver
You will be prompted to select one of the rules from 0-255, and the number of steps you would like to iterate. Output will be scaled to fit the number of columns in your terminal window with some padding.
Console mode
python3 src/ecapybara/ecapydriver.py
Sample output
TODO
- Larger number of steps doesn't generate expected output.
- Needs to be modularized.
- Needs unit tests.
- Needs click interface for CLI.
- Needs to write images using PILlow.
- Logging needs work.
- Streaming from API not working
- Needs some JS or other trickery to get browser window width
- Add ability to scale fundamental elements
- Add ability to 'page' back and forth between different rules in browser view
- Programmatically generate visual representation of rules
- Needs ability to start from randomized seed
- COLORS !!!
- Animation modes (fades, slow transitions)
Mascot
The official mascot of ecapybara is the e-capybara.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file ecapybara-0.0.3.tar.gz
.
File metadata
- Download URL: ecapybara-0.0.3.tar.gz
- Upload date:
- Size: 14.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 40957def05a14f91ec7d2fab7c0a129e486954e8baf05a8716b1548455170ec2 |
|
MD5 | 65181383f0cb41ffa01bcba7607d2291 |
|
BLAKE2b-256 | 30dba5b27b265da6f5a97d13d9ed5b1dc9568cb5233b5ad51788e15e4498c254 |
File details
Details for the file ecapybara-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: ecapybara-0.0.3-py3-none-any.whl
- Upload date:
- Size: 16.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 280f2395d2f346c132e6915443bf5923ccc06db599cd6b6191c7633469009882 |
|
MD5 | 14cf62465b31bc75b3ed3f9b31759960 |
|
BLAKE2b-256 | 3b286a15623e8c5aeeab3ed600e4e6f29f8cec785aba7b2404b92cd37c1ab987 |