Jasmina Stanojevic March 11th, 2011

Anyone Up for a Cup of Coffee?

Following along this tutorial you’ll be learning how to use the Pathfinder Panel in Illustrator CS5 with its very useful features. Combining various forms with the Pathfinder tools, we can create nice shapes. Applying the gradients and colors to those shapes, we can achieve great results by creating a nice depth and perspective. Highlights and shadows are very helpful as well and make the artwork look very realistic. [fblike] Don’t forget to use the techniques wisely. Using this simple one you can create a nice artwork of a cup that can be used in a variety of ways, such as an icon in the Web design field or even for coffee shop menus. Now, let’s get down to business! This is how the end result should look like: Screenshot

Creating a Cup Shape

First, we will create all the elements needed for the cup and after that we can continue with applying gradients and solid colors. Set the document size to 500x500 pixels: Screenshot Select the Ellipse Tool (L) from the Tool panel and create a circle: Screenshot Grab the Direct Selection Tool code>(A), select the upper anchor point of the circle and remove it by hitting the Delete key on the keyboard. This way we’ll remove the upper part of the circle: Screenshot Grab the Pen Tool (P) from a Tool Panel and click on the endpoints of the shape from the previous step. That way we'll close the path: Screenshot Take the Ellipse Tool (L) from the Tool Panel and create the ellipse as it shown in the picture below. Make sure that endpoints match. You can adjust the position of endpoints by using the Direct Selection Tool (A): Screenshot Screenshot Now use the Pen Tool (P) and draw the handle for the cup. Set the Stroke to 14: Screenshot We have to make the bottom of the cup more flat if we don't want to spill the coffee. Just grab the Pen Tool (P) and draw a path as it shown in the picture below: Screenshot Select the green part of the cup and the path from the previous step and hit the Divide button under the Pathfinder Panel: Screenshot Ungroup (Shift+Ctrl+G) the green shape, select the smaller part and hit the Delete key on the keyboard:

Applying Gradients

Time to apply some colors and gradients. Since our cup is white, we will apply mostly white-gray gradients. Darker parts will simulate the shadows. For the cup we will be using radial white-gray gradient. According to the imaginary source of the light above the cup (upper left side) so the left side of the cup should be lighter. Screenshot Let's create the edge of the cup. Select the pink ellipse and under the Object choose the Path > Offset Path. Set the Offset to -2: Screenshot Now we have two ellipses. Set the Fill color for the larger ellipse to white ( #FFFFF ): Screenshot The smaller ellipse represents the inner part of the cup. Since the imaginary source of the light is on the upper left side, that side of the interior will be darker: Screenshot Let's edit the handle a little bit. In that order we need to expand the path first. Select the handle and under the Object option, choose Expand: Screenshot Make sure that the handle is not too big or too small for the cup. You can add some details. Take a look at your cup at home and try to copy the look of the handle. Grab the Ellipse Tool (L) from the Tool Panel and create two ellipses as such: Screenshot Holding the Shift key on the keyboard, select the handle as well. Under the Pathfinder Panel hit the Unite option: Screenshot Now we have to adjust the anchor points a little bit to make a smooth shape of the handle: Screenshot The handle should be within the shadow because it is on the right side of the cup (source of the light is the left side, and the handle is on the right side). Let’s apply a darker gradient and later we can add some reflections as well: Screenshot

Creating Details

Let’s create two fancy golden lines! The first step would be to select the larger ellipse and duplicate it (Ctrl+C, Ctrl+F). Holding the Shift key on the keyboard, move the copy downwards. Now we need to remove the upper anchor point. Grab the Direct Selection Tool (A) from the Tool Panel to do that. Just click on the anchor point and hit the Delete key on the keyboard. Remove the Fill color and set the Stroke color to green: Screenshot Set the Stroke to 4 and under the Object hit Expand: Screenshot Now we have to duplicate the shape of the cup. Hit the Ctrl+C and Ctrl+F (for copy and paste-in-front). Select the copy we've just made and the line and under the Pathfinder Panel choose Intersect: Screenshot Apply the golden linear gradient: Screenshot Repeat the previous step to create another, thinner line: Screenshot Duplicate (Ctrl+C, Ctrl+F) the shape of the cup twice. Move to the right side of one of the copies and select both copies. Choose the Intersect option under the Pathfinder Panel: Screenshot Now duplicate the new shape we've just created and move it to the right side, scale it up a little bit and rotate it. Select both shapes and under the Pathfinder Panel hit the Minus Front button: Screenshot Feel free to change the position and the angle of the new shape. Play around until you achieve the right look. Set the Fill color to white and lower the opacity to 40%: Screenshot Grab the Pen Tool (P) and draw the path. Set the Stroke to 3: Screenshot Under the Object hit Expand: Screenshot Select both, expanded path and the reflection and under the Pathfinder Panel hit the Minus Front button: Screenshot Using the same technique create few more highlights and shadows: Screenshot Now we can add a shadow and a highlight on the handle of the cup. Grab the Ellipse Tool (L) and create the ellipse as it shown on the picture below: Screenshot Duplicate the handle of the cup (Ctrl+C, Ctrl+F) and by holding the Shift key on the keyboard, select the ellipse and the copy we've just created. Hit the Intersect button under the Pathfinder Panel. Set the Fill color to #C2C2C2: Screenshot Creating a highlight is pretty much the same. Duplicate (Ctrl+C, Ctrl+F) the handle twice. Move around one of the copies, scale it up or down, rotate; try out several things until you are happy with the result. Select both copies and under the Pathfinder Panel hit the Minus Front button. Set the Fill color to white (#FFFFF): Screenshot

Creating a Saucer

For the saucer we’ll need the ellipse. We can’t create a new one because we need to stick to the same exact perspective we’ve created for the cup. Fror that reason, we will duplicate one of the ellipses we created earlier. Holding the Alt key on the keyboard, click on the larger ellipse and drag it downwards (don’t forget to hold the Shift key for straight drawing): Screenshot Under Object select Arrange > Send Back: Screenshot Scale up the ellipse for our saucer a little bit and duplicate it (Ctrl+C, Ctrl+F). Grab the lower middle point of the selection box and drag it downwards (non-uniform scaling up). Now we have to move the ellipse upwards to make the side points to match: Screenshot Next, duplicate the old ellipse (Ctrl+C, Ctrl+F). Select that copy and the new ellipse and under the Pathfinder Panel hit the Minus Front button. Ungroup (Shift+Ctrl+G) the new shape and erase the upper part. You should end up with something like this: Screenshot The next step would be to apply gradients and colors to our saucer. After that we can add more details. For the lower part of the saucer we will use a radial gradient: Screenshot To the upper part of the saucer we will apply the linear gradient: Screenshot Now we need a white edge for the saucer. Duplicate the ellipse (Ctrl+C, Ctrl+F) twice and nudge one of the copies to the left side for 2 pixels. Select both copies and under the Pathfinder Panel hit the Minus Front button: Screenshot Set the Fill color of the new shape to white: Screenshot Do the same for the other side. Create two copies, nudge one of them for 2 pixels to the right side and create a nice white edge by using a Minus Front button under the Pathfinder Panel: Screenshot Duplicate (Ctrl+C, Ctrl+F) the big ellipse and scale it down. Set the Fill color to #EDEDED. That is the spot where we actually place the cup — the middle point of the saucer: Screenshot Duplicate twice the big ellipse (Ctrl+C, Ctrl+F) and nudge one of the copies downwards: Screenshot Select both copies and under the Pathfinder Panel hit the Minus Front button. Set the Fill color to #EDEDED. This way we've created the inner shadow on the saucer: Screenshot We need a small ellipse to put under the cup to simulate a tiny shadow from the cup. Set the Fill color to #C6C6C6: Screenshot Duplicate the middle ellipse twice (Ctrl+C, Ctrl+F). Nudge one of the copies 2 pixel downwards. Select both copies and under the Pathfinder Panel hit the Minus Front button. Set the Fill color to #C6C6C6. This way we've created the inner edge of the middle part of the saucer: Screenshot Grab the Pen Tool (P) from the Tool Panel and draw the shape as it shown on the picture below. Set the Fill color to #C6C6C6 and lower the opacity to 46%: Screenshot Take again the Pen Tool (P) and draw the path as you see on the picture below. Screenshot Set the Stroke to 4 and under Object select Expand: Screenshot Duplicate the big ellipse (Ctrl+C, Ctrl+F). Select the copy and the curve we've just made and hit the Intersect button under the Pathfinder Panel: Screenshot Apply the linear golden gradient to the curve. Use the same golden linear gradient we used previously for the golden lines on the cup: Screenshot Using the same technique create a thinner line: Screenshot For the end we'll create one more reflection (but if you like you can create more than just one). Duplicate (Ctrl+C, Ctrl+F) the largest ellipse of the saucer, scale it down and place it more to the right side: Screenshot Holding the Alt key on the keyboard click on the green shape and move it to the left side. This way you'll create a copy of the green shape and change the position of it at the same time: Screenshot Select both ellipses and hit the Minus Front button under the Pathfinder Panel. Grab a Pen Tool (P) from the Tool Panel and draw the small curved path. Expand the path under Object > Expand. Select both, expanded path and the green shape we've just created and hit the Minus Front under the Pathfinder Panel: Screenshot Set the Fill color to white. Adjust the position, size and the angle of the reflection we've just made: Screenshot The last thing is to add the shadow under the saucer. Grab the Ellipse Tool (L) from the Tool Panel and create the ellipse. Under the Object select Arrange > Send Back. Set the Fill color to #C6C6C6: Screenshot And Voila! Our cup is ready: Screenshot

Final Note

Just keep one thing in mind. Perspective is very important. You have to try your best to stick to it during the entire creation process. You can always add more details to the cup as much as you like. It also helps if you look at the object simultaneously while you are creating it. Feel free to experiment and try out different things. You can easily create interesting shapes and forms using the Pathfinder Panel with all its features. I hope you liked this tutorial. If you have any questions or comments, feel free to post them in the comments section below. What kind of Adobe tutorials would you prefer to see here on Noupe?customer surveys (ik)

Jasmina Stanojevic

I am a self taught vector illustrator from Serbia. Working as a freelance designer for five years now. My biggest passion is in vector illustrations and motion graphic design. In my spare time I like to read comic books and to play Call of Duty 2. You can check out my portfolio at http://muschmule.daportfolio.com/ and follow me on Twitter @muschmule.

10 comments

    1. Hi nik,

      Coffee can be made by using a technique described in this tutorial. It is a very simple thing to do. I left that out so people can try to create the coffee by themselves :-)

  1. This tutorial is great. I have not seen one as good and so hard to achieve like this one. But the result is superb. Thanks a lot.

Leave a Reply

Your email address will not be published. Required fields are marked *