Langton's Ant



Langton's Ant is actually a two-dimensional cell automaton that evolves by following very simple rules.
It was invented by scientist Christopher Langton in 1986 and helped to highlight an example of emergent behavior.

The two basic rules are:
¤ If the ant is on a black square, it turns right, changes the color to white and moves forward
¤ If the ant is on a white square, it turns left, changes the color to black and moves forward

These simple rules lead to a surprising behavior of the ant:
The ant builds a road that repeat indefinitely

Here are the main features of my implementation:

¤ Changing the speed
¤ Changing the size of the world
¤ Changing the background color
¤ Changin the rules:
- 35 predefined rules
- create your own rules
¤ Creation of multiple states automatons
¤ Add as many ant as you want, simply by touching the screen!

There are many extensions (several colors, states, etc.) but it's up to you to discover them.

Visit my website :

Game Jeu automate automaton ant fourmi turmite langton cellule cell zero player world pattern motif implementation simulation casual free gratuit old school fractal explorer abstract best angry birds

Tags: langtons ant , langtons ant js , langtons ant code , langtons ant automaton , generations fractal firefly , langton's ant game , langton% , langton games , javascript langtons ant

Users review

from 348 reviews