Skip to content
Ecce Signum

Ecce Signum

Immanentize the Empathy

  • Home
  • About Me
  • Published Works and Literary Matters
  • Laboratory

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

Post navigation

Back to School
Accidental Popularity

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Personal website of
John Winkelman

John Winkelman in a diner in San Francisco

Archives

Categories

Posts By Month

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

Twitter Feed

JohnWinkelmanJohn Winkelman@JohnWinkelman·
21 Apr

3 of 5 stars to Living at the Movies by Jim Carroll https://www.goodreads.com/review/show?id=3943002556

Reply on Twitter 1384841760396959748Retweet on Twitter 1384841760396959748Like on Twitter 1384841760396959748Twitter 1384841760396959748
JohnWinkelmanJohn Winkelman@JohnWinkelman·
15 Apr

4 of 5 stars to The Making of the Indebted Man by Maurizio Lazzarato https://www.goodreads.com/review/show?id=3934132499

Reply on Twitter 1382837596775137282Retweet on Twitter 1382837596775137282Like on Twitter 1382837596775137282Twitter 1382837596775137282
JohnWinkelmanJohn Winkelman@JohnWinkelman·
15 Apr

I just backed European Astrobiology Institute presents "Life Beyond Us" on @Kickstarter https://www.kickstarter.com/projects/laksamedia/european-astrobiology-institute-presents-life-beyond-us?ref=android_thanks_twitter_share

Reply on Twitter 1382512100136906753Retweet on Twitter 1382512100136906753Like on Twitter 13825121001369067534Twitter 1382512100136906753
Load More...

Links of Note

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

Watching, Listening
WYCE Electric Poetry
Writing Excuses Podcast
Our Opinions Are Correct

News, Politics, Economics
Naked Capitalism
Crooked Timber

Meta

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

© 2021 Ecce Signum

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