Langton’s Ant
A Godot simulation of a cellular automaton that builds patterns from two rules.
Gallery
Overview
On each step, the ant turns according to the color of its current square and flips that square before moving. The grid wraps at the edges so the simulation can keep running.
View source