Preview

Create a Detailed Vector Traffic Light with Simple Shapes, Gradients, and Glows

Jul 7th in Illustration by Tim Mercer

In this tutorial, we'll see how creating this detailed traffic light is just a matter of building up layers of simple shapes, custom gradients, and the Outer Glow effect.

PG

Author: Tim Mercer

I love digital art and graphic design. I've been using Illustrator for about a year. Everything I've learned has been from tutorials and the online community. Visit my blog Digital Artists Toolbox for free resources for the graphic designer and digital artists, follow the link below.

Final Image Preview

Take a look at the image we'll be creating. Below is the completed illustration to see what you'll be working toward.

Step 1

First, let's talk about how to create custom gradients, as we'll be using them a lot for this illustration. Let's start by making some new color swatches. Double-click on the fill color box in the Tool Palette and in the Color Picker choose a nice yellow color.

Step 2

In the Swatches Pallett click the New Swatch at the bottom to create a new swatch of our chosen yellow color. Do this a few more times to make two or three lighter swatches, and two or three darker swatches, ranging from very light yellow to a dark yellowish-brown. These are the colors we'll be using in the custom gradients. Note: To open the Swatches Pallet go to Window > Swatches.

Step 3

Now that we have the swatches we need, let's make a custom gradient. Choose a linear gradient. Then drag one of the lighter yellow swatches from the swatches palette and drop it onto the white color of the gradient in the gradient palette Dropping a swatch onto a color of the gradient will replace that color with the new swatch color. Dropping a swatch onto a empty part of the gradient will create a new color on the gradient slider.

Now drag and drop a slightly darker yellow swatch onto the middle of the gradient slider. Then drop an even darker yellow/brown onto the black color of the gradient. Now we have a custom gradient. As you make these custom gradients, you'll want to save them to use later for different parts of the light. Just click New Swatch in the Swatches Palette to save them.

Step 4

Ok, let's start creating the traffic light. Using the Rectangle Tool drag out a rectangle, as in the image below. This will be the main body of the traffic light.

Step 5

Fill the rectangle with a custom gradient similar to the one below.

Step 6

While holding Shift to constrain proportions, drag out a square. Then give it a custom gradient like the one below. To give the gradient the desired angle use the Gradient Tool. After selecting the tool, click and drag from the upper left to the bottom right of the square.

Step 7

In order to add a little depth, we'll give this square an effect. With the square selected go to Effect > Stylize > Outer Glow. Enter the parameters below using the darkest swatch you made, and choose (yellow/brown) for the color. Now we have a slight shadow all around the square.

Note: The Blur amount may vary a little depending on the exact size of your square. It is important to note that we want to use Effects and note Filters because Effects are scalable. Just be sure the Scale Strokes and Effects box is checked in the general preferences (Edit > Preferences > General).

Step 8

Now we'll create the four bolts that hold this plate on. Using the Ellipse Tool, hold Shift and drag out a small circle. Give it the same custom gradient and adjust it to suite you. Now give it the same Outer Glow effect as the square. The amount of Blur will be smaller. Simply adjust the Blur until it looks appropriate.

Step 9

Using the Line Segment Tool, drag out a small line across the circle to make the slot for a screwdriver. Give it a black stroke of an appropriate amount. Also, give it the same Outer Glow effect.

Step 10

In order to make the other three bolts, select the first one Alt drag over a copy. If you also hold Shift down, it will make the copy, though be sure to drag in a straight line. This will help in getting them all into position easier. Using this technique, make three copies and position them at the four corners of the square. Rotate each one a little to randomize the position of the screw slots.

Step 11

Now we'll make what I call the "light mount." It is the round part that is behind the "light cones." To make this shape use the same techniques that we used to make the other shapes so far. Since we already went over these techniques, I will not explain them in detail here. Just create a circle, give it a custom gradient similar to the others. Then add the Outer Glow effect so that it resembles the image below.

Step 12

Let's create the "light cones." This is the part that casts shadows on the lights. Make a circle a little smaller than the "light mount." Then give it a white to black gradient at a 45 degree angle. Add the same Outer Glow effect. Then place the circle in front of the "light mount."

Step 13

Now make another circle, smaller than the last and give it a white to black gradient. Using the Gradient Tool, make the gradient opposite to the other white to black one, as in the picture below. Then position the circle a bit towards the bottom.

Step 14

Select everything except the first rectangle. Then while holding down Alt+Shift, drag a copy down. Repeat this to get the upper one as well. Now we have three.

Step 15

Ok, let's make the lights. Create a circle and give it a radial gradient of bright red to a slightly darker red. Notice that the position of the little slider is off centered towards the right in the image below. Apply the Outer Glow effect to it using the parameters shown below. Remember that the amount of Blur may vary slightly. Now, duplicate the light (Command+C) and paste it in front (Command+F). This gives the light a little more punch.

Step 16

Repeat step 15 to make the yellow and green lights. Note: I found that when adding the Outer Glow effect to the yellow and green lights that Normal mode seemed to look better than Hard Light mode. Other than that the process is the same, only they use different colors.

Step 17

Now let's give the lights a little texture. For the texture we'll use a pattern. To get the pattern we'll click the little arrow in the upper right hand side of the swatches pallett to open up the fly out menu. Then go to Open Swatch Library > Other Library > Patterns > Basic Graphics > Basic Graphic Dots.

Make three circles the exact size and position as the lights. Then fill them with the pattern 10 dpi 70% in the Basic Graphic Dots pallett we opened up. Lower the transparency of each one individually. I found these amounts of Transparency to look good: red at 4%, yellow at 3%, and green at 10%.

Step 18

Now to make the lights look glossy. Create a circle the exact size and position as the red light. Fill it with white. Then using the Pen Tool, draw a curved line, as in the image below

Step 19

Select both the line and the white circle. Then open up the Pathfinder Window (Window > Pathfinder). In the pathfinder window click Divide.

Step 20

Clicking Divide breaks apart the lower shape according to the shape that's on top of it. In this case, it divides the white circle according to the curved line. Using the Direct Selection Tool (white arrow), select the bottom half of the circle and Delete it.

Step 21

Select the remaining half of the circle and copy (Command+C). Then paste in front (Command+F). Fill the copy with a white to black linear gradient. Select both halfs of the circles, and in the Transparency Pallett click the little arrow in the upper left hand side. This opens the fly out menu. Then click Make Opacity Mask.

Step 22

In the Transparency Pallett, click the Transparency Mask (indicated by the red arrow in the picture below) to edit it. Using the Gradient Tool drag from about the top of the light mount down to the bottom of the red light. Now we have a nice glossy looking light.

Step 23

Just Alt+Shift click and drag to get the gloss for the other two lights.

Step 24

On to the side cones. Using the Pen Tool, create a side cone shape. Then fill it with a custom gradient, as in the image below. Then place it behind the main body of the traffic light.

Step 25

Now, as I'm sure you guessed, we'll copy the side cone twice using the same method as before.

Step 26

Using the pen tool create the shapes for the top and bottom parts of the traffic light. Give them a custom gradient so they look similar to the picture below.

Step 27

Just one last thing. Let's make the side bolts. Using the Pen Tool, make the shape for the side bolt and give it a custom gradient, as in the image below. Then place it behind the main body, but in front of the side cones. Copy the bolt until you have six on each side

Conclusion

That's it! Now we have a detailed illustration of a traffic light made up of simple shapes and the Outer Glow effect. I hope you enjoyed this tutorial.


Enjoy this Post?

We'd love your vote!

Plus Members

Source Files, Bonus Tutorials and
More for $9 a month for all TUTS+
sites in one subscription.

Join Now

User Comments

( ADD YOURS )
  1. Nice tut, will give this a whirl! :)

    ( Reply )
  2. PG

    Flaunt July 7th

    cool!

    ( Reply )
    1. PG

      juan pablo May 5th

      beatiful

      ( Reply )
  3. PG

    SureShot July 7th

    Wow!

    Very detailed, excellent work, Thank you!

    ( Reply )
  4. PG

    NicksTheName July 7th

    Very Nice ,

    Love your work! , realy helpfull tutorial.
    Thanks alott

    ( Reply )
  5. PG

    Carl July 7th

    Allright! This is the kind of tut that I have been waiting for from vectortuts. Great job.

    ( Reply )
  6. PG

    Snorri3D July 7th

    N1

    ( Reply )
  7. PG

    Ali July 7th

    nice final result, although not very useful, but good practice regardless.

    ( Reply )
  8. PG

    Andrew July 7th

    I love the result. Can’t wait to try out the techniques. Thanks!

    ( Reply )
  9. PG

    Grafiko July 7th

    Good job, very detailed and great tutorial. Those techniques have tons of applications

    ( Reply )
  10. PG

    Mark July 7th

    nice effect

    ( Reply )
  11. PG

    MONSTER July 7th

    Very nice indeed.

    ( Reply )
  12. PG

    Simona July 7th

    Great tutorial ! Good practice too! Nice work Tim.

    ( Reply )
  13. PG

    Braden Keith July 7th

    Very nice detail, especially the dots behind the traffic light. Not many would pay attention to that.

    ( Reply )
  14. PG

    D.A.T. July 7th

    thanks everyone! I’m glad you liked the tut

    ( Reply )
  15. PG

    DanOhh July 7th

    Great job! I’m impressed with the detail of adding texture to the glass of each light and the realism of each screw being turned to different rotations. This adds realism (if that’s an actual word) to an great illustration.

    ( Reply )
  16. PG

    PCARTER! July 7th

    Awesome! Never used the dot pattern fill, but looks like that could come in handy!

    ( Reply )
  17. PG

    Alex Beltechi July 7th

    I’m not much into illustrator… but I *will* be! Very nice.

    ( Reply )
  18. PG

    Dan July 7th

    Not sure about the screws or the bezels but overall I dig it. Fun one to keep the illustrator skills goin.

    ( Reply )
  19. PG

    COOPER July 7th

    nice! learned a bunch!! ive been meaning to use illustrator more…its these kind of tutorials that help!

    ( Reply )
  20. PG

    Rijalul Fikri July 7th

    cool, have to try it

    ( Reply )
  21. PG

    RUGRLN July 8th

    Nice but could you explain how you made those textures of dots white colour, when I do it in CS3, it becomes black and ugly, not white.

    ( Reply )
  22. PG

    Shane July 8th

    Great end result.

    As far as I know, I’m not going to be needing to draw a traffic light any time soon, but it’s the techniques that are important here – if a reader requires the exact product of the tutorial, that’s a significant bonus.

    Thanks for sharing your techniques with us!

    ( Reply )
  23. Great stuff

    ( Reply )
  24. PG

    Jamsheer July 8th

    oh!! Good work!

    very detailed….. thanks for publishing , I expect more tutorial …

    ( Reply )
  25. PG

    K3v July 8th

    Looks nice, thanks! :)

    ( Reply )
  26. PG

    Nathan Soliz July 8th

    See something interesting… The Same Traffic light is on http://www.vecteezy.com/vf/573-road-signs-traffic-light

    See it on the lower right corner.

    ( Reply )
  27. PG

    D.A.T. July 8th

    @Nathan Soliz – That’s a free vector set I gave away on my site. The traffic light is almost the same just different lights really.

    ( Reply )
  28. PG

    Mr Kuzio July 9th

    Oddio che bello!!!!!!!!!!

    Oh my god what a cool! XD XD XD

    ( Reply )
  29. PG

    Danny July 9th

    That’s pretty cool, useful icon :P

    ( Reply )
  30. PG

    CL July 9th

    palette is spelled incorrectly

    ( Reply )
  31. PG

    Nilson Saavedra July 12th

    excellent tutorial using basic tools, the result it a well detailed ilustration, great tut for a basic and intermediate user

    ( Reply )
  32. PG

    Fabricio July 12th

    Muy bueno!
    El resultado final es excelente

    ( Reply )
  33. PG

    Daniel Geraldi July 13th

    cool!

    ( Reply )
  34. PG

    George Coghill July 14th

    Nice tutorial, really gives the reader a perfect explanation of how to see a complex object in simple shapes. The key to vector illustration is to break the image down like this, and by see it done on something that might look very complex should help one see other potentially daunting objects in the same simple-shape manner.

    ( Reply )
  35. PG

    NatalieMac July 31st

    Very nice tutorial. Well-written, easy to follow, and includes some useful techniques. Great job. Thanks.

    ( Reply )
  36. PG

    Marcello August 1st

    great tut – love the details.

    ( Reply )
  37. PG

    mojito August 4th

    nice’n'easy :_)
    Great Job

    ( Reply )
  38. PG

    zoolo BOY November 19th

    Nice details!

    ( Reply )
  39. PG

    websevilla June 18th

    Realy nice, it´s lovley.

    ( Reply )
  40. PG

    Annett Hernandez September 12th

    I thoroughly enjoyed working through this tutorial. Your instructions are worded so that anyone (novice to expert) can work through the steps. Your screen shots and detailed wording are very helpful. Thank you for sharing your talent with the world.

    ( Reply )
  41. PG

    j_marreros October 24th

    Yes, I agree, very nice work, and the tut is very clear, I got a nice result.

    Thanks for sharing

    ( Reply )
  1. Arrow
    Gravatar

    Your Name
    October 24th