### 14.16. Maze

#### 14.16.1. Overview

Figure 17.374. An example of a rendered maze.

Filter applied

This filter generates a random black and white maze pattern. The result completely overwrites the previous contents of the active layer. A typical example is shown below. Can you find the route from the center to the edge?

#### 14.16.2. Activating the Filter

This filter is found in the main menu under Filters → Render → Pattern → Maze….

#### 14.16.3. Options

Figure 17.375. “Maze” filter options

Presets, “Input Type”, Clipping, Blending Options, Preview, Merge filter, Split view

  | Note
  These options are described in Section 2, “Common Features”.

Width, Height

  These sliders control the size of the paths and walls in the maze. The lower the values for width and height, the more paths you will get. The result won't really look like a maze unless the width and height are equal.

  By default, width and height are linked, indicated by the chain symbol next to the input boxes. If you want to set width and height separately, click on that chain symbol to unlink them.

Algorithm type

  You can choose between these two algorithms for maze: Depth first and Prim's algorithm. Only a computer scientist can tell the difference between them.

Tileable

  If you want to use it in a pattern, you can make the maze tileable by checking this check-button.

Random seed, New Seed

  This option controls the randomness of the filter. The Random seed box lets you manually enter a seed for the randomization algorithm used. You can also generate a random seed by pressing the New Seed button. If the same random seed is used in the same situation, the filter produces exactly the same results. A different random seed produces different results.

Foreground color, Background color

  You can choose colors for the maze and its background. Defaults are Toolbox colors.

14.15. Linear Sinusoid |  | 14.17. Sinus

Report a bug in GIMP Report a documentation error