Langton's Ant cross-stitch
Aug. 31st, 2022 09:06 am![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
On Twitter, Bridgebyapool suggested doing a Langton's Ant cross-stitch. If the square is white, then it turns black, the ant turns 90 degrees clockwise and then moves one square. If the square is black, then it turns white, the ant turns 90 degrees anti-clockwise and then moves one square.
I coded it in Processing first:

Video of the pattern being generated in Processing: Langton's Ant
Here's the cross-stitch:

I coded it in Processing first:

Video of the pattern being generated in Processing: Langton's Ant
Here's the cross-stitch:
