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$!!!!!!!!!!!!!…
Langton's ant
41–44 of 44 posts
Re: Langton's ant
#42Earlier quoted context omitted.
This is awesome - lot of fun to play with. This is the best pattern I've been able to come up with so far: @!!@@" rel="nofollow">http://demoseen.com/langton/#..rr@ @!!@@
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!!!! .
..$.^" rel="nofollow">http://demoseen.com/langton/#@@1o..+..-1o..+..-..$.^
It makes a cloth/napkin, and then slowly absorbs blood from the four corners.
Re: Langton's ant
#43Earlier quoted context omitted.
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!!!! .
After playing with this a good bit, here's my favorite: ..$.^" rel="nofollow">http://demoseen.com/langton/#@@1o..+..-1o..+..- ..$.^ It makes a cloth/napkin, and then slowly absorbs blood from the four corners.
Re: Langton's ant
#44How about 3D Langton's (or Langtonish) ants? Or more dimensions? :)
Need at least one new rule and a new color.
(Imagine the ant as a space-ship, and every time it turns, it also changes its pitch/yaw, so the directions are based on its direction of travel.)
Current | Previous | Action
white | white | go starboard
white | black | go port
black | white | go down
black | black | go up