Submissions from 2015-07-22 to 2015-07-23 (2 total)

I was inspired by the cool temple wall art by MrTedders and wanted to make my own. His was done by hand, but I wanted to make something similar using the computer. I have a lot of interest in computer generated content and this case seemed like a perfect opportunity to use it.

I want to use these techniques to generate some interesting patterns for game development. Maybe not this particular pattern, but something.

I made this pattern with a bunch of what I called Crawlers. Basically a crawler is a little bug that leaves a trail behind it as it walks around and keeps track of where it has been. My crawlers follow a set of very simple rules to make their patterns:

  1. If the space in front of the crawler hasn't been covered before, move into it.
  2. If the space has been covered turn left.
  3. If the crawler has turned in a complete circle, it is stuck. It should then go back to the last space it was on.
  4. If the crawler gets all the way back to the space it started at, it dies.
There are also two special conditions that can randomly affect a crawler:
  1. There is a small chance that a crawler will randomly turn left that grows the longer the crawler has traveled in a straight line.
  2. A crawler may randomly spawn another crawler at its own location facing to the right.

Those 6 simple rules generate random patterns that look like this: