Mazes

A long time ago I wrote a number of maze drawing applets in Java. As time passed browser support for Java applets kept changing and now these applets no longer work. I've started re-implementing some of them in javascript (no relation). The first of these is the simple square maze, below.

I've also writen an interactive multi-level maze, to which there are two links, see below.

A multi-level maze that is revealed as you wander around. To get to the exit you need to move up and down between the levels. I also experimented creating animated spells and including artifacts that you can pick up and drop.
This is a 3D version of the multi-level maze rendered using WebGL.

Draws a simple square maze with only one route through. There is also an animation option which will show the workings of some solution strategies.

The image on the left shows a rather simple 12×9 maze, the page will allow you to construct mazes up to 80×60. All the source code is accessible if you'd like to construct even larger ones.

Draws a simple maze based on the octagons and squares tessellation.

A first person walk through of the simple square maze, above.

A first person walk through using the octagonal maze defined above. This is more interesting as there are two different cell shapes and 8 possible orientations.

This is still work in progress.

Test Pages

Pages used to tune an verify the details used in the mazes above.

A test page to develop perspective drawing function on a 2D canvas.

Unit cells in the octagonal maze, there are 4, 2 because you may be standing in an octagon or a square and two because the squares may be at 45° or 90°. This page is used to verify that the Octagonal points mappings are correct.

Other pages

 

(c) John Whitehouse 2018