A project I created while experimenting with a "cellular automaton" called Langton's Ant.
Compiles with clang.
The program outputs a PNG file using the lodepng library.
The executable takes two arguments:
- a sequence of letters that specify what movement the ant should take (eg. RLR or LLRR to name a few)
- a number of movements (the program seems to bog down around 10^9 movements)
langtons_ant LRRRRRLLR 10000000