In this tutorial we’re going to create a classic tram using simple shapes in Adobe Illustrator. If you’re looking for other tram vectors and graphics, pop on over to GraphicRiver for more.
How to Create a Tram in Adobe Illustrator
1.How to Create a New Document
PressControl-Nto make aNew Document. Set theUnitstoPixels, and enter800 x 600for the width and height of the document. Then in theAdvancedoptions, selectRGB,Screen (72 ppi),and make sure tounchecktheAlign New Objects to Pixel Grid boxbefore clickingOK.
Go to thePreferences(Control-K) and enter1 pxfor theKeyboard increment. PressOK.
You can activate theInfopanel (Window > Info) in order to have a preview of the size and position of your shapes. Remember to set the measuring unit toPixelsfromEdit > Preferences > Units. This will greatly increase the speed of your work.
2.How to Create a Background
Let’s begin by creating the background. Start by drawing a rectangle (
#006482) using the Rectangle Tool (M) at the bottom of the canvas.
Now draw some skyscrapers and buildings using the Pen Tool (P), with
#00C7DB as the fill color. And finish with an800 x 600 px rectangle (
3.How to Create a Tram
Create a 515 x 60 px rectangle (
#A01127) for the basic shape. Then create a 170 x 20 px rectangle for the door.
The second rectangle should have two chamfered corners; modify the shape using the Transform panel.
Now create a 520 x 6 px bar (
#A01127), a 515 x 100 px bar (
#EDEEE6) for the upper body, and a 520 x 10 px bar (
#A01127) at the top.
Create some details on the front of the tram by adding a few nodes using the Pen Tool (P)and moving the nodes to the right. Then draw two rectangles and apply Minus Front, which is located in the Pathfinder panel.
Let’s move to the door. Create a 84 x 172 px rectangle (
#A01127), and then draw two 5 x 172 px rectangles (
#EDEEE6) at the sides of the door.
Create the door’s window using a 15 x 25 px rectangle (
#445675) and a second 15 x 54 px rectangle. Duplicate the group three times (Control-C > Control-F) and align them horizontally using the Align panel.
Drag the last four windows while pressing Alt, and place them at the bottom of the door.
Select all the elements of the door, including the windows, and drag them to the right while pressing Alt. Then, using the Direct Selection Tool (A), select the lower nodes and align them with the tram.
Create the other windows of the tram using a 27 x 85 px rectangle (
#A01127) for the frame and24 x 24 px and 24 x 47 px rectangles (
#445675). Under the windows, draw a rectangle using
#EDEEF0 as the fill color.
Group the window (Control-G) and duplicate it ten times (Control-C > Control-F) to fill the tram. Align horizontally using the Align panel to separate them evenly.
Create the back windows using the same fill but adapting the rectangles. Then select the whole window and drag it to the front using the Direct Selection Tool (A), aligning the nodes with the tram.
The next thing is to create the roof. For this, use a 515 x 32 px rectangle (
#EDEEE6) and round the upper corners using 25 px as the radius from theTransform panel.
Create the bell of the tram using a 45 x 13 px rectangle (
#87868A), and add a bevel to the upper corners using the Transform panel. Duplicate it four times and align the copies.
Create five wheels using 52 x 52 px ellipses (
#444242), 44 x 44 px ellipses (
#9A999E) and 24 x 24 px ellipses (
#444242) using the Ellipse Tool (L). Group everything together (Control-G) and position it as shown in the image below.
Create a small ellipse (
#5B5B5F) on one of the bells and then add a rectangle and move the upper nodes to the left. Finally, place a rectangle on top for the part that connects to the electric wire above.
Draw some details at the front of the tram using the Rectangle Tool (P) and use
#5B5B5F as the fill color.
Create the top lantern (
#DBCEC0) of the train using the Pen Tool (P) and place it behind (Control-[).
Create a rectangle of 84 px width (
#444242) under the front door. Then create an84 x 17 px rectangle (
#5B5B5F) and move the lower corners.
Then draw a 17 x 2 px rectangle (
#9A999E) using the Rounded Rectangle Tool and duplicate it (
#444242), send it back (Control-[), and move it to the right. Duplicate it three times (Control-C > Control-F) and align them.
Now select all the windows and duplicate them (
#5B6E91) (Control-C > Control-F). Afterwards, apply a -2 px offset (Effects > Path > Offset Path) and expand the appearance (Object > Expand appearance).
Now create different-sized rectangles and rotate them 45º with the Rotate Tool (R). Selecting the windows and rectangles, subtract them using the Shape Builder Tool (Shift-M).
Now let’s add some shadows, and we’ll begin with the wheels. Draw a rectangle (
#444242) and, using the Appearance panel, set theOpacity to 45% and set toMultiply mode. Then select the shadows and the wheels and subtract them using the Shape Builder Tool (Shift-M).
Draw shadows in the body using a rectangle with
#AA202Fas the fill color, and set the shadow color to
Now create the bolts on the body using the Pen Tool (P) to draw strokes following the configuration shown in the image below. Use
#AA202F as the stroke color and then duplicate the strokes. Create shadows, sending the duplicate strokes back and using
#641111 as the fill color.
Finally, draw a rectangle (
#006482) from side to side of the canvas to represent the overhead wire, and place it above the tram.
Congratulations! You’re Finished!
Terrific! We’ve finished, and the result was terrific. This will surely bring more creativity to your artwork thanks to the techniques you just learned. I hope you enjoyed the process, and I will be expecting your comments.