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.

The plan here is to implement a first person walk-through of a collection of galleries that will exhibit the patterns and artwork shown elsewhere on the site. So far I have only implemented one type of gallery, this shows patterns generated by taking a motif based on triangles and then replicating it through a series of transformations. Over time I will add more galleries and hopefully some outside attractions. Currently the outside area is rather empty, but I have some prototype ideas shown on the octagonal maze walk-through page.

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