Create a 3D Vector Labyrinth

Oct 07

Illustrator

3d-vector-labyrinth-header

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.

Img-01

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.)

Img-02

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.

Img-03

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

Img-04

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.

Img-05

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.

Img-06

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.

Img-07

Img-08

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.

Img-09

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:

Img-10

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.

Img-12

Img-11

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.

Img-13

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…

Img-14

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

Img-15

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

Img-16

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).

Img-17

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.

Img-18

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:

Img-19

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.

Img-20

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.

Img-21

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%.

Img-23

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

Img-22

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.

Vector-Labyrinth_small

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.

Vector-Labyrinth_zoom

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.

3D, Adobe, illustration, Illustrator, labyrinth, maze, tutorial, vector

This post was written by:

Christina Rivera - who has written 2 posts on GoMediaZine.

Christina Rivera is the senior production artist for Access Lane, a company specialized in the creation of custom themes, graphics, and apps for handheld mobile devices. She's had over ten years of experience with programs such as Photoshop, Illustrator, and the fractal generation program Apophysis. Please visit her gallery at DeviantArt to see more examples of her works.

Contact the author

If you enjoyed this post, show your support.
We appreciate it!
Bookmark It! Stumble It! Float It!

30 Comments For This Post

  1. sigurarm Says:

    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.

  2. Dod McKnight Says:

    Man! That's a crazy tut, liking it alot

  3. Tom Faraci Says:

    Very cool!

  4. Clint Says:

    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.

  5. Adam_Wagner Says:

    I love how this tutorial starts with a completely blank canvas & ends with a great final product. Nice job!

  6. Simon H. Says:

    nice, clean and straight to the point ;-)

  7. Askhari Says:

    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!

  8. Vim82 Says:

    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?

  9. Christina Rivera Says:

    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.

  10. Live Chat Says:

    Great tutorial! It is such a cool effect!

  11. jeffster83 Says:

    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.

  12. George Coghill Says:

    Great tut Christina!

  13. Haley Saner Says:

    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.

  14. Christina Rivera Says:

    @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.

  15. Alby Says:

    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

  16. MC3 Says:

    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

  17. Size 14 shoes Says:

    I played this game a lot in my childhood days and had really fun playing it. Thanks for sharing with us.

  18. Scarlett Says:

    Great tutorial, many thanks! This will be helpful in the future :)

  19. tsietsi Says:

    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.

  20. clippingimages Says:

    Awesome tutorial post. Very easy to learn and well defined. Thanks for sharing this nice post.

  21. danohh Says:

    I really can't add any more that what's already been said. Great tutorial and thank you.

  22. oleg Says:

    TAHNK YOU. that to google and to you I have one hell of a maze!

  23. Jason Says:

    Great Tutorial! Thanks!

  24. LoneWolf Says:

    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.

  25. guillevadela Says:

    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

  26. very Says:

    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

  27. very Says:

    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

  28. Matt Says:

    Thanks for this nice work!
    dizi izle

  29. Vince Carter Shoes Says:

    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

  30. Inof Says:

    very nice and great

Leave a Reply

Do you have a Gravatar yet? It's that cool icon next to your name. Stop looking like everyone else and upload your own Gravatar for free. If you do, you'll see it by every comment you post on the GOMEDIAZINE and every other blog that supports Gravatars!

blog comments powered by Disqus