Langton's Ant
An implementation of Langton's Ant in Python for fun.
Installation
pip install lant
Usage
To get started, you may invoke the program with:
ant-walk 100000 output.mp4
This produces the evolution of the ant on the grid until it walks over the edge, or the maximum number of steps is met, in this case 100k.
For more advanced usage, see the helptext:
ant-walk --help
Metadata
Release files for lant 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| lant-0.0.2.tar.gz | 5.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| lant-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.1 kB
Release files / lant-0.0.2.tar.gz
| Download URL | lant-0.0.2.tar.gz |
|---|---|
| Size | 5.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e3a9993ef145ebf4168c692299721ba5d9f788e5435f0e046fe5bd1f19f80719
|
|
BLAKE2b-256 checksum How to use checksums |
a72aed252809e16fd9f71e5df63b74e712de6bfdbbe3c37bdc5435992a17bcbd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / lant-0.0.2-py3-none-any.whl
| Download URL | lant-0.0.2-py3-none-any.whl |
|---|---|
| Size | 5.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
70a1947a5c03808b7a0c43ce6c03c01b8708bf1356d7e56a36609a450c05ce55
|
|
BLAKE2b-256 checksum How to use checksums |
7b932a1090436225b47b3dd08469aa4e981f5a8eec2d0ee32b8b070b33f068d9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|