In this tutorial, we'll explain how to create a headphone plugs with cables using gradients. The techniques covered in this tutorial can be used to create other types of wires and electrical equipment as well. Let's get started!
Final Image Preview
Below is the final image we will be working towards. Want access to the full Vector Source files and downloadable copies of every tutorial, including this one? Join Vector Plus for just 9$ a month.
- Program: Adobe Illustrator CS4
- Difficulty: Beginner
- Estimated Completion Time: 1.5 hours
Open up a new document and select the Rectangle Tool (M). Create a rectangle. This will be used for the cable. We will keep it simple, for now set it to the default white fill and black stroke.
Duplicate the rectangle below the first (Alt-drag).
Create another rectangle and set the height to the same as the two long rectangles together, as shown below.
Duplicate the small rectangle five times. Either use Alt + drag and the Command + D or use the Blend Tool. Select all of them and align them along the vertical.
With the shapes still selected, distribute them now horizontally .
Create another rectangle and repeat the Steps three to five times.
We now have six smaller rectangles and seven slightly taller ones in between.
Again, create another more square rectangle next to the smaller ones.
Create yet another rectangle, but make it slightly bigger. Use the Direct Selection Tool (A) to select both right side points, then use the Scale Tool (E) to scale them up, while pressing Shift + Option.
Create one more square looking rectangle.
Add another one and make sure you keep the sizes oriented with the previous ones.
We are now moving on to the thin part of the plug. Create another rectangle, which is the same height as the last one, but much thinner. Quick Tip: You could just duplicate the rectangles and scale them to the correct sizes.
Make another rather long rectangle and align it to the vertical center of the rest of the shapes.
Rinse and repeat!
We need two small thin rectangles that will simulate the two small black rings on a headphone plug.
Rinse and repeat.
Copy the small rectangle from Step 15.
Add another rectangle, but on the right side add one path point with the Pen Tool (P) in the middle of the path line and with the Direct Selection Tool (A). Repeat the scaling we did in Step 9. Now select the middle point and move it to the right. You can do this by hitting the right arrow key on your keyboard.
This is the basic shape composition of the headphone plug.
Select the small shapes we created earlier in Step 3-7 and group them (Command + G). Now go to Effect > Stylize > Rounded Corners and apply a radius of 2pt.
Let's move on to the colors. Create a linear gradient that goes from 100% black to 90% black to 100% black. Now drag it into the Swatch Palette.
Setup another linear gradient with browns and beiges to simulate a golden color and drag it into the Swatch Palette.
Now use the Selection Tool (V) to select the two rectangles that simulate the cable, then apply a dark gradient. Set the radius in the Gradient Palette to 90 degrees. Keep the Stroke.
Apply the same gradient to the shapes with the rounded corners but set the radius to 0 degrees.
Select all the other shapes and fill them with the golden gradient, radius 90 degrees. Just keep the two small rectangles filled with black.
Select each golden shape separately, duplicate it on top (Command + C + F) and set the Layer Mode to Multiply.
Select the next two shapes and repeat Step 26.
Skip the next two shapes and select the following two rectangles. Repeat the duplicate and Layer Mode change.
Select the two black shapes, duplicate them on top and increase the width with the Scale Tool (E), then fill them with the golden gradient and set the Layer Mode to Multiply.
Last but not least, duplicate the tip shape on top and change the Layer Mode to Multiply.
Select the cable shapes and make a duplicate. Then select the Warp Tool (Shift + R) and start pushing the cable shapes.
Keep it simple and apply slight warping.
This is what it could look like. Make sure you don't warp to much so the shapes won't separate.
Connect the warped cables to the plug and voila, we have our little golden headphone plug. I applied small white squares which I duplicated and then grouped to simulate the rippled texture on a plug.
I grouped the shapes, reflected them and applied an Opacity Mask to simulate a reflective surface. You can easy change the colors or apply other gradients. Have fun!
Subscribe to the Vectortuts+ RSS Feed to stay up to date with the latest vector tutorials and articles.
Subscribe below and we’ll send you a weekly email summary of all new Design & Illustration tutorials. Never miss out on learning about the next big thing.Update me weekly
Envato Tuts+ tutorials are translated into other languages by our community members—you can be involved too!Translate this post