Skip to content

Ecce Signum

Immanentize the Empathy

  • Home
  • About Me
  • Published Works and Literary Matters
  • Indexes
  • Laboratory
  • Notebooks
  • RSS Feed

Day: January 9, 2003

What Is It With the Ants?

2003-01-09 John Winkelman

I got the idea for the Langton’s Ants experiment from Kevin Lindsey’s experiment . The code is my own, but the results were carefully double-checked against the original.

The “ant” follows four rules:

The ant toggles the color of its current square
The ant advances in the direction it is facing
If the new square is off, then the ant turns to the right by 90 degrees
If the new square is on, then the ant turns to the left by 90 degrees

Possible future riffs on this idea include multiple ants, multiple colors, and a hex/octal grid.

Posted in ProgrammingTagged cellular automata, Flash comment on What Is It With the Ants?

Personal website of
John Winkelman

John Winkelman in closeup

Archives

Categories

Posts By Month

January 2003
S M T W T F S
 1234
567891011
12131415161718
19202122232425
262728293031  
« Dec   Feb »

Links of Note

Reading, Writing
Tor.com
Locus Online
The Believer
File 770
IWSG

Watching, Listening
Writing Excuses Podcast
Our Opinions Are Correct
The Naropa Poetics Audio Archive

News, Politics, Economics
Naked Capitalism
Crooked Timber

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

© 2025 Ecce Signum

Proudly powered by WordPress | Theme: x-blog by wpthemespace.com