In this tutorial we will learn how to create the effect of linear perspective using the Width Gradient Tool, which is one of the tools of the new WidthScribe plugin. In addition, for the coloring of variable width paths, we will use the Gradient on a Path feature in Adobe Illustrator CS6. Thus, today, we are using two new techniques of vector graphics. Read on to work more creatively and efficiently!
As a reference image I will use an International Business Centre from Shutterstock.
With the help of the Pen Tool (P) create basic shapes of buildings.
Let's simply limit the space of our composition. Create a rectangle using the Rectangle Tool (M) and fill it with a radial gradient that includes two shades of blue color. Place the rectangle below all the created objects.
With the help of the Line Segment Tool () create a set of lines, which correspond to the position of window frames. These are uniform paths 1px thick.
The distance between them is determined by the shape of the building and the perspective. In this work I referred to the reference image. To create curved segments, use the Pen Tool (P) or InkScribe Tool (DrawScribe plugin).
Thus, I created windows on all the buildings.
Hide the parts of paths that go beyond the buildings. Group up the paths, which correspond to the front of the skyscraper located on the left.
Copy and paste in front) the front side of this skyscraper, and then place a new shape above all the created objects .
Select the group that you created in this step and the upper shape of the skyscraper, then create a Clipping Mask, usingshortcut.
Apply this technique to the rest of the skyscrapers.
Copy the shape of the background and paste it in front, and then place a new shape above all the created objects.
Select all the created objectsand apply a Clipping Mask again .
Now to apply the effect of linear perspective to uniform strokes, transforming them into variable width paths that narrow at the top of the skyscrapers (towards the direction of the vanishing point). For these purposes, we will use the Width Gradient Tool, which is one of the tools of the WidthScribe plugin. To open its panel, go to .
Choose a linear gradient and set the starting and ending width of the paths.
In the Layers panel, locate and select paths' group to which we will apply the Width Gradient.
Take Width Gradient Tool and drag a gradient in the right direction.
During the application of the gradient we are able to see the preview of the Width Gradient Tool impact. While the mouse button is held down, we can change the direction and length of the gradient.
To move the starting point of the gradient, hold down the Space bar.
I will mention a few shortcuts, which will also help you manage the Width Gradient:
- increases start width;
- decreases start width;
- increases end width;
- decreases end width.
As you can see, Width Gradient Tool is a very flexible and easily manageable tool that will help you achieve the desired result. Having applied the Width Gradient to the paths' groups of all the skyscrapers, I got the results shown in the following picture.
Apply regular linear gradients to the surfaces of skyscrapers in order to reproduce the distribution of light on them (visibility of variable width paths is off for visual purposes).
I applied fills with solid colors to the skyscraper on the right.
We now apply a linear gradient to variable width paths. I would like to mention that the Gradient on a Path feature is only available in Adobe Illustrator CS6 and above.
I think this is a good example of a combination of two new techniques of vector graphics; the Width Gradient and Gradient on a Path.
Copy the selected paths, and then paste them back. Shift new paths slightly to the right, fill them with a solid gray color and apply the Multiply blending mode.
Thus, we have created the shadow of the window frames on the windows of skyscrapers. Using this technique, paint the whole variable width paths to skyscrapers.
The Width Gradient Tool can also be applied to create different decorative effects — as well as in engineering drawings — easily changing the thickness of the paths' group and controlling the position of vanishing points. This will be demonstrated further in forthcoming tutorials due to be published on the AG Blog!
Note: the original Illustrator vector artwork used in this tutorial is supplied with the WidthScribe 14 day trial download!