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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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