Want a free year on Tuts+ (worth $180)? Start an InMotion Hosting plan for $3.49/mo.
Flex your creative muscle with this cool tutorial on how to create a violin icon. We'll explore how basic shapes and a solid understanding of perspective and volume work together to quickly build a successful icon.
The basic shape of the violin is drawn using the Pen Tool (P). Pay special attention to ensuring that you curves are natural and pleasing.
Continue drawing the bottom half of the shape.
Only draw half the shape as we'll use the reflect tool to complete the other half. Using the reflect tool will allow us to make sure the shape is completely symmetrical. Select the violin shape then double click the Reflect Tool icon to bring up the dialog. Select vertical and click OK.
Now you'll have two halves that you'll combine using the Pathfinder. Select both shapes and click Unite.
Use the Pen Tool to draw the foundation of the "S" shape. If desired, you can also simply draw the top half of the "S" shape and reflect the bottom half so it's completely symmetrical too but I find it easier, in this case, to just draw the entire shape in one fell swoop.
Use the Ellipse Tool (L) and draw two circles, one at the top and the other at the bottom. Unite all three shapes using the Pathfinder.
Reflect the "S" shape and place them over the violin.
To give the illustration an angled look first group all your shapes (violin and "S" shapes) then go to Effect > 3D > Rotate.
Enter the variables shown below, X: 23, Y: -27 and Z: 32.
Go to Object > Expand Appearance. To further edit the shape you'll need to remove the box around it. Accomplish this by using the Direct Selection Tool (A). Select each of the points highlighted in yellow and delete them.
Next, go to Object > Flatten Transparency. Move the Raster/Vector Balance slider all the way to the right then click OK.
Last, ungroup your object so the "S" shape and violin shape are separate again. Go to Object > Ungroup.
Give the violin depth by duplicating the face of the violin and placing it below all the other shapes. Ensure that you keep the top and bottom of the violin centered (as indicated by the blue lines on the sides.)
Use the Pen Tool to draw the sides of the violin. Draw each section one at a time.
Note: when you draw shapes that overlap each other or that are very close to the edge of another object, it's sometimes difficult to not interfere with the existing line-work. In this case, I find it more helpful to lock all the objects by going to Object > Lock, then I draw my new shapes.
Below, each side section of the violin has been drawn.
The blue guides help determine if your angles and vertical items are in fact correctly drawn. There is a level of artistic ability that comes into play in order to visually (as opposed to technically) place the elements. The center bridge is completely vertical while the fingerboard (neck) is at the same angle as the violin. You can use the 3D Rotate dialog, as we did for the basic violin shape, however, once you can envision what the correct angle and placement of the elements should be, it's easy to draw the items in by hand. All the gray elements shown below were drawn and placed by hand.
Drawing by hand is especially important when objects have an angle as well as depth. The fingerboard of the violin can easily be positioned using the 3D Rotate dialog but the tailpiece (bottom stem) has depth to it that can't easily be reproduced by simply rotating a flat object. So, get familiar with envisioning how the elements should look when on an angle and you'll be able to quickly draw most any element!
Here is what the violin looks like without any guides.
Duplicate the fingerboard to give it some depth as well.
Draw the sides of the fingerboard as was done for the violin.
The tuning pegs (knobs at the top) also follow the same angle as the rest of the objects.
Draw an ellipse to create the tip.
Rotate the ellipse to give it the proper angle.
Having a strong ability to envision the shape in 3D is key to adding the other elements. Illustrator has limited 3D capabilities but if you combine a basic knowledge of perspective and Illustrator's Pen Tool, you'll be able to create exactly the look you need. Think of the angled guide as piercing the scroll (large curvy gray shape) in the center. The green ellipse sits at the center of the scroll.
Draw another ellipse that give the edge of the tuning peg a rounded shape. Unite the ellipse and the tuning peg using the Pathfinder.
Adding shading is essential to the overall appearance of the object. Give the face of the violin a radial gradient (G). Adjusting the highlighted area will allow you to narrow the gradient from a circle into move of an oval. Since the violin is long and not square, an oval works better for the overall shading.
Give the scroll a radial gradient of its own. Notice that the left bottom edge is much darker as it should be in shadow.
Give the sides either a linear or radial gradient depending upon the effect you're after.
To create the side of the scroll first draw a perfect circle, give it a radial gradient then condense and rotate the circle into an oval shape. Completing this step in the order described above will make it easy for you to achieve a perfect gradation around the entire perimeter of the oval.
Create the various center rings of the side of the scroll by copying and pasting the ovals in place. To paste in place press Command+F. After you paste the oval in place simply scale them smaller from their center point by holding option+shift while you scale the oval smaller.
Give the pegs a linear gradient so they look voluminous. To create the depth around the oval area of the peg, place another smaller ellipse on top of the oval and give it a white to transparent gradient fill.
Give the "S" shape an outer glow by going to Effect > Stylize > Outer Glow. Pick a color slightly lighter than all the other brown colors in the illustration. Enter an Opacity and Blur that look good to you then click OK.
Give the chin rest an inner glow by going to Effect > Stylize > Inner Glow. This time select Multiply for the Mode and use black for the color.
Give each of the brown shapes that comprise the violin an inner glow too. Use a darker brown color for their inner glows as the basic color of the violin is brown.
To create a uniform and slightly smaller shape on each side of the violin select the first shape and go to Object > Path > Offset Path. Depending upon the scale and size of your illustration will determine what values you should enter. Use a negative value and adjust the Offset to your liking.
This is a close-up of what the resulting effect of offsetting each side of the violin looks like.
Next we'll draw the strings by using the Pen Tool and drawing a line from the top to just above the bridge and the 3rd point just above the tailpiece.
With the line selected, go to Object > Expand, then click OK. Using the Direct Selection Tool select the points at the end of the line and drag them close together to create a tapered line. Do this to both ends of the string.
Draw three other strings and give each string a gray stroke.
Give all the rings a linear gradient so they give the illusion of being reflective.
Creating shadows for the various elements on the violin can be done using the following technique. First draw (or duplicate) the basic shape that the shadow should occupy. Set the shape to Multiply in the Transparency palette and give it a black to white gradient.
Note: While this particular shadow won't need to, using a black to white gradient will ensure that your shadow can fade all the way out to 0 if necessary.
Select the shadow shape and go to Effect > Blur > Gaussian Blur. Enter a value that looks good to you and click OK.
Give all the other voluminous elements a drop shadow using the same technique.
To create the main reflection on the violin first copy and paste the face of the violin. Using the Pen Tool, draw an arbitrary shape over the top.
Select both shapes and in the Pathfinder click Divide. Ungroup the object until you can no longer ungroup them (generally four times.) Below, I've deleted shapes around the edges so you have a better idea of the result you're after. The only shapes you need are the red shapes shown below. Remove those shapes and place them over the violin.
Give the shapes a white to transparent gradient to create a stunning reflection! Use the same process to give any other areas of the violin reflections if you so choose. Don't go overboard with the reflections though. Usually one or two is enough.
Draw a square using the Rectangle Tool (M) and give it a blue radial gradient.
Apply rounded corners by going to Effect > Stylize > Round Corners.
The music notes are made of basic shapes.
Combine the shapes by clicking unite in the Pathfinder.
Give the music notes varying degrees of rotation and shading to create a sense of movement. When placing the music notes add them in clusters as opposed to sporadically, this will give the overall illustration a more balanced look.
Final Image Preview
That's it! Your icon illustration is complete! You've just learned how to create a cool vector violin.