filmov
tv
Langton's Ant Algorithm - Python and Pygame

Показать описание
Langton's ant is a two-dimensional Turing machine with a very simple set of rules but complex emergent behavior. It was invented by Chris Langton in 1986 and runs on a square lattice of black and white cells.
The idea is: when the ant is in a white square, it will turn right 90º and go foward one square. If the square the ant is in is black, it will turn left 90º and go foward. As the ant leave the previous square, it changes the state to the oposite color.
Around the iteration number 10000, the ant will get caught in a loop, usually called "the highway", where the same pattern will be drawn forever.
The idea is: when the ant is in a white square, it will turn right 90º and go foward one square. If the square the ant is in is black, it will turn left 90º and go foward. As the ant leave the previous square, it changes the state to the oposite color.
Around the iteration number 10000, the ant will get caught in a loop, usually called "the highway", where the same pattern will be drawn forever.
Langton's ant with Python and Pygame
Langton's Ant Algorithm - Python and Pygame
Python Langton's Ant in five seconds
Langtons Ant implementation
Langton's ant till highway (with source code in python)
Langton's Ant - Cellular Automata (Python Pygame) Chaos
Langton's ant (Python)
Langton's Ant in Pygame
Simple, Langton's ant with kivy.
Langton's Ant
Langton's Ant
Broken leg Langton's Ant; N=11167
Python exercise - 40: Langton's ant
AT Final project Langton's ANT
Code Langton’s Ant With JavaScript
Langton's ant LLRR 235 billion iterations
Langtons Ant and Others in Processing
How to Code Langton’s Ant with Multiple Ants
AntTestTool
Langton's Ant
Langton's Ant on a hexagonal grid
Code Review: Langton's Ant simulation
Langton's Ant experiment: 256³ colorspace. LRLR pattern, stepsize: 10
Visualizing Langton's Ant in Julia
Комментарии