semvec/pypi-packages huggingface dataset:
lant 0.0.2
Implements Langton\'s ant in Python
License: BSD 3-Clause License
Requires Python: >=3.8

# Langton's Ant

An implementation of [Langton's Ant][wiki] in Python for fun.

## Installation

```bash
pip install lant
```

## Usage

To get started, you may invoke the program with:

```bash
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:

```bash
ant-walk --help
```

[wiki]: https://en.wikipedia.org/wiki/Langton%27s_ant