Your Turn

You’ve learned a new algorithm, and you’ve already seen one very practical application of it, in making weave mazes much more reliable and configurable than they were in the previous chapter. With this technique, you can get a weave maze every time, regardless of the size of the maze.

Where else can you take the ideas presented in this chapter? Consider the following possibilities.

Adjusting Weave Density

Now that you know how to pack those weaves in as densely as you wish, how might you dial it down to something in-between? Given some continuum moving between 0 (no weaves) and 1 (maximum weave density), what would a maze with a weave density of 0.5 look like?

Exploring Templates

The crossing pattern that we applied to the mazes in ...

Get Mazes for Programmers now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.