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
ecapybara-0.0.3.tar.gz
(14.1 MB
view hashes)
Built Distribution
ecapybara-0.0.3-py3-none-any.whl
(16.5 kB
view hashes)
Close
Hashes for ecapybara-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 280f2395d2f346c132e6915443bf5923ccc06db599cd6b6191c7633469009882 |
|
MD5 | 14cf62465b31bc75b3ed3f9b31759960 |
|
BLAKE2b-256 | 3b286a15623e8c5aeeab3ed600e4e6f29f8cec785aba7b2404b92cd37c1ab987 |