Advertise    Write for Us


How to Create a Vector Snake Using Mesh Tormentor in Adobe Illustrator

posted by: Iaroslav Lazunov, in Illustrator Tutorials / Illustration/ Comments: 44

Final Image Preview



In this Adobe Illustrator Tutorial we will learn how to create a vector snake using the Mesh Tormentor - Free Gradient Mesh plug-in, which will make your work with the gradient mesh simple and enjoyable. I was trying to describe the creation of a complex object in order to reveal more features of this wonderful plugin, but believe me, it can do much more than I managed to describe. The matter depends on your imagination.


You can download Mesh Tormentor (Free Gradient Mesh plug-in) for Illustrator CS6 here.

Tutorial Details

  • Program: Adobe Illustrator CS5, Mesh Tormentor;
  • Difficulty: Intermediate
  • Estimated Completion Time: 2 Hours

Step 1

Take the Pen Tool (P) and create a broken outline as it is shown in the figure below. This outline determines the shape of the snake body and can be arbitrary. 

Select the anchor points of the outline with the Direct Selection Tool (A) and convert them from corner into smooth ones. By controlling the handles of the anchor points, try to bring the outline to a perfect shape.

Step 2

For further work we need to know the length of the created outline. Select the outline, open the Document Info palette, select Objects in the palette menu and write down or memorize the length value.

Step 3

Take the Rectangle Tool (M) and draw a rectangle, so that its width was equal to the length of the outline that you created earlier.

Now begin to transform a rectangle into a shape resembling a snake, stretched horizontally. With the Pen Tool (P) put a new anchor point in the center of the right side of the rectangle and with the same tool remove its right corners. As a result we got a triangle shown in the figure below.

Step 4

Now add a new anchor point in the center of the left side of the triangle.

Direct Selection Tool (A) select left corners of the triangle and move them slightly to the right while holding down the Shift key.

Create a vertical guide and place it as shown below. Lock the guide in the Layers palette, take the Pen Tool (P) and create two new anchor points at the intersection of the figure with the guide.

Move the created points to the center of the shape, you can use the arrow keys.

Select all the points of the snake head and convert them from corner into smooth ones.

Step 5

Add two more points in the middle of the snake body, move them from the axis of the shape and convert into smooth ones.

Move the created shape into Brushes palette, choose the Art Brush and check the Stretch Between Guides option in the dialog box.

Of course, you can ask a reasonable question: why did we create the shape of the brush of a certain length, when anyway it will stretch along the path? Be patient, you will understand why I did it when it comes to the scale.

Step 6

Now the "try on" the brush to the outline created at the beginning of this tutorial. Select the path and click on the brush image in the Brushes palette.

Thus, our snake needs editing. We can adjust the shape of a snake, by changing the stroke width in the Stroke palette.

As well as moving the guides in the Art Brush dialog window. You can get the access to the parameters of the brush through the Appearance palette, or double-clicking on the image of the brush in the Brushes palette.

Watch the shape of the snake in the process of editing, when it gains an acceptable result, click on the OK button in the dialog box, Art Brush, then Apply to Stroke.

Write down all the brush settings, we will need them in step 10.

Step 7

Now, when it fits perfectly, apply the basic stroke to the outline, canceling the applied brush in the Appearance palette.

Copy this outline and paste it in front (Cmd / Ctrl + C; Cmd / Ctrl + F), locking the upper outline in the layers palette and make it invisible, it will be needed in further creation. Do not skip this step, it is very important!

Step 8

It's time to launch heavy metal. Further on we will be working with the Mesh Tormentor, it is a plugin for work with the Gradient Mesh. You can download and learn more about its features following these links.

Duplicate the created shape of the brush, drag it down holding down the Opt / Alt. Select the bottom of the shape and go to Object> Create Gradient Mesh .... Set the number of rows and columns in the dialog box and select the Appearance: To Center, to add dissimilarity to our image.

Step 9

Open the Mesh Tormentor palette, it will be available from the Windows menu after installing the plugin. Select the mesh object and click on Make BMG button. This operation transforms the mesh object into a set of simple vector objects with the same geometry as the original object.

Step 10

Now drag the created group of objects to the Brushes palette and save it as an Art Brush with the same parameters as the brush we created in step 6.

Apply a new brush to the contour of the snake, and set the same stroke width as in step 6.

Step 11

Keeping the snake selected, go to Object> Expand Appearance.

Now we have to do the opposite action - turn a set of objects into a mesh object. To do this, simply click on the Convert BMG into mesh button.

Step 12

As you can see, we got artifacts on the areas of mesh overlapping. This happens because the whole object lies in one plane. To achieve the desired result mesh object should be cut into pieces. Cut the mesh with the Split command from the Mesh Tormentor palette. It divides the mesh into two parts along the line passing through selected side node.

If the existing lines of the mesh are not in those areas, create new ones using the Gradient Mesh Tool (U) and divide the mesh along these lines.

Step 13

Now that mesh objects have achieved the right shape of a snake, we can proceed to light and shadow on the snake. Let's start with the head, coloring the nodes of the mesh with the shades of gray, as shown below.

Nodes coloring at the junctions of the mesh should not be unlike, otherwise the seams will be visible. Lock all the mesh objects in the layers palette except for the object being edited. Now select one node at a time at the junction with the help of the Direct Selection Tool (A) and with the Eyedropper Tool (I) color the nodes in the colors of the neighboring areas.

Step 14

In my case, the light source is located to left of the snake. Therefore, the inner parts of the snake which are closer to the light source must be painted in lighter shades than the remote objects. To create a more realistic light and shadow, you can create new grid lines, using the Gradient Mesh Tool (U) in this work.

Step 15

Get to the creation of the scale. Take the Polygon Tool and create a hexagon of any size and color. With the Selection Tool (V) and holding down Opt / Alt slightly increase its width.

Keep the scale selected, go to Effect> Stylize> Round Corners ... and set the radius of the rounding.

Now go to Object> Expand Appearance.

Step 16

With the Selection Tool (V) reduce the scale to the desired size, balancing its size with the size of the snake's head.

Select the cell and go to Effect> Transform & Distort> Transform, now setting the parameters of the scale displacement in the dialog window (I have not done any calculations, but simply moved the sliders of the horizontal and vertical displacement, watching the result).

Click OK in the dialog box, now apply the effect again (Effect> Transform & Distort> Transform), but with new parameters.

And the last time Effect> Transform & Distort> Transform, select the number of copies in the dialog box so that the length of the scale was approximately equal to the length of the brush shape (length of the snake outline).

Keeping the scale selected, go to Object> Expand Appearance.

Step 17

Keeping the scale selected, go to Object> Transform> Rotate ... and set the rotation angle of 90 degrees in the dialog box.

Fill the cells with red color, now create a set of horizontal rails, conventionally dividing the scale into equal parts, you do not need to be very accurate here.

Lock the guides in the Layers palette.

Step 18

With the Lasso Tool (Q) select the scales in the area of the horizontal guide, and replace the color of the fill with yellow.

Using the same tool select areas above and below the yellow scales and fill them with black.

Using this technique, recolor the pieces of the scale along its entire length.

Step 19

Select the shape of the brush and go to Object> Transform> Rotate ... and set the rotation angle of 90 degrees in the dialog box. Make sure to include this shape in the underlayer above the scale.

Select scale and shape of the brush and go to Object> Envelope Distort> Make with Top Object. As a result the scale got the shape of the brush.

Step 20

Keeping the shape selected, go to Object> Transform> Rotate ... and rotate it at -90 degrees in order to return it to horizontal view. Now drag the scale to the Brushes palette and save it as an Art Brush with the same parameters as in step 6.

Now unlock and make visible the contour of the snake that we saved in step 7. Select this path and apply the brush of scales.

If we applied the Art Brush, excluding the length of the path, we would have got stretched or compressed scales, which would not resemble the scales of snakes.

Step 21

Keeping the upper outline selected set the Multiply Blending Mode for it in the Transparency palette.

Step 22

In area of the snake body intersection we can see the scales overlapping each other. This defect must be fixed. Select the upper outline with scale and go to Object> Expand Appearance, now with the help of the Direction Tool (A) select the scales, which should not be visible, and delete them by pressing the Delete button.

Scales, which lie at the boundaries in the intersection of the snake body do not have to be removed. Select and group them up for convenience. Move the group of these scales in the layers palette so that it was located under the mesh object, which is supposed to lie above them.

After moving these scales set the Multiply Blending Mode for them again in the Transparency palette, as they were moved from the group that has these properties.

Step 23

Create glare on some scales. Select scales and fill them with linear gradient from the basic color to white one.

Step 24

Create snake eye. Take the Ellipse Tool (L) and create a circle. Fill the circle with radial gradient from black to black with 0% opacity. It will be a deepening of the eye in head of the snake.

Now create another circle – it will be the eye of the snake. Fill this circle with radial gradient from light brown to dark brown. Locate the center of the gradient according to the location of the light source will help of the Gradient Tool (G).

Create another circle filled with a solid light brown color - it's the glare of light in the eye of the snake.

Step 25

Create shadows under the snake, using the same technique when creating snake body, described in 9-12 steps with the help of Mesh Tormentor.


I hope you enjoyed this tutorial. I think I still write a few more tutorials revealing other functions of the Mesh Tormentor.

Final Image



You can also read my other Illustrator Tutorial: New Properties of the Art Brush in Illustrator CS5. There I created a vector snake using art brush.


Follow us if you want to be the first to know about the latest Adobe Illustrator tutorials and articles. Vectorboom team works for you!

Total comments: 24
0   Spam
1 Steve   (2011 Jun 24 14:23)
Excellent Tutorial based on a real life example covering the BMG options and Mesh split tool. I beginning to realise how powerful this plug-in is.

I absolutely adore the BMG options, very very powerful and a great time saver

Cannot wait for you to cover the other options of this plug-in smile

Again Many Thanks

0   Spam
2 johnnyinternets   (2011 Jun 26 04:53)
Excellent tutorial. Really good use of mesh tormentor. Shows what a powerful plug-in mesh tormentor is smile

0   Spam
3 rajasegar   (2011 Jun 26 23:36)
Great tutorial and techniques well explained!
Thanks for sharing...
Bookmarked & Featured in Tutorials of the Week!!

0   Spam
4 m savage   (2011 Jun 30 12:42)
seems like something is missing...
like how did the snake head change from step 21 to step 25?

0   Spam
5 jaroslav   (2011 Jun 30 12:50)
You can use Lasso Tool and recolor snake head in any way. biggrin

0   Spam
6 kay   (2011 Nov 03 21:03)
Great tutorial biggrin two thumb UP

0   Spam
7 MnM   (2011 Dec 06 21:53)
Can't convert expand object back to Gradient Mesh object in Step11. Somehow the Convert BMG into mesh button doesn't work. Any suggestion? Thanks in advance.

0   Spam
8 jaroslav   (2011 Dec 06 23:41)
1. Object > Expand Appearance
2. Convert BMG

0   Spam
9 MnM   (2011 Dec 23 03:07)
Thanks for your help. But I did Object > Expand Appearance before clicking the Convert BMG icon. My image is stopped at the point after Expand Appearance which looks like the first image of Step 11. I'm using about a year old iMac 10.6.8, Snow Leopard, and Illustrator CS5. sad
Thank you.

0   Spam
16 gowno   (2012 Nov 26 15:48)
I have the same problem Convert BMG after Expand Appearance doesnt work

0   Spam
17 jaroslav   (2012 Nov 26 15:52)
What version of plug-in do you use?

0   Spam
18 polina   (2012 Dec 19 01:20)
Hi Jaroslav,
Thank you very much for such comprehensive tutorial! But I'm experiencing the same problem on Step 11 -- "Convert BMG into mesh" just doesn't work (doesn't do anything, it even does not add itself to Undo), it looks like nothing happends at all when I click "Convert BMG into mesh" icon. I've tried both Windows and Mac versions of Illustrator CS6 and Windows version of CS5 with 0.38 and 0.39 versions of Mesh Tormentor plug-in -- nothing works. So I'm just stuck! Please, help me to finish this tutorial ASAP -- we wanted to publish the snake image on our website on December 20 with information about New Year 2013 events, but unable to finish the Illustrator snake project in time now, if we don't find solution to this plug-in problem. Thank you in advance!
Regards, Polina

EDIT: After installing version of the Mesh Tormentor plug-in and redoing everything starting from Step 8, everything worked! Thanks!!!

0   Spam
19 jaroslav   (2012 Dec 19 01:53)
Great! Thanks for the clarification.

0   Spam
20 polina   (2012 Dec 22 17:43)
Thank you for your tutorial! Now I have a beautiful snake! I have published it at my website

0   Spam
21 jaroslav   (2012 Dec 23 00:38)
It looks great. Thank you!

0   Spam
22 polina   (2012 Dec 25 16:53)
Please, update the link to Mesh Tormentor Plugin in this tutorial, because v0.38 did not work for us, only v0.39 did.

0   Spam
23 jaroslav   (2012 Dec 25 17:48)
Done. Thank you for your comments.

0   Spam
10 jaroslav   (2011 Dec 23 03:12)
You can send me you vector file.

0   Spam
11 MnM   (2011 Dec 24 18:25)
Thank you so much for your help! Now I'm going to Step 13 and will be finish this amazing tutorial soon. I also love your other tutorials including the Denim texture and Splash of Colorful Paint. The Mesh torment tutorial is also helpful.
Happy Holidays! happy

0   Spam
12 jaroslav   (2011 Dec 24 21:37)
Thanks, and to you

0   Spam
13 shorawardi   (2012 Apr 30 11:58)
nice tutorial

0   Spam
14 Nakul   (2012 Aug 24 04:37)
Very Nice Tutorial For Knowledge Person............................

0   Spam
15 jaroslav   (2012 Aug 24 04:42)
Thank you, dude!

0   Spam
24 Michal   (2013 Apr 04 14:59)
You can better use c4d or an other 3d program.

Only registered users can add comments.
[ Registration | Login ]
Subscribe Now!
RSS feed twitter
Recent Consultations
Free Infographic Template Kit
Create wavy dotted seamless pattern
How to Create Vector Grass Background in Adobe Illustrator
Interview with Nicholas van der Walle
Order script for Adobe Illustrator