Implements Langton\'s ant in Python
Project description
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
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
lant-0.0.2.tar.gz
(5.9 kB
view details)
Built Distribution
lant-0.0.2-py3-none-any.whl
(5.1 kB
view details)
File details
Details for the file lant-0.0.2.tar.gz
.
File metadata
- Download URL: lant-0.0.2.tar.gz
- Upload date:
- Size: 5.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e3a9993ef145ebf4168c692299721ba5d9f788e5435f0e046fe5bd1f19f80719 |
|
MD5 | 5b46649c52619c35abdabe6afa804981 |
|
BLAKE2b-256 | a72aed252809e16fd9f71e5df63b74e712de6bfdbbe3c37bdc5435992a17bcbd |
File details
Details for the file lant-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: lant-0.0.2-py3-none-any.whl
- Upload date:
- Size: 5.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 70a1947a5c03808b7a0c43ce6c03c01b8708bf1356d7e56a36609a450c05ce55 |
|
MD5 | 6ca6f706b4303d63ea1c07e62fa0f4e2 |
|
BLAKE2b-256 | 7b932a1090436225b47b3dd08469aa4e981f5a8eec2d0ee32b8b070b33f068d9 |