How To Use The Pen Tool In Illustrator Tutorial: Part 1/3

This post first appeared on www.vickiwenderlich.com.

Program: Adobe Illustrator CS4
Skill Level: Beginner

The Pen tool is one of the best features of Illustrator. It lets you create pretty much any shape you can imagine, in resizable vector form.

Using the Pen tool may not be intuitive to many people, but mastering it is well worth your time. This tutorial helps you learn while making something fun!

You may be totally new to Illustrator and/or the Pen tool, but after this three-part tutorial you will know no fear! And you will have this adorable mug of kitten to keep!

Mug-O-Kitten
You know you want one!

Part 1: Making the Background

Create a New Document

Create New Document in Illustrator
Make a document with the settings shown here

Create a new document with the following attributes: one artboard, sized 500×500 pixels.

Give it a name now, like “Mug O Cuteness”. Hit OK.

Collect Your Colors
Go to the Color panel, and create a swatch with the RGB values shown in the first color below.

Click the arrow in the upper right and choose “Create Swatch” to save it to the Swatches panel. You can also simply click the color in the Color panel and drag it to the Swatches panel to save it.

Do the same for each of the six colors.

Swatch Collection for Tutorial
Create swatches for these six colors

Make The Background

Creating a rectangle in Illustrator
Drag out a rectangle

Click the darker blue swatch in the Swatches panel.

Press M to select the Rectangle tool, and drag out a rectangle that overlaps the borders of your artboard.

Press V to switch to the Selection tool, and click somewhere outside of the rectangle.

This deselects the rectangle so that we can change colors for our next object.

Click the lighter blue swatch.

Select The Pen Tool

Pen icon in Illustrator
The Pen icon

Type P to use the pen tool (or click the icon shown to the left, found in the Toolbox).

Click To Make Anchor Points

Creating anchor points in Illustrator
Create the straight lines by clicking to create anchor points

Click towards the left of the screen. This creates your first anchor point.

Move your cursor over and up to the right and click again to create another anchor point. A straight line appears between the points.

Continue to place anchor points, creating a zigzag shape.

Once you reach the end of the screen, move down and continue to click and create points back to the other side of the screen.

pen close
Pen close pointer

Click on your first point to close the shape. Notice that when you mouseover the first point, the mouse pointer changes: a little circle appears.

That tells you that if you click there, the shape will be closed.

 

Creating a zigzag shape in Illustrator
Continue clicking to place each anchor point and close the shape

Edit Anchor Point Location

Editing anchor points in Illustrator
Use the Direct Selection tool to move anchor points

You can change the location of the points by typing A to use the Direct Selection tool (or select it from the Toollbox).Click the shape to select it, and then click the point you want to edit.

Notice that unselected points are empty circles, and the point you selected is a filled-in circle.

Now click and hold down as you drag the anchor point to a new location. Move any of the other points you like.

 

Make Straight Lines Into Smooth Curves
What if you change your mind and want a wavy shape instead? No problem! You can easily edit the points to give them handles. The handles allow you to control the amount that the line curves as it arcs toward the next point.

Converting anchor points in Illustrator
Convert an anchor point from a corner to a smooth curve

You should still be using the Direct Selection tool, but if you aren’t, type A to use it. Click on one of the shapes, and then on a point.Now go up to the Options bar, usually found at the top of the screen. Click the icon circled in red.

This gives the point handles, and makes the point into a curve.

Select the other points you wish to change (hold down Shift while selecting to select multiple points), and click the icon again.

Converting anchor points in Illustrator
Jagged to wavy in a few seconds!

Change The Curves By Dragging The Handles

Editing anchor handles in Illustrator
Click and drag the handles to change the curves

You can change the shape of the curve by moving the handles.Click one of the points. Click and drag one of the handles, and notice how your shape’s outline shows you the new path.

Let go, and the shape is updated.

 

Convert The Handles To Make Corners

Converting anchor handles in Illustrator
Hold Option (Alt) as you drag the handles to make the point a sharp corner

You can change the smooth points to corner points by converting the handles, which means breaking the direction line (the handles) into two separate direction lines.Select the point, and hold down Option (Alt) as you click and drag one of the handles.

Now you can control the curve on each segment while they connect at a sharp corner.

Change Curves Into Straight Lines

Editing anchor points in Illustrator
Change back to straight lines by clicking the corner icon

Make all of the lines straight again by selecting them with the Direct Selection tool (Shortcut A) and clicking the other handle icon in the toolbar (circled in red).

Copy The Zigzag Shape
When you are finished, type V to switch to the Selection tool (or select the Selection tool from the Toolbox).

Hold down Option (Alt), click on the zigzag shape, and drag it down. This creates a copy of your zigzag shape.

Do this one more time, and arrange the three zigzag shapes over your rectangle.

Zigzag background
The finished zigzag background

Save your document.

Congratulations! You are now able to use the pen tool to:

  • create simple shapes with straight lines
  • move the anchor points
  • convert the corner points to smooth points (and back again)
  • edit the handles to control the curves

In Part 2, we will move on to creating smooth curves with the pen tool, and editing the points as we go rather than after we finish the shape.

If anything is unclear, please let me know in the comments!

8 thoughts on “How To Use The Pen Tool In Illustrator Tutorial: Part 1/3

  1. Andrew Bowers says:

    Thanks for the tutorial Vicki – I’d been frustrated for a while with even getting the basics of illustrator down and this has helped immensely with understanding some basic controls – the pen tool felt counter intuitive before but now it’s making sense. Great job.

Leave a Reply

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