News for hackers. Stuff that matters.
Re:Langton's ant by daeken on Thursday September 04, 2014 @01:32AM (#8266925)
I've been obsessed with Langton's ant for a good solid decade now. My latest creation is a few years old now, but occasionally I go back and add new commands. It's inspired by Langton's ant, but it operates in 45 degree increments, has the ability to fork, conditionally execute instructions, has colors, and a bunch of other interesting things. You can see it in action at http://demoseen.com/langton/#.FP$!!!!!!!!!!!!!!!!!!!!~ and there's a simple instruction listing at the bottom of the page.

It's quite a departure from the original, but you can make absolutely gorgeous images with some simple instructions.

Re:Langton's ant by cezarywojcik on Thursday September 04, 2014 @12:42PM (#8269256)
This is awesome - lot of fun to play with.

This is the best pattern I've been able to come up with so far:

http://demoseen.com/langton/#..rr@<>@!!@@

Re:Langton's ant by daeken on Thursday September 04, 2014 @12:45PM (#8269276)
That's really cool -- I love 'lattice' type patterns. This is my current favorite, because it seems to terminate (stabilize) and then does one last little bit. Runs for a good while before it 'terminates', as well. http://demoseen.com/langton/#.$!~PF!!!!.
Re:Langton's ant by cezarywojcik on Thursday September 04, 2014 @04:03PM (#8270315)
After playing with this a good bit, here's my favorite:

http://demoseen.com/langton/#@@1o..+..-1o..+..-<>..$.^

It makes a cloth/napkin, and then slowly absorbs blood from the four corners.

Re:Langton's ant by daeken on Thursday September 04, 2014 @04:09PM (#8270356)
That's really, really cool. I want to make a gallery system for these, where people can submit theirs and others can modify from there. Btw, I just added a polar mode (the grid is treated as polar coordinates, and converted from there); the & instruction switches to polar and _ brings it back to cartesian, so you can actually blend the two. http://demoseen.com/langton/#&m.$!~PFP!!..
Re:Langton's ant by jtms on Thursday September 04, 2014 @07:16AM (#8267557)
Wow! Very cool... I could play with this for days! Thank you for posting this.
Re:Langton's ant by briandw on Thursday September 04, 2014 @11:58AM (#8268983)
This is amazing work. Langton's ant was one of the first programs I wrote in Java around 1996 so it's super fun to see what you've done with it.
Re:Langton's ant by hrjet on Thursday September 04, 2014 @01:46AM (#8266952)
Wow! A suggestion: Adding some sort of inertia calculation. It might lead to very complex and yet smooth looking images.
Re:Langton's ant by mercurial on Thursday September 04, 2014 @05:14AM (#8267306)
Beautiful. Thanks!
Re:Langton's ant by GhotiFish on Thursday September 04, 2014 @03:34PM (#8270168)
any way to simulate turmites with this?