| Maze Arrays
random Wang tile layouts
Use the pull-down menus to select a tileset, which will display as a random layout on stage. Selecting another tileset from the same menu will update the stage. The top blank menu entry removes all tiles.
Click 'Random' to create a new random layout.
Click 'Sprinkle' to continueously alter tiles. Sprinkle uses the Draw radio button values, which can be changed while sprinkling. Click 'Sprinkle' again to stop (and remove the button hi-lite).
Click 'Invert' to invert all tiles. Edge and corner '0' and '1' values are exchanged.
Click 'Clear' to clear the stage. Click again to cycle between 0 and 1 (2 order tilesets) or 1 and 2 (3 order tilesets).
Click 'Maze' to generate a 'perfect' maze, using the current 2-edge, 2-corner, Twin or Blob tileset. Tilesets in the upper part of the pull-down menu are best for mazes.
It may be easier to start drawing on a cleared stage.
To change the 'draw' value, select one of the radio buttons. Select '0' to remove paths or '1' (or '2') to add paths. Select 'inv' to invert paths. This swops '0' and '1' when using order 2 tilesets but swops '1' and '2' while leaving '0' unaffected with order 3 tilesets. This swops high and low ground levels and reverses the flow of directed paths.
To stop drawing, click a cell to leave 'edit' mode. The stage border will turn back to black and the edge or corner cursor will be removed.
Blob tilesets cannot be inverted. Use Clear to toggle 'all on' and 'all off'. When a cell is selected and deselected without moving, the cursor will toggle between edge and corner editing.
With Twin tilesets you need to move 2 cells horizontally or vertically to draw.
Block and Truchet tiles work in the same way, but drawing will cycle the tiles.
Use the 'label' pull-down menu to show cell information.
Use the 'stage' pull-down menu to select different stage sizes. Select 'window', to fill the browser window.