Kamis, 19 Mei 2011

Ilustrator Tutorial - Gradient flower icon in Illustrator

Draw the flower icon shape

This 1st step is tricky and might be a bit hard for a beginner since it involves drawing a perfect curve using the Pen tool. Though I'll try to explain and show this as good as I can so you'll be able to follow. If things don't go well in this step, I suggest you to try out these Basic Pen tool Exercises first before moving on.

Draw 1 part of the flower icon shape using the Pen tool

First of all, select black as stroke color and none as fill. I'm using a tick stroke of 10 pt. This value depends of course on how large you're drawing this shape. Make sure Rulers are visible (View > Show Rulers or cmd/ctrl + R). Drag a vertical guide. This guide is the line that divides the leaf into 2 perfect sides, left and right. Select the Pen tool and start your 1st curved point somewhere on the right of the guide as shown in the picture above. Click and drag downwards to the left.

Draw 1 part of the flower icon shape using the Pen tool

Draw the 2nd point a bit lower on the left of the guide. Hold down Shift while drawing this point. Drag vertically downwards. Draw the 3rd and last point again a bit lower, right on top of the guide. Again Hold down Shift while drawing this point. Drag horizontal to the right. Hold down Command/Control key and click once on your canvas to deselect the path. Use the Direct Selection tool (white arrow) in case you think the curve needs a bit of tweaking to make it perfect. Just make sure the handles of the last point are perfectly horizontal, otherwise you could run into trouble. The left and right part of the leaf will not match perfectly and a small gap or you'll end up with a small overlap.

Reflect duplicate the shape

Select the Selection tool (black arrow) and select the shape. Select the Reflect tool, Hold down Alt/Option key and click somewhere on top of the guide. Make sure you click precisely. This is important to avoid gaps or overlaps. In the Reflect window that appears, choose Vertical as Axis and click Copy.

Rotate duplicate the shape at 72° and Transform again 3 times

Because the lines are overlapping, we can't join both sides of the leaf. Select both shapes and select the Rotation tool. Hold down Alt/Option key and click somewhere on top of the guide a little bit above the shape as shown in the image above. Make sure you click precisely. In the Rotate window enter an Angle value of 72° (360/5) and hit the Copy button. Now hit Cmd/Ctrl + D (Object > Transform >Transform Again) 3 times in a row to complete the flower icon shape.

Join the 5 segments

Zoom in on the center of the icon. Select the Direct Selection tool (white arrow) and drag a selection around 2 neighbor points and hit Cmd/Ctrl + J to connect them. Repeat these steps for the 4 gaps.

Turn the strokes into fills via Outline Strokes

You should end up with something that looks a bit like an upside down star shape in the center. This star shape depends on the center point you have chosen before to rotate and duplicate the leafs. Select the entire object using the Selection tool (black arrow). Go to Object > Path > Outline Stroke to turn the strokes into fills.

Color the flower icon shape

Fill each segment with a graident fill

I have already prepared 5 different colors in my Swatches palette: yellow, red, purple, blue and green. From these global color swatches I've created 5 different linear gradients:

  • green blue
  • yellow green
  • red yellow
  • red purple
  • purple blue

Select a fragment using the Selection tool (black arrow) and fill it with the first gradient.

Adjust the gradient fill so each segment connects smoothly without any interruption

Select the other 4 fragments one by one and give them their proper gradient as shown in the image above. Make sure you apply the gradients in the proper order so you can connect each one of them using a smooth transition.

Adjust the gradient fill so each segment connects smoothly without any interruptionSelect the first fragment and select the Gradient tool. Define start and ending point of the gradient by dragging a line as shown in the image above. Select the 2nd fragment and do the same again.

Adjust the gradient fill so each segment connects smoothly without any interruption

Do the same for the other segments.

Correct to make perfect

The icon is properly colored but is in need of 2 corrections

You should end up with an almost perfect icon. If you take a close look and compare it to the original, you'll see that we have 2 mismatches. So we need to do some fixing here.

1 part needs to be sent to back and cut into 2 pieces

Let's start by moving this segment to the back. This way we have 1 problem out of the way. Select the fragment and go to Object > Arrange > Send to Back. The only way to solve the 2nd problem is to divide the shape into 2 pieces so we can have the purple line go on top of the blue line and also have it go under the red line at the same time. We can change the stacking order of the 5 shapes to try to fix this problem, but what you do is just moving the problem to another fragment. So in the end there will always be 1 line where things don't match and where we have to correct. Select the Scissors tool and cut (click on the path) the path somewhere in between the intersection with the blue and red line. Cut the path on both sides of the fill as marked in the image above.

Join 2 points on each end

Now join both opening ends of the shape. Select the 2 endpoints of 1 segment and hit Cmd/Ctrl + J to close the path. Lock this shape by hitting Cmd/Ctrl + 2. Select the other 2 opening points and hit Cmd/Ctrl + J again to close the other fragment.

Selecting 2 endpoints can be a bit tricky. Sometimes you run into trouble by having more than 2 endpoints selected. Illustrator will then show a message 'To join, you must select two open endpoints...'. Here is what I usually do when this happens: I click once on one point (which probably sits on top of the endpoint I want). I use one of the arrow keys (e.g. up key) to move this point from its position. Then chances are you can select the proper endpoints to join them. After the path is closed you move the point back in its original position using the arrow keys (e.g. down key). Sometimes more than 1 point needs to be moved from its position.

Fill 2nd part with plain purple color

Once both paths are closed, unlock the shape you've locked before by hitting Cmd/Ctrl + Alt/Option + 2. Move the purple fragment shape under the blue line by sending it to back: Object > Arrange > Send to Back. Now all there is left to do is applying a solid purple color to the fragment that lays on top of the red line and the icon is complete. There you have it! Hope you enjoyed it ;)

Important note

The Cecif.com icon, part of the Cecif.com logo, and created by Duoh! n.v. is property of Cecif.com. It is used in this article for educational purpose only and may not be used or copied in any form or by any means.

Tidak ada komentar:

Posting Komentar