There's something deeply fascinating in the fact that complexity can sometimes emerge from simple rules.. Here's a Langton's ant, which is always headed in one of four directions (up, down, left, right), which it changes before going a new step:
- By turning 90° right on a white pixel
- Or by turning 90° left on a black pixel
This simple pattern leads to a surprinsingly chaotic behavior..