Actionscript Maze Generator

If you’ve been checking my blog regularly (yeah, right) you might have noticed that there have been no updates lately (yes i am really sorry).
But i am very grateful for my 100 visits a month, so i have to give you something.

Ok, just for the fuck of it, so you know i am not dead, i am presenting you my maze generator in Actionscript. I actually stole the idea from someone else. but i can’t remember his blog right now (too drunk). And, well, my implementation is way cooler anyway :P

Well, here it is (just a cut-out for design purposes):

But that is not all. In addition to the “random” generation the algorithm can also take a stencil image and use that to modify the result. Where brighter pixels will move the head horizontally and dark pixels will move it vertically. The result can be seen here:

Maze with stencil

There are also other stencils in the same folder, so if you want you can replace the number in the filename and look around.

Btw, this effect seems to work best on a PC screen. When you print out the image, the effect is hardly noticeable. At least in my tests ;)

Leave a Reply

You must be logged in to post a comment.