1
00:00:00.05 --> 00:00:01.04
- [Instructor] In this movie,

2
00:00:01.04 --> 00:00:04.04
I'll show you how to create
a perfectly waving line

3
00:00:04.04 --> 00:00:06.02
that will exactly translate

4
00:00:06.02 --> 00:00:08.08
to a seamlessly repeating pattern.

5
00:00:08.08 --> 00:00:11.02
I'm going to leave this diagram opened up,

6
00:00:11.02 --> 00:00:13.08
because I expect you to
memorize all these values,

7
00:00:13.08 --> 00:00:16.01
but because I'm going to
be referring back to it

8
00:00:16.01 --> 00:00:18.05
over the course of this movie.

9
00:00:18.05 --> 00:00:20.08
I'll start things off by
going up to the File menu

10
00:00:20.08 --> 00:00:22.04
and choosing New From Template,

11
00:00:22.04 --> 00:00:24.08
and then I'll go ahead
and load the template file

12
00:00:24.08 --> 00:00:26.08
that I created way back in chapter 5

13
00:00:26.08 --> 00:00:28.05
of the fundamentals course,

14
00:00:28.05 --> 00:00:31.04
which provides us with a
couple of center guides.

15
00:00:31.04 --> 00:00:33.09
Now I'll select the Line tool,

16
00:00:33.09 --> 00:00:36.03
which we'll use to draw the baseline

17
00:00:36.03 --> 00:00:38.05
and with my Smart Guides turned on,

18
00:00:38.05 --> 00:00:40.03
I'll go ahead and position my cursor

19
00:00:40.03 --> 00:00:42.04
at the intersection of
those two guidelines,

20
00:00:42.04 --> 00:00:45.09
and I will drag outword,
and also press and hold

21
00:00:45.09 --> 00:00:48.02
the Alt key, or the Option key on the Mac,

22
00:00:48.02 --> 00:00:50.09
so that I'm creating my
line from the center out

23
00:00:50.09 --> 00:00:53.02
and I'll go ahead and
snap it into alignment

24
00:00:53.02 --> 00:00:55.01
with the horizontal guide.

25
00:00:55.01 --> 00:00:57.08
And I'm looking for a length of, well,

26
00:00:57.08 --> 00:00:59.07
I don't really know at this point,

27
00:00:59.07 --> 00:01:02.03
but 750 should be fine.

28
00:01:02.03 --> 00:01:05.04
And then I'll go ahead and release.

29
00:01:05.04 --> 00:01:06.08
Now we want to waive the line

30
00:01:06.08 --> 00:01:09.00
and the best way to waive things

31
00:01:09.00 --> 00:01:11.04
in Illustrator is to
go to the Effect menu,

32
00:01:11.04 --> 00:01:15.05
choose Distort & Transform,
and choose Zig Zag.

33
00:01:15.05 --> 00:01:17.03
And just as you can see what I mean,

34
00:01:17.03 --> 00:01:19.02
I'll turn on the Preview checkbox

35
00:01:19.02 --> 00:01:23.00
and you can see that my
line is waving up and down,

36
00:01:23.00 --> 00:01:26.00
albeit with corners,
I want it to be smooth

37
00:01:26.00 --> 00:01:28.04
so I'll set the points to Smooth, like so,

38
00:01:28.04 --> 00:01:31.03
and you can see we get
these nice smooth waves now.

39
00:01:31.03 --> 00:01:32.07
I want them to be a little taller

40
00:01:32.07 --> 00:01:35.08
so I'll crank the size value up to 20.

41
00:01:35.08 --> 00:01:37.01
Now I want you to notice

42
00:01:37.01 --> 00:01:39.05
this Ridges per segment value right there,

43
00:01:39.05 --> 00:01:41.05
by default it's set to "4"

44
00:01:41.05 --> 00:01:43.02
Let's see what that means.

45
00:01:43.02 --> 00:01:46.04
I'm going to count from the
crest down to the valley,

46
00:01:46.04 --> 00:01:48.02
and each one of these transitions

47
00:01:48.02 --> 00:01:50.07
right here represents a single segment,

48
00:01:50.07 --> 00:01:52.08
so from the crest to
the valley is a segment,

49
00:01:52.08 --> 00:01:55.06
from the valley to the crest
is a segment, and so on.

50
00:01:55.06 --> 00:01:58.05
Which means that we have a
total starting at zero here

51
00:01:58.05 --> 00:02:02.05
of one, two, three, four, five segments.

52
00:02:02.05 --> 00:02:05.00
For our purposes, where
the segments are concerned,

53
00:02:05.00 --> 00:02:08.08
we have to add one to the
Ridges per segment value.

54
00:02:08.08 --> 00:02:10.03
And to make sure that's true,

55
00:02:10.03 --> 00:02:12.09
I'll go and crank this value up to 10,

56
00:02:12.09 --> 00:02:15.03
and now notice that we
have one, two, three, four,

57
00:02:15.03 --> 00:02:20.02
five, six, seven, eighth,
nine, ten, eleven segments,

58
00:02:20.02 --> 00:02:22.02
which is okay, that's
going to work out great.

59
00:02:22.02 --> 00:02:24.00
So I'll go ahead and click OK.

60
00:02:24.00 --> 00:02:26.08
Now let's switch back to the diagram.

61
00:02:26.08 --> 00:02:29.04
Remember that we're looking for a distance

62
00:02:29.04 --> 00:02:33.06
from the crest to the
valley of 150 points.

63
00:02:33.06 --> 00:02:36.01
And so to make our line long enough,

64
00:02:36.01 --> 00:02:39.08
we have to multiply a 150 times 11.

65
00:02:39.08 --> 00:02:42.04
So I'll switch back to our document so far

66
00:02:42.04 --> 00:02:44.04
and I'll click on the word Transform,

67
00:02:44.04 --> 00:02:45.09
up here in the control panel,

68
00:02:45.09 --> 00:02:47.06
and you want to make sure
that the center point

69
00:02:47.06 --> 00:02:50.04
is selected here inside
the Reference Point matrix.

70
00:02:50.04 --> 00:02:52.02
You also, and this is very important,

71
00:02:52.02 --> 00:02:55.05
you want to turn off
Scale Strokes & Effects

72
00:02:55.05 --> 00:02:57.03
because otherwise you're going to scale

73
00:02:57.03 --> 00:03:00.09
that first Zig Zag value, which
is going to mess things up.

74
00:03:00.09 --> 00:03:02.07
And having done that,
I'll go ahead and change

75
00:03:02.07 --> 00:03:04.05
the width value, which
in our case represents

76
00:03:04.05 --> 00:03:08.03
the length of the line to 1650,

77
00:03:08.03 --> 00:03:09.05
and I'll press the Enter key,

78
00:03:09.05 --> 00:03:12.02
or the Return key on a
Mac, to apply that change.

79
00:03:12.02 --> 00:03:14.03
And now, if you were
to measure the distance

80
00:03:14.03 --> 00:03:16.07
from the crest right here to the valley,

81
00:03:16.07 --> 00:03:21.02
you would see that it's
exactly a 150 points wide.

82
00:03:21.02 --> 00:03:22.07
All right, now, when I was first working

83
00:03:22.07 --> 00:03:25.05
through this project, I
decided I'd get clever

84
00:03:25.05 --> 00:03:27.06
and create a calligraphic brush.

85
00:03:27.06 --> 00:03:29.08
Because, after all, what we have here

86
00:03:29.08 --> 00:03:33.05
is a calligraphic brushstroke
that gets 10 points thick

87
00:03:33.05 --> 00:03:35.09
at its thickest point.

88
00:03:35.09 --> 00:03:37.08
I'll go ahead and switch
back to my artwork,

89
00:03:37.08 --> 00:03:40.00
and I'll go to the Window menu

90
00:03:40.00 --> 00:03:41.09
and choose the Brushes command,

91
00:03:41.09 --> 00:03:44.01
and then I'll drop down
to the little page icon

92
00:03:44.01 --> 00:03:46.04
at the bottom of the
panel, I'll click on it,

93
00:03:46.04 --> 00:03:49.00
and I'll go ahead and
accept Calligraphic Brush,

94
00:03:49.00 --> 00:03:52.00
which is the default
setting, and I'll click OK.

95
00:03:52.00 --> 00:03:56.01
Then, I'll set the Angle
value to negative 45 degrees,

96
00:03:56.01 --> 00:03:58.08
so that we're angling the
brush against the line.

97
00:03:58.08 --> 00:04:01.05
I'll set the Roundness value to "0%",

98
00:04:01.05 --> 00:04:04.01
so that we have the
highest degree of contrast,

99
00:04:04.01 --> 00:04:07.06
and I'll take the Size value
and crank it up to 10 points.

100
00:04:07.06 --> 00:04:09.07
And then, I'll go ahead and name this guy,

101
00:04:09.07 --> 00:04:12.06
let's say skinny 45 degrees,

102
00:04:12.06 --> 00:04:13.07
I don't really know how to enter

103
00:04:13.07 --> 00:04:15.08
the degree symbol offhand on the PC,

104
00:04:15.08 --> 00:04:17.03
so I'll just copy this one

105
00:04:17.03 --> 00:04:20.04
and paste it in there and click OK.

106
00:04:20.04 --> 00:04:22.00
And now I'll apply that brushstroke

107
00:04:22.00 --> 00:04:25.09
by clicking on "skinny 45°"
here inside the Brushes panel.

108
00:04:25.09 --> 00:04:28.02
And if I hide the panel and zoom in,

109
00:04:28.02 --> 00:04:30.08
you can see that this should give us

110
00:04:30.08 --> 00:04:33.00
exactly the effect we're looking for.

111
00:04:33.00 --> 00:04:35.05
The problem is that
calligraphic brushstrokes

112
00:04:35.05 --> 00:04:39.03
are a little bit random,
meaning that this crest

113
00:04:39.03 --> 00:04:41.07
isn't going to exactly match this one

114
00:04:41.07 --> 00:04:44.00
and that's going to result in seams.

115
00:04:44.00 --> 00:04:45.05
and I only know this because I worked

116
00:04:45.05 --> 00:04:48.08
through this entire project
and found it to be true.

117
00:04:48.08 --> 00:04:51.02
Which means we're going to have
to find a different approach.

118
00:04:51.02 --> 00:04:53.06
So, I'll press Control + Z,
or Command + Z on the Mac,

119
00:04:53.06 --> 00:04:55.02
to undo that change.

120
00:04:55.02 --> 00:04:56.09
And so I'm going to duplicate this edge

121
00:04:56.09 --> 00:05:00.01
to create another using
a Transform effect,

122
00:05:00.01 --> 00:05:02.04
and just so that we can see
the values I'm going to enter,

123
00:05:02.04 --> 00:05:04.02
I'll switch back to the diagram,

124
00:05:04.02 --> 00:05:06.01
notice in order to create a line

125
00:05:06.01 --> 00:05:07.09
that's up to 10 points thick,

126
00:05:07.09 --> 00:05:10.03
we have to move this edge seven points

127
00:05:10.03 --> 00:05:13.01
to the right and seven points down.

128
00:05:13.01 --> 00:05:15.02
And so I'll return to the Effect menu,

129
00:05:15.02 --> 00:05:18.04
choose Distort & Transform,
and choose Transform,

130
00:05:18.04 --> 00:05:20.09
or if you load the D keys
you have a keyboard shortcut

131
00:05:20.09 --> 00:05:25.02
of Control + E here on the
PC, or Command + E on the Mac,

132
00:05:25.02 --> 00:05:27.03
and now I'll just change
both of these move values

133
00:05:27.03 --> 00:05:30.05
to seven points, I'll take
the Copies value up to one

134
00:05:30.05 --> 00:05:32.05
and I'll turn on the Preview checkbox,

135
00:05:32.05 --> 00:05:34.09
and you can see we get exactly the effect

136
00:05:34.09 --> 00:05:38.03
we're looking for, at
which point I'll click OK.

137
00:05:38.03 --> 00:05:40.03
Now, the only problem is
I want this brushstroke

138
00:05:40.03 --> 00:05:43.00
to be centered at the guidelines,

139
00:05:43.00 --> 00:05:45.08
and that's just going to make
for a more predictable effect.

140
00:05:45.08 --> 00:05:48.00
And so I'm going to move the
brushstroke back into place

141
00:05:48.00 --> 00:05:49.07
by returning to the Effect menu

142
00:05:49.07 --> 00:05:53.02
and choosing the second
command, Transform,

143
00:05:53.02 --> 00:05:55.00
which will bring back the dialog box

144
00:05:55.00 --> 00:05:57.02
with its previously applied values.

145
00:05:57.02 --> 00:05:58.07
Now, it's very possible you'll get

146
00:05:58.07 --> 00:06:01.01
this alert message that's
asking you do you really

147
00:06:01.01 --> 00:06:03.07
want to apply another
instance of this effect?

148
00:06:03.07 --> 00:06:06.09
You do, so click the
Apply New Effect button,

149
00:06:06.09 --> 00:06:08.04
and then turn on the Preview checkbox

150
00:06:08.04 --> 00:06:10.00
just so we can see what we're doing.

151
00:06:10.00 --> 00:06:11.07
The fact that we have three lines,

152
00:06:11.07 --> 00:06:13.04
or what appears to be three lines now,

153
00:06:13.04 --> 00:06:15.02
is because of this Copies value,

154
00:06:15.02 --> 00:06:17.03
so I'll take it back down to zero,

155
00:06:17.03 --> 00:06:19.09
and then you want to change
both of the move values

156
00:06:19.09 --> 00:06:22.08
to negative, like so,
that's just going to move

157
00:06:22.08 --> 00:06:25.00
that bottom edge back where it was.

158
00:06:25.00 --> 00:06:28.01
So what you want to do is enter "/2"

159
00:06:28.01 --> 00:06:30.08
after each one of these values,

160
00:06:30.08 --> 00:06:32.07
and that's going to
translate to a movement

161
00:06:32.07 --> 00:06:36.02
of three and a half points,
both up and to the left,

162
00:06:36.02 --> 00:06:38.05
which is going to center
the stroke nicely,

163
00:06:38.05 --> 00:06:41.03
at which point click OK.

164
00:06:41.03 --> 00:06:42.02
All right, now I'm going to go ahead

165
00:06:42.02 --> 00:06:44.05
and rename this layer "live FX",

166
00:06:44.05 --> 00:06:46.08
because that's what we've applied so far.

167
00:06:46.08 --> 00:06:49.08
Ultimately, however, we
need to expand this wave

168
00:06:49.08 --> 00:06:52.02
and so we might as well do that right now

169
00:06:52.02 --> 00:06:54.04
by first duplicating this layer,

170
00:06:54.04 --> 00:06:55.09
so that we keep the live FX

171
00:06:55.09 --> 00:06:57.08
in case we have to reference them later,

172
00:06:57.08 --> 00:07:00.07
and you can do that by clicking
on the flyout menu icon,

173
00:07:00.07 --> 00:07:02.07
in the top right corner
of the layers panel,

174
00:07:02.07 --> 00:07:05.01
and choosing Duplicate "live FX".

175
00:07:05.01 --> 00:07:06.06
Now turn the originals off,

176
00:07:06.06 --> 00:07:08.09
just so you don't end up messing them up,

177
00:07:08.09 --> 00:07:12.00
and double-click on an empty
portion of this new layer.

178
00:07:12.00 --> 00:07:14.06
Let's go ahead and call it expanded

179
00:07:14.06 --> 00:07:16.02
because that's what it is,

180
00:07:16.02 --> 00:07:18.05
and I'll change the color to Violet,

181
00:07:18.05 --> 00:07:20.07
which will make the edges easy to see,

182
00:07:20.07 --> 00:07:22.08
and then I'll click OK.

183
00:07:22.08 --> 00:07:25.01
All right, now, you want
to go up to the Object menu

184
00:07:25.01 --> 00:07:26.07
and choose Expand Appearance,

185
00:07:26.07 --> 00:07:28.02
or if you load the D keys,

186
00:07:28.02 --> 00:07:30.04
you've got that elaborate
keyboard shortcut,

187
00:07:30.04 --> 00:07:31.09
which I find to be handy,

188
00:07:31.09 --> 00:07:34.02
Control + Shift + Alt + Right Bracket,

189
00:07:34.02 --> 00:07:37.00
that's Command + Shift + Option
+ Right Bracket on the Mac,

190
00:07:37.00 --> 00:07:39.01
you may find it useful as well.

191
00:07:39.01 --> 00:07:40.06
That's going to result in a group,

192
00:07:40.06 --> 00:07:43.01
as we can see on the far left
side of the Control panel,

193
00:07:43.01 --> 00:07:45.07
so I'll go up to the Object
menu and choose Ungroup,

194
00:07:45.07 --> 00:07:47.04
or you have that keyboard shortcut

195
00:07:47.04 --> 00:07:50.02
that I'll be using a just a
minute, of Control + Shift + G,

196
00:07:50.02 --> 00:07:51.08
or Command + Shift + G on the Mac,

197
00:07:51.08 --> 00:07:55.00
and the reason I'll be using
it is we still have a group

198
00:07:55.00 --> 00:07:58.02
because we had some nested
groups, for whatever reason.

199
00:07:58.02 --> 00:07:59.06
And so I'll press Control + Shift,

200
00:07:59.06 --> 00:08:01.01
or Command + Shift + G, again,

201
00:08:01.01 --> 00:08:03.07
at which point I can see
Path on the far left side

202
00:08:03.07 --> 00:08:07.08
of the Control panel, which
means everything is A-OK.

203
00:08:07.08 --> 00:08:11.00
Now, I'll change the stroke to None,

204
00:08:11.00 --> 00:08:13.01
and I'll click the fill
swatch and change it

205
00:08:13.01 --> 00:08:17.04
to the stark shade of
orange that begins "R=241".

206
00:08:17.04 --> 00:08:20.04
And that's giving us this kind
of weird double fill effect

207
00:08:20.04 --> 00:08:22.01
and that's because we actually have

208
00:08:22.01 --> 00:08:24.08
two path outlines at this point.

209
00:08:24.08 --> 00:08:26.03
If you want to join them together,

210
00:08:26.03 --> 00:08:27.05
then go up to the Object menu,

211
00:08:27.05 --> 00:08:29.07
choose Path and choose Join,

212
00:08:29.07 --> 00:08:33.01
or you can press Control +
J, or Command + J on the Mac,

213
00:08:33.01 --> 00:08:35.03
and that's going to join
two of the endpoints.

214
00:08:35.03 --> 00:08:36.08
If you want to join the
other two endpoints,

215
00:08:36.08 --> 00:08:40.03
press Control + G, or Command + G, again,

216
00:08:40.03 --> 00:08:43.06
at which point you will
have a filled Path outline.

217
00:08:43.06 --> 00:08:45.09
And notice now we have matching points,

218
00:08:45.09 --> 00:08:48.08
both at the crests and at the valleys,

219
00:08:48.08 --> 00:08:50.07
so these two anchor points right here

220
00:08:50.07 --> 00:08:54.04
are going to match up nicely with
these two anchor points here,

221
00:08:54.04 --> 00:08:56.01
which is exactly what we want,

222
00:08:56.01 --> 00:08:58.05
and also exactly what we wouldn't get

223
00:08:58.05 --> 00:09:02.05
if we had accepted the
calligraphic brushstroke.

224
00:09:02.05 --> 00:09:04.03
And that my friends is how you create

225
00:09:04.03 --> 00:09:07.02
a perfectly waving line that will result

226
00:09:07.02 --> 00:09:09.04
at a seamless tile pattern

227
00:09:09.04 --> 00:09:11.04
here inside Illustrator.

