Langton's ant: Difference between revisions

m
added whitespace before the TOC.
m (→‎{{header|REXX}}: changed/added comments and whitespace, changed indentations.)
m (added whitespace before the TOC.)
Line 7:
# The Ant then moves forward to the next cell, and repeat from step 1.
 
<br>This rather simple ruleset leads to an initially chaotic movement pattern, and after about 10000 steps, a cycle appears where the ant moves steadily away from the starting location in a diagonal corridor about 10 pixels wide.
Conceptually the ant can then travel infinitely far away.
 
Line 17:
;See also
* [[Conway's Game of Life]]
<br><br>
 
=={{header|Ada}}==