A Square Foundation
Let’s start off by creating a new document that’s 1024×768. Name this first layer “Maze.” Then, take the Rectangle tool and draw a 50×50 square. Give this square a 10px black outline and no fill. Then align it to the center of the canvas. Repeat this process, only this time make the square 700×700.

Now we’re going to blend these two squares together. Select the two of them and then type Ctrl+Alt+B (or go to Edit > Object > Blend > Make on your menu bar.)

Now you should have what looks like three squares. We want a few more than this, though. So it’s time to go into the Blend Options and make a few changes.

After that’s done, you should have a series of squares that look like this on your canvas.

We can’t do anything with these squares until we separate them into their individual shapes. So go to Object > Expand and make sure all the checkboxes for “Object,” “Fill,” and “Stroke” are selected before you hit the “OK” button. Now the squares are separate items. However, they are still grouped. So type Shift+Ctrl+G to ungroup the lot of them. Now you can select each square individually.
A Proper Maze Has a Lot of Twists, Turns, and Dead Ends
A maze is not a number of squares within each other from largest to smallest. A maze is a puzzle where the solution is a winding path amid many twists, turns, and dead ends leads from the outer entrance to the center. So now it’s time to turn this pattern of squares into a true labyrinth.
Take the pencil tool (Shortcut: “N”), change the stroke color to red, and make the stroke width at least 3pts. Then create a new layer above the squares, named “Solution”. Take the pencil and draw a possible solution to the maze through the squares on this layer. It should start in the center and end somewhere outside the outermost square.

The drawn line does not have to be perfect. Nor does it have to cover the entire square. It can be as simple or complex as you want it, so long as it’s not a straight line from start to finish. After you’ve finished drawing your path for the maze, double click on the “Solution” layer and select the “Template” option. Now we can go back to the “Maze” layer.
We’re going to use two tools to edit the squares on the “Maze” layer. The first tool is the “Add Anchor Point Pen Tool” (shortcut: “+”). The second is the “Line Tool” (shortcut: “/”). Starting with the smallest, innermost box, take the “Add Anchor Point Pen Tool” and add two anchor points on either side of the solution line that crosses through it.

After those two points are added, add one more point between those two. Immediately after that, press the “Delete” key to remove that third point. Now you should be left with a single opening in the center square.


Now take your “Line” tool and draw a line from one side of the small square to the side of the larger square just outside it. Press and hold the “Shift” key while you draw this line to keep it perpendicular to the wall you’re drawing from. This creates your first “dead end” in the maze.

Now it’s just a matter of opening up doorways where the red lines cross the black boxes, and creating walls for dead ends. Don’t forget to create more doorways and walls to create a more complex maze. When you’re done you ought to have something that looks like this:

When your maze is done, select all the black lines on the page. Go up to the “Object” drop-down menu and “Expand” everything. Once everything is expanded, open up the “Pathfinder” tab (shortcut: Shift+Ctrl+F9). Under the “Shape Modes”, press and hold the Alt key while selecting the “Add to Shape Area” button. Any lines that intersected another become a solid shape. Anything not intersecting will be grouped together automatically.


When your maze is fully developed, then you can go ahead and delete or hide the “Solution” layer. It won’t be needed again. Now what you’re left with is the grouped shape on the Maze layer.

Turning the 2D to 3D
Now it’s time to turn this flat maze into a three-dimensional labyrinth. Select the grouped maze image and change the color to gray (#7F7F7F). Then go to Effects >Extrude & Bevel…

When the pop-up menu opens up with all the options, change the settings to what you see below:

If you click on “Ok”, your 3D maze should now look like this:

Adding a Little Flair
For this maze, I want to make it so that the bottoms of the walls blend into the background. In order to do this, we are going to map the labyrinth walls with a simple gradient symbol. On the same Maze layer, create a 100×100 square. Fill it with a gray-to-white gradient (#7F7F7F to #FFFFFF).

With this square still selected, turn it into a graphic symbol by pressing F8. Name it “Wall”.
Now reselect your maze and open up your “Appearance” tab. Double-click the FX layer named “3D Extrude & Bevel”. When the options pop-up has opened up, select the “Map Art” button.
Press the “Next Surface” button on the Map Art options screen until you reach a simple rectangular shape. Whenever you get to a plain rectangle shape go to the Symbols drop down and select your “Wall” symbol. Make sure to press the “Scale to Fit” button.
Note: Although the gradient is mapped to the wall so that the gradient runs white-to-gray from top-to-bottom, when it appears on the actual 3D object, it will be reversed so that it’s gray-to-white.

Keep going through each image and map each visible wall, which are usually shaded in a very light gray. Walls that are not visible will usually be shaded in dark gray and do not need to be mapped. I say “usually” because sometimes Illustrator’s 3D Extrude and Bevel function acts a little buggy with complex shapes like this. Sometimes walls that are visible on the canvas show up as “not visible” in the Map Art pop-up. If you keep the “Preview” box checked, you can see which walls you are mapping on the 3D labyrinth itself as you go. When you’re done mapping all the visible walls, this is how the labyrinth should look:

Finishing Touches
Now we have the fully built 3D Labyrinth. However, let’s add some color. We want to make all the gray portions blue. This is easy enough to fix, and we won’t have to go into any shapes or symbols to do it. First select the maze and then go to Edit > Edit Colors > Recolor Artwork from your menubar.

If you followed the tutorial to the letter, you should only have two colors available to edit in the Live Color pop-up: white and gray. In the “New” color box beside the gray color, change that swatch of gray to blue. Then press OK. Everything that had that gray color, including the gradient in the “Wall” symbol, will now be changed.

The color is now what we want it. However, I want to see more white in the gradient of the walls. All you need to do to change how the walls look is to open up the “Wall” symbol and change the gradient there. If the symbol is deleted, then it can be found again in the Symbol tab (Shift+Ctrl+F11). Double-click the symbol to open it up for editing. Change the midpoint of the gradient from 50% to 75%.

When you’re done with the color and gradient changes, your maze should look like this:

Finally, it’s time to export the final image. Take a moment to center the labyrinth in the middle of the canvas. Then go to File > Export and export the image into the file-type and resolution of your choice. For this example, I chose a JPEG. When you look upon the final exported image, you’ll notice that the image has no jagged edges around the perimeter of the maze. The white portions of the walls blend smoothly into the background. You now have what looks like a labyrinth sitting in the middle of a fog.

In Conclusion
Now that you know how to create this 3D labyrinth, feel free to experiment with any number of shape and color combinations. Variations of this theme can be created using different foundations shapes (circles, hexagons, hearts, etc) and by varying the number of shapes used as well as the thickness of their outlines. If you wish to make the maze large enough so that it fills the entire canvas, I suggest either making the size change before you start mapping the walls (as the symbols do not deform well once they are in place) or exporting the image far larger than your intended image dimensions, and then cropping the image down to the size and view you want.

I hope you enjoyed this tutorial and that it proves useful in a future artistic endeavor.
Go Media is a creative agency based in Cleveland, Ohio. Besides the GoMediaZine, we also work for clients and sell stock artwork and design files on the Arsenal.










October 7th, 2009 at 1:32 pm -
A very nice tutorial. Not only does it a great job on the subject, but what you learn can be used in many other projects. Thanks.
October 7th, 2009 at 2:25 pm -
Man! That's a crazy tut, liking it alot
October 7th, 2009 at 2:49 pm -
Very cool!
October 7th, 2009 at 3:57 pm -
Cool effect. The only thing I would suggest is using the scissor tool instead of adding and subtracting all of those points…it'd be much more efficient.
October 7th, 2009 at 5:19 pm -
I love how this tutorial starts with a completely blank canvas & ends with a great final product. Nice job!
October 7th, 2009 at 8:29 pm -
nice, clean and straight to the point ;-)
October 8th, 2009 at 2:42 am -
I don't really know if I'll ever need a 3d maze illustration, but I just figured I didn't know the Map Art function! thx a lot for that, will make a lot of things massively easier!
October 8th, 2009 at 4:05 am -
Excellent post, something like this would seem complicated to make, but this post has really simplified the process, really appreciate this, these techniques would really be great for future projects. Christina Rivera you have any more posts that can be posted on this blog?
October 8th, 2009 at 10:32 am -
Thanks for all the awesome feedback, guys. I'm especially glad to hear that I was able to introduce you to some functions of Illustrator that you might not have known about, such as the one where you can “Map Art” on 3D Extrudes/Bevels. That's something I want to make sure I do in these tutorials that I write. I want to make it a point to illustrate different, lesser known functions of these programs and show how useful they can be.
And don't worry guys, I've definitely got more posts in the works for GoMediaZine.
October 8th, 2009 at 11:49 am -
Great tutorial! It is such a cool effect!
October 8th, 2009 at 12:47 pm -
I can never get the Scissor tool to work correctly, so I am glad to learn this technique of adding and deleting points. It may be less efficient, as Clint says, but if it works for me while the Scissors do not, then it is indeed more efficient.
My daughters and I love labyrinths! We seek out the ones built at churches, usually. The pattern in this tutorial is a maze, not a true labyrinth, but very cool. I can't wait for some free time to apply this technique to a labyrinth base.
Thanks for writing this tutorial! I look forward to the ones you write in the future.
October 8th, 2009 at 1:29 pm -
Great tut Christina!
October 8th, 2009 at 1:45 pm -
pretty neat. Could have set your paths in illustrator and taken them into a 3D app. Might be a little less cpu intensive with a little more options.
October 8th, 2009 at 2:29 pm -
@Haley Saner:
True, true. If one had the option of using a 3D app, that would certainly be easier. However, this tutorial was aimed at those who either don't have access to (or aren't comfortable using) a 3D program, but still want to add some 3D elements to their work.
October 8th, 2009 at 6:44 pm -
seriously
your tuts are just great
some of them we know the general techniques, but you put them back on the dial in a fun, straightforward and effective way
thanks
October 8th, 2009 at 7:03 pm -
this is a maze not a labyrinth…..VERY DIFFERENT. VERY DIFFERENT MEANINGS..one is meant to confuse and disorientate while the other is strictly for spirtiutal purposes. geeeze people…get it right
October 9th, 2009 at 1:56 am -
I played this game a lot in my childhood days and had really fun playing it. Thanks for sharing with us.
October 13th, 2009 at 1:38 pm -
Great tutorial, many thanks! This will be helpful in the future :)
October 14th, 2009 at 8:00 am -
gr8 tutrial Christina, to me its the opportunity to learn things i didn't know about and big thank u for sharing that! Please teach me something about Flash and After Effects because already what I'm learning it works hand in hand with illustrator.
October 31st, 2009 at 4:37 am -
Awesome tutorial post. Very easy to learn and well defined. Thanks for sharing this nice post.
November 3rd, 2009 at 1:19 pm -
I really can't add any more that what's already been said. Great tutorial and thank you.
November 17th, 2009 at 5:21 am -
TAHNK YOU. that to google and to you I have one hell of a maze!
December 18th, 2009 at 1:22 pm -
Great Tutorial! Thanks!
December 29th, 2009 at 2:02 pm -
Thanks for the great tutprial, it has taught me some very interesting techniques. By the way, by taking the finished picture into Photoshop and clicking Ctrl+I (or Cmd+I for Mac usesrs), it gives off a very nice effect, with a black background. Definitely worth trying.
April 20th, 2010 at 3:30 pm -
Hello everyone.. this is a real good tut as far as i could get.
after mapping object 160 mi illustrator crash down so i was not able to finish it.
i have 4 GB RAM on my “i Mac” with a dual processor i thought this amount of memory was enough when i bought it.
is there any chance to improve my illustrator developing with this??
i really apreciatte any suggestion.
anyway thanks from spain and congratulations for this great site.
Will
May 5th, 2010 at 3:52 am -
A very nice tutorial. Not only does it a great job on the subject, but what you learn can be used in many other projects. Thanks.
dizi izle
May 5th, 2010 at 3:59 am -
A very nice tutorial. Not only does it a great job on the subject, but what you learn can be used in many other projects. Thanks.
dizi izle
May 5th, 2010 at 4:01 am -
Thanks for this nice work!
dizi izle
June 2nd, 2010 at 8:40 pm -
Here elaborates the matter not only extensively but also detailly .I support the write's
unique point.It is useful and benefit to your daily life.You can go those Wisdominthemind.com Elegance-is-Edgy-Dress.com
sits to know more relate things.They are strongly recommended by friends.Personally
August 6th, 2010 at 11:10 am -
very nice and great