by daeken · 15y ago · 0 comments
Rather than working on 90 degree turns, this does 45 degree angles, and it has a bit more complexity in the command set.
The rules are: + and - turn right and left 45 degrees, * and / turn right and left 90 degrees, ! reverses direction, . does nothing.
You can come up with some really interesting patterns, e.g. http://pyvascript.appspot.com/Langton45?command=*.%2B
Edit: Huh, I guess I never released any of that. I should port it to a modern Pyvascript and throw it up somewhere, as the version this is built against is probably going on 3 years old.
I used Pyvascript heavily for one product and it's fairly battle-hardened at this point, but since I don't really do anything web-wise anymore I haven't done much with it lately.