An open API service indexing awesome lists of open source software.

https://github.com/jtpio/langton-ant-haskell

Langton's Ant in Haskell
https://github.com/jtpio/langton-ant-haskell

Last synced: over 1 year ago
JSON representation

Langton's Ant in Haskell

Awesome Lists containing this project

README

          

# Langton's Ant in Haskell

## Summary
This is an implementation of the famous cellular automaton.

Details can be found here:
[http://en.wikipedia.org/wiki/Langton's_ant](http://en.wikipedia.org/wiki/Langton's_ant)

The first ant starts in the middle of the region. But you can add more ants by clicking on the canvas.

## UI
The program uses the library **Gtk2Hs** to render the simulation on a canvas.

## Screenshots

### One ant
![One Ant](https://raw.github.com/jtuloup/langton-ant-haskell/master/screenshots/one_ant.png "Langton's Ant Haskell")

### Multiple ants
![Multiple Ants](https://raw.github.com/jtuloup/langton-ant-haskell/master/screenshots/multiple_ants.png "Langton's Ant Haskell")