Skip to main content

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


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)

Uploaded Source

Built Distribution

lant-0.0.2-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

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

Hashes for lant-0.0.2.tar.gz
Algorithm Hash digest
SHA256 e3a9993ef145ebf4168c692299721ba5d9f788e5435f0e046fe5bd1f19f80719
MD5 5b46649c52619c35abdabe6afa804981
BLAKE2b-256 a72aed252809e16fd9f71e5df63b74e712de6bfdbbe3c37bdc5435992a17bcbd

See more details on using hashes here.

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

Hashes for lant-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 70a1947a5c03808b7a0c43ce6c03c01b8708bf1356d7e56a36609a450c05ce55
MD5 6ca6f706b4303d63ea1c07e62fa0f4e2
BLAKE2b-256 7b932a1090436225b47b3dd08469aa4e981f5a8eec2d0ee32b8b070b33f068d9

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page