1
00:00:00,160 --> 00:00:01,990

There's a simple math function from the

2
00:00:01,990 --> 00:00:02,000
There's a simple math function from the
 

3
00:00:02,000 --> 00:00:04,230
There's a simple math function from the
80s that has quietly shaped some of the

4
00:00:04,230 --> 00:00:04,240
80s that has quietly shaped some of the
 

5
00:00:04,240 --> 00:00:05,990
80s that has quietly shaped some of the
most iconic games of the last few

6
00:00:05,990 --> 00:00:06,000
most iconic games of the last few
 

7
00:00:06,000 --> 00:00:08,230
most iconic games of the last few
decades. Today I want to tell you the

8
00:00:08,230 --> 00:00:08,240
decades. Today I want to tell you the
 

9
00:00:08,240 --> 00:00:10,790
decades. Today I want to tell you the
story behind it, why it was invented,

10
00:00:10,790 --> 00:00:10,800
story behind it, why it was invented,
 

11
00:00:10,800 --> 00:00:12,870
story behind it, why it was invented,
why it works so well, and why I believe

12
00:00:12,870 --> 00:00:12,880
why it works so well, and why I believe
 

13
00:00:12,880 --> 00:00:14,470
why it works so well, and why I believe
it might be the single most important

14
00:00:14,470 --> 00:00:14,480
it might be the single most important
 

15
00:00:14,480 --> 00:00:16,550
it might be the single most important
algorithm in the history of video games,

16
00:00:16,550 --> 00:00:16,560
algorithm in the history of video games,
 

17
00:00:16,560 --> 00:00:18,070
algorithm in the history of video games,
and hopefully give you enough evidence

18
00:00:18,070 --> 00:00:18,080
and hopefully give you enough evidence
 

19
00:00:18,080 --> 00:00:20,510
and hopefully give you enough evidence
to see if you agree. It all starts in

20
00:00:20,510 --> 00:00:20,520
to see if you agree. It all starts in
 

21
00:00:20,520 --> 00:00:22,870
to see if you agree. It all starts in
1982 with a movie that changed the

22
00:00:22,870 --> 00:00:22,880
1982 with a movie that changed the
 

23
00:00:22,880 --> 00:00:24,950
1982 with a movie that changed the
history of computer graphics. Ken

24
00:00:24,950 --> 00:00:24,960
history of computer graphics. Ken
 

25
00:00:24,960 --> 00:00:26,630
history of computer graphics. Ken
Pearling was part of the visual effects

26
00:00:26,630 --> 00:00:26,640
Pearling was part of the visual effects
 

27
00:00:26,640 --> 00:00:29,109
Pearling was part of the visual effects
team on Tron, the first Hollywood film

28
00:00:29,109 --> 00:00:29,119
team on Tron, the first Hollywood film
 

29
00:00:29,119 --> 00:00:30,470
team on Tron, the first Hollywood film
built almost entirely with

30
00:00:30,470 --> 00:00:30,480
built almost entirely with
 

31
00:00:30,480 --> 00:00:33,150
built almost entirely with
computerenerated imagery. It was

32
00:00:33,150 --> 00:00:33,160
computerenerated imagery. It was
 

33
00:00:33,160 --> 00:00:35,670
computerenerated imagery. It was
groundbreaking, but to him it wasn't

34
00:00:35,670 --> 00:00:35,680
groundbreaking, but to him it wasn't
 

35
00:00:35,680 --> 00:00:37,510
groundbreaking, but to him it wasn't
good enough. Everything looked

36
00:00:37,510 --> 00:00:37,520
good enough. Everything looked
 

37
00:00:37,520 --> 00:00:39,990
good enough. Everything looked
machine-like. He later said the problem

38
00:00:39,990 --> 00:00:40,000
machine-like. He later said the problem
 

39
00:00:40,000 --> 00:00:42,229
machine-like. He later said the problem
was texture. When they tried to simulate

40
00:00:42,229 --> 00:00:42,239
was texture. When they tried to simulate
 

41
00:00:42,239 --> 00:00:44,549
was texture. When they tried to simulate
things like fire or smoke, the results

42
00:00:44,549 --> 00:00:44,559
things like fire or smoke, the results
 

43
00:00:44,559 --> 00:00:47,430
things like fire or smoke, the results
looked flat and artificial. The tools

44
00:00:47,430 --> 00:00:47,440
looked flat and artificial. The tools
 

45
00:00:47,440 --> 00:00:49,590
looked flat and artificial. The tools
for generating detail relied on white

46
00:00:49,590 --> 00:00:49,600
for generating detail relied on white
 

47
00:00:49,600 --> 00:00:52,229
for generating detail relied on white
noise, which gave results that felt more

48
00:00:52,229 --> 00:00:52,239
noise, which gave results that felt more
 

49
00:00:52,239 --> 00:00:54,950
noise, which gave results that felt more
like static than nature. Perling wanted

50
00:00:54,950 --> 00:00:54,960
like static than nature. Perling wanted
 

51
00:00:54,960 --> 00:00:56,869
like static than nature. Perling wanted
something better, something that felt

52
00:00:56,869 --> 00:00:56,879
something better, something that felt
 

53
00:00:56,879 --> 00:00:58,549
something better, something that felt
smooth and organic, but could be

54
00:00:58,549 --> 00:00:58,559
smooth and organic, but could be
 

55
00:00:58,559 --> 00:01:00,709
smooth and organic, but could be
generated quickly with no handcrafting

56
00:01:00,709 --> 00:01:00,719
generated quickly with no handcrafting
 

57
00:01:00,719 --> 00:01:02,869
generated quickly with no handcrafting
or heavy computation. His solution

58
00:01:02,869 --> 00:01:02,879
or heavy computation. His solution
 

59
00:01:02,879 --> 00:01:05,910
or heavy computation. His solution
became Pearling Noise. And in 1997, it

60
00:01:05,910 --> 00:01:05,920
became Pearling Noise. And in 1997, it
 

61
00:01:05,920 --> 00:01:07,429
became Pearling Noise. And in 1997, it
won an Academy Award for technical

62
00:01:07,429 --> 00:01:07,439
won an Academy Award for technical
 

63
00:01:07,439 --> 00:01:09,670
won an Academy Award for technical
achievement, a recognition presented

64
00:01:09,670 --> 00:01:09,680
achievement, a recognition presented
 

65
00:01:09,680 --> 00:01:11,910
achievement, a recognition presented
alongside the Oscars in a ceremony that

66
00:01:11,910 --> 00:01:11,920
alongside the Oscars in a ceremony that
 

67
00:01:11,920 --> 00:01:13,750
alongside the Oscars in a ceremony that
would later also celebrate the creators

68
00:01:13,750 --> 00:01:13,760
would later also celebrate the creators
 

69
00:01:13,760 --> 00:01:17,350
would later also celebrate the creators
of Photoshop. So, what exactly is par

70
00:01:17,350 --> 00:01:17,360
of Photoshop. So, what exactly is par
 

71
00:01:17,360 --> 00:01:19,990
of Photoshop. So, what exactly is par
noise? At its core, it's just a

72
00:01:19,990 --> 00:01:20,000
noise? At its core, it's just a
 

73
00:01:20,000 --> 00:01:21,990
noise? At its core, it's just a
function. You give it one or more

74
00:01:21,990 --> 00:01:22,000
function. You give it one or more
 

75
00:01:22,000 --> 00:01:24,149
function. You give it one or more
numbers as input, a position in space,

76
00:01:24,149 --> 00:01:24,159
numbers as input, a position in space,
 

77
00:01:24,159 --> 00:01:26,630
numbers as input, a position in space,
and it gives you back another number.

78
00:01:26,630 --> 00:01:26,640
and it gives you back another number.
 

79
00:01:26,640 --> 00:01:28,230
and it gives you back another number.
Technically, the output goes from

80
00:01:28,230 --> 00:01:28,240
Technically, the output goes from
 

81
00:01:28,240 --> 00:01:30,710
Technically, the output goes from
negative 1 to one. But in most visual

82
00:01:30,710 --> 00:01:30,720
negative 1 to one. But in most visual
 

83
00:01:30,720 --> 00:01:32,469
negative 1 to one. But in most visual
applications, it's scale to range

84
00:01:32,469 --> 00:01:32,479
applications, it's scale to range
 

85
00:01:32,479 --> 00:01:35,830
applications, it's scale to range
between 0 and one, black to white with

86
00:01:35,830 --> 00:01:35,840
between 0 and one, black to white with
 

87
00:01:35,840 --> 00:01:38,630
between 0 and one, black to white with
shades of gray in between. But here's

88
00:01:38,630 --> 00:01:38,640
shades of gray in between. But here's
 

89
00:01:38,640 --> 00:01:41,429
shades of gray in between. But here's
the trick. Nearby inputs produce similar

90
00:01:41,429 --> 00:01:41,439
the trick. Nearby inputs produce similar
 

91
00:01:41,439 --> 00:01:43,590
the trick. Nearby inputs produce similar
outputs. We later see that this is

92
00:01:43,590 --> 00:01:43,600
outputs. We later see that this is
 

93
00:01:43,600 --> 00:01:45,590
outputs. We later see that this is
exactly what makes it so useful in video

94
00:01:45,590 --> 00:01:45,600
exactly what makes it so useful in video
 

95
00:01:45,600 --> 00:01:48,310
exactly what makes it so useful in video
games. It creates patterns with just the

96
00:01:48,310 --> 00:01:48,320
games. It creates patterns with just the
 

97
00:01:48,320 --> 00:01:50,469
games. It creates patterns with just the
right balance of order and chaos.

98
00:01:50,469 --> 00:01:50,479
right balance of order and chaos.
 

99
00:01:50,479 --> 00:01:54,670
right balance of order and chaos.
Unpredictable but smooth. Random but

100
00:01:54,670 --> 00:01:54,680
Unpredictable but smooth. Random but
 

101
00:01:54,680 --> 00:01:56,870
Unpredictable but smooth. Random but
structured. Let's take a look at how it

102
00:01:56,870 --> 00:01:56,880
structured. Let's take a look at how it
 

103
00:01:56,880 --> 00:01:59,030
structured. Let's take a look at how it
works. And don't worry, it's actually

104
00:01:59,030 --> 00:01:59,040
works. And don't worry, it's actually
 

105
00:01:59,040 --> 00:02:01,429
works. And don't worry, it's actually
surprisingly simple. To generate

106
00:02:01,429 --> 00:02:01,439
surprisingly simple. To generate
 

107
00:02:01,439 --> 00:02:03,350
surprisingly simple. To generate
paralleling noise, we start by dividing

108
00:02:03,350 --> 00:02:03,360
paralleling noise, we start by dividing
 

109
00:02:03,360 --> 00:02:05,990
paralleling noise, we start by dividing
the space into a regular grid. At each

110
00:02:05,990 --> 00:02:06,000
the space into a regular grid. At each
 

111
00:02:06,000 --> 00:02:08,150
the space into a regular grid. At each
corner of that grid, we assign a unit

112
00:02:08,150 --> 00:02:08,160
corner of that grid, we assign a unit
 

113
00:02:08,160 --> 00:02:10,270
corner of that grid, we assign a unit
vector pointing in a random

114
00:02:10,270 --> 00:02:10,280
vector pointing in a random
 

115
00:02:10,280 --> 00:02:12,790
vector pointing in a random
direction. These are called gradients,

116
00:02:12,790 --> 00:02:12,800
direction. These are called gradients,
 

117
00:02:12,800 --> 00:02:14,390
direction. These are called gradients,
and they shape the behavior of the

118
00:02:14,390 --> 00:02:14,400
and they shape the behavior of the
 

119
00:02:14,400 --> 00:02:17,750
and they shape the behavior of the
noise. For every pixel in the image, we

120
00:02:17,750 --> 00:02:17,760
noise. For every pixel in the image, we
 

121
00:02:17,760 --> 00:02:19,430
noise. For every pixel in the image, we
look at the four corners that surround

122
00:02:19,430 --> 00:02:19,440
look at the four corners that surround
 

123
00:02:19,440 --> 00:02:21,990
look at the four corners that surround
it and calculate how much that pixel is

124
00:02:21,990 --> 00:02:22,000
it and calculate how much that pixel is
 

125
00:02:22,000 --> 00:02:24,710
it and calculate how much that pixel is
influenced by each gradient. From each

126
00:02:24,710 --> 00:02:24,720
influenced by each gradient. From each
 

127
00:02:24,720 --> 00:02:26,550
influenced by each gradient. From each
corner, we do this by computing the

128
00:02:26,550 --> 00:02:26,560
corner, we do this by computing the
 

129
00:02:26,560 --> 00:02:28,710
corner, we do this by computing the
displacement, the vector from the pixel

130
00:02:28,710 --> 00:02:28,720
displacement, the vector from the pixel
 

131
00:02:28,720 --> 00:02:31,190
displacement, the vector from the pixel
to the corner and taking its dot product

132
00:02:31,190 --> 00:02:31,200
to the corner and taking its dot product
 

133
00:02:31,200 --> 00:02:33,589
to the corner and taking its dot product
with the gradients. This is a simple

134
00:02:33,589 --> 00:02:33,599
with the gradients. This is a simple
 

135
00:02:33,599 --> 00:02:35,830
with the gradients. This is a simple
operation that tells us how aligned two

136
00:02:35,830 --> 00:02:35,840
operation that tells us how aligned two
 

137
00:02:35,840 --> 00:02:38,229
operation that tells us how aligned two
vectors are. If they point in a similar

138
00:02:38,229 --> 00:02:38,239
vectors are. If they point in a similar
 

139
00:02:38,239 --> 00:02:40,470
vectors are. If they point in a similar
direction, the result is closer to one.

140
00:02:40,470 --> 00:02:40,480
direction, the result is closer to one.
 

141
00:02:40,480 --> 00:02:42,470
direction, the result is closer to one.
If they point away from each other, it's

142
00:02:42,470 --> 00:02:42,480
If they point away from each other, it's
 

143
00:02:42,480 --> 00:02:45,350
If they point away from each other, it's
closer to zero. This gives us four

144
00:02:45,350 --> 00:02:45,360
closer to zero. This gives us four
 

145
00:02:45,360 --> 00:02:48,710
closer to zero. This gives us four
numbers, one from each corner. We repeat

146
00:02:48,710 --> 00:02:48,720
numbers, one from each corner. We repeat
 

147
00:02:48,720 --> 00:02:50,390
numbers, one from each corner. We repeat
this process for every pixel in the

148
00:02:50,390 --> 00:02:50,400
this process for every pixel in the
 

149
00:02:50,400 --> 00:02:53,270
this process for every pixel in the
image, calculating four partial results.

150
00:02:53,270 --> 00:02:53,280
image, calculating four partial results.
 

151
00:02:53,280 --> 00:02:55,270
image, calculating four partial results.
We then combine those numbers through

152
00:02:55,270 --> 00:02:55,280
We then combine those numbers through
 

153
00:02:55,280 --> 00:02:57,750
We then combine those numbers through
linear interpolation, a mathematical

154
00:02:57,750 --> 00:02:57,760
linear interpolation, a mathematical
 

155
00:02:57,760 --> 00:03:00,869
linear interpolation, a mathematical
operation used to smooth transitions,

156
00:03:00,869 --> 00:03:00,879
operation used to smooth transitions,
 

157
00:03:00,879 --> 00:03:03,190
operation used to smooth transitions,
first horizontally, then vertically,

158
00:03:03,190 --> 00:03:03,200
first horizontally, then vertically,
 

159
00:03:03,200 --> 00:03:05,270
first horizontally, then vertically,
eliminating visible seams and producing

160
00:03:05,270 --> 00:03:05,280
eliminating visible seams and producing
 

161
00:03:05,280 --> 00:03:07,070
eliminating visible seams and producing
a continuous pattern of organic

162
00:03:07,070 --> 00:03:07,080
a continuous pattern of organic
 

163
00:03:07,080 --> 00:03:09,550
a continuous pattern of organic
variation, smoother at higher

164
00:03:09,550 --> 00:03:09,560
variation, smoother at higher
 

165
00:03:09,560 --> 00:03:11,670
variation, smoother at higher
resolutions. a pattern that would have

166
00:03:11,670 --> 00:03:11,680
resolutions. a pattern that would have
 

167
00:03:11,680 --> 00:03:13,350
resolutions. a pattern that would have
looked completely different if the

168
00:03:13,350 --> 00:03:13,360
looked completely different if the
 

169
00:03:13,360 --> 00:03:16,030
looked completely different if the
initial gradients had pointed in other

170
00:03:16,030 --> 00:03:16,040
initial gradients had pointed in other
 

171
00:03:16,040 --> 00:03:18,470
initial gradients had pointed in other
directions. But we are not limited to

172
00:03:18,470 --> 00:03:18,480
directions. But we are not limited to
 

173
00:03:18,480 --> 00:03:21,190
directions. But we are not limited to
just one of these patterns. We can

174
00:03:21,190 --> 00:03:21,200
just one of these patterns. We can
 

175
00:03:21,200 --> 00:03:23,270
just one of these patterns. We can
generate multiple variations and combine

176
00:03:23,270 --> 00:03:23,280
generate multiple variations and combine
 

177
00:03:23,280 --> 00:03:24,949
generate multiple variations and combine
them using a technique usually referred

178
00:03:24,949 --> 00:03:24,959
them using a technique usually referred
 

179
00:03:24,959 --> 00:03:28,070
them using a technique usually referred
to as fractile noise. With each new

180
00:03:28,070 --> 00:03:28,080
to as fractile noise. With each new
 

181
00:03:28,080 --> 00:03:30,149
to as fractile noise. With each new
layer or octave, we increase the

182
00:03:30,149 --> 00:03:30,159
layer or octave, we increase the
 

183
00:03:30,159 --> 00:03:33,110
layer or octave, we increase the
frequency and reduce the strength. Then

184
00:03:33,110 --> 00:03:33,120
frequency and reduce the strength. Then
 

185
00:03:33,120 --> 00:03:35,270
frequency and reduce the strength. Then
we simply add their values pixel by

186
00:03:35,270 --> 00:03:35,280
we simply add their values pixel by
 

187
00:03:35,280 --> 00:03:37,350
we simply add their values pixel by
pixel, layering detail without

188
00:03:37,350 --> 00:03:37,360
pixel, layering detail without
 

189
00:03:37,360 --> 00:03:40,070
pixel, layering detail without
overwhelming the structure. The first

190
00:03:40,070 --> 00:03:40,080
overwhelming the structure. The first
 

191
00:03:40,080 --> 00:03:41,990
overwhelming the structure. The first
layer captures the broad strokes, the

192
00:03:41,990 --> 00:03:42,000
layer captures the broad strokes, the
 

193
00:03:42,000 --> 00:03:45,270
layer captures the broad strokes, the
big shapes. The next add smaller waves,

194
00:03:45,270 --> 00:03:45,280
big shapes. The next add smaller waves,
 

195
00:03:45,280 --> 00:03:48,229
big shapes. The next add smaller waves,
then finer bumps. That's how you get

196
00:03:48,229 --> 00:03:48,239
then finer bumps. That's how you get
 

197
00:03:48,239 --> 00:03:50,149
then finer bumps. That's how you get
erosion in a mountain or the turbulence

198
00:03:50,149 --> 00:03:50,159
erosion in a mountain or the turbulence
 

199
00:03:50,159 --> 00:03:52,789
erosion in a mountain or the turbulence
in a cloud. It's still just noise, but

200
00:03:52,789 --> 00:03:52,799
in a cloud. It's still just noise, but
 

201
00:03:52,799 --> 00:03:56,309
in a cloud. It's still just noise, but
it feels like nature. And the best part,

202
00:03:56,309 --> 00:03:56,319
it feels like nature. And the best part,
 

203
00:03:56,319 --> 00:03:58,789
it feels like nature. And the best part,
it's incredibly efficient. You can

204
00:03:58,789 --> 00:03:58,799
it's incredibly efficient. You can
 

205
00:03:58,799 --> 00:04:00,789
it's incredibly efficient. You can
compute it on the fly with no need to

206
00:04:00,789 --> 00:04:00,799
compute it on the fly with no need to
 

207
00:04:00,799 --> 00:04:03,910
compute it on the fly with no need to
store large textures or pre-made assets.

208
00:04:03,910 --> 00:04:03,920
store large textures or pre-made assets.
 

209
00:04:03,920 --> 00:04:07,509
store large textures or pre-made assets.
Just math. simple, elegant, fast, and

210
00:04:07,509 --> 00:04:07,519
Just math. simple, elegant, fast, and
 

211
00:04:07,519 --> 00:04:08,670
Just math. simple, elegant, fast, and
endlessly

212
00:04:08,670 --> 00:04:08,680
endlessly
 

213
00:04:08,680 --> 00:04:10,869
endlessly
useful. Let's actually look at some of

214
00:04:10,869 --> 00:04:10,879
useful. Let's actually look at some of
 

215
00:04:10,879 --> 00:04:13,670
useful. Let's actually look at some of
its most common use cases in games.

216
00:04:13,670 --> 00:04:13,680
its most common use cases in games.
 

217
00:04:13,680 --> 00:04:16,870
its most common use cases in games.
First, terrain. In procedural worlds,

218
00:04:16,870 --> 00:04:16,880
First, terrain. In procedural worlds,
 

219
00:04:16,880 --> 00:04:19,390
First, terrain. In procedural worlds,
you often want to generate landscapes

220
00:04:19,390 --> 00:04:19,400
you often want to generate landscapes
 

221
00:04:19,400 --> 00:04:21,749
you often want to generate landscapes
algorithmically. Hills, mountains,

222
00:04:21,749 --> 00:04:21,759
algorithmically. Hills, mountains,
 

223
00:04:21,759 --> 00:04:23,909
algorithmically. Hills, mountains,
valleys, all of that can come from a

224
00:04:23,909 --> 00:04:23,919
valleys, all of that can come from a
 

225
00:04:23,919 --> 00:04:26,469
valleys, all of that can come from a
pearly noise map where each value

226
00:04:26,469 --> 00:04:26,479
pearly noise map where each value
 

227
00:04:26,479 --> 00:04:28,390
pearly noise map where each value
defines the elevation at a point in

228
00:04:28,390 --> 00:04:28,400
defines the elevation at a point in
 

229
00:04:28,400 --> 00:04:29,749
defines the elevation at a point in
space.

230
00:04:29,749 --> 00:04:29,759
space.
 

231
00:04:29,759 --> 00:04:32,230
space.
Barely noise can also define how a world

232
00:04:32,230 --> 00:04:32,240
Barely noise can also define how a world
 

233
00:04:32,240 --> 00:04:34,310
Barely noise can also define how a world
is structured. Not just the height of

234
00:04:34,310 --> 00:04:34,320
is structured. Not just the height of
 

235
00:04:34,320 --> 00:04:37,070
is structured. Not just the height of
the lands, but the layout of entire

236
00:04:37,070 --> 00:04:37,080
the lands, but the layout of entire
 

237
00:04:37,080 --> 00:04:39,909
the lands, but the layout of entire
regions. Where one area ends and another

238
00:04:39,909 --> 00:04:39,919
regions. Where one area ends and another
 

239
00:04:39,919 --> 00:04:42,950
regions. Where one area ends and another
begins, where caves twist. Instead of

240
00:04:42,950 --> 00:04:42,960
begins, where caves twist. Instead of
 

241
00:04:42,960 --> 00:04:45,189
begins, where caves twist. Instead of
building these structures by hand, you

242
00:04:45,189 --> 00:04:45,199
building these structures by hand, you
 

243
00:04:45,199 --> 00:04:47,830
building these structures by hand, you
let the noise carve the space for you.

244
00:04:47,830 --> 00:04:47,840
let the noise carve the space for you.
 

245
00:04:47,840 --> 00:04:50,550
let the noise carve the space for you.
Next, distribution. Instead of placing

246
00:04:50,550 --> 00:04:50,560
Next, distribution. Instead of placing
 

247
00:04:50,560 --> 00:04:52,550
Next, distribution. Instead of placing
things at random, you can use pearly

248
00:04:52,550 --> 00:04:52,560
things at random, you can use pearly
 

249
00:04:52,560 --> 00:04:56,150
things at random, you can use pearly
noise as a density map. Think of trees,

250
00:04:56,150 --> 00:04:56,160
noise as a density map. Think of trees,
 

251
00:04:56,160 --> 00:04:59,189
noise as a density map. Think of trees,
loot, or enemies. Areas with high values

252
00:04:59,189 --> 00:04:59,199
loot, or enemies. Areas with high values
 

253
00:04:59,199 --> 00:05:01,310
loot, or enemies. Areas with high values
get more content while others stay

254
00:05:01,310 --> 00:05:01,320
get more content while others stay
 

255
00:05:01,320 --> 00:05:03,990
get more content while others stay
sparse. The result is natural looking

256
00:05:03,990 --> 00:05:04,000
sparse. The result is natural looking
 

257
00:05:04,000 --> 00:05:06,629
sparse. The result is natural looking
clusters that feel like real ecosystems.

258
00:05:06,629 --> 00:05:06,639
clusters that feel like real ecosystems.
 

259
00:05:06,639 --> 00:05:09,189
clusters that feel like real ecosystems.
Dense forests, scatter resources, or

260
00:05:09,189 --> 00:05:09,199
Dense forests, scatter resources, or
 

261
00:05:09,199 --> 00:05:12,150
Dense forests, scatter resources, or
danger zones growing with enemies. Then

262
00:05:12,150 --> 00:05:12,160
danger zones growing with enemies. Then
 

263
00:05:12,160 --> 00:05:15,430
danger zones growing with enemies. Then
there's texture. Pearly noise is a go-to

264
00:05:15,430 --> 00:05:15,440
there's texture. Pearly noise is a go-to
 

265
00:05:15,440 --> 00:05:17,830
there's texture. Pearly noise is a go-to
tool for visual variety. Often used to

266
00:05:17,830 --> 00:05:17,840
tool for visual variety. Often used to
 

267
00:05:17,840 --> 00:05:20,070
tool for visual variety. Often used to
generate effects like smoke, magical

268
00:05:20,070 --> 00:05:20,080
generate effects like smoke, magical
 

269
00:05:20,080 --> 00:05:23,590
generate effects like smoke, magical
energy, or fire. It can modulate color

270
00:05:23,590 --> 00:05:23,600
energy, or fire. It can modulate color
 

271
00:05:23,600 --> 00:05:25,749
energy, or fire. It can modulate color
and transparency, for example, to make

272
00:05:25,749 --> 00:05:25,759
and transparency, for example, to make
 

273
00:05:25,759 --> 00:05:28,710
and transparency, for example, to make
things feel more organic. It can also

274
00:05:28,710 --> 00:05:28,720
things feel more organic. It can also
 

275
00:05:28,720 --> 00:05:31,270
things feel more organic. It can also
drive animation, both in textures and

276
00:05:31,270 --> 00:05:31,280
drive animation, both in textures and
 

277
00:05:31,280 --> 00:05:34,070
drive animation, both in textures and
larger scenes, like grass swaying in the

278
00:05:34,070 --> 00:05:34,080
larger scenes, like grass swaying in the
 

279
00:05:34,080 --> 00:05:37,590
larger scenes, like grass swaying in the
wind or waves gently rolling. The result

280
00:05:37,590 --> 00:05:37,600
wind or waves gently rolling. The result
 

281
00:05:37,600 --> 00:05:39,670
wind or waves gently rolling. The result
is motion that doesn't feel looped,

282
00:05:39,670 --> 00:05:39,680
is motion that doesn't feel looped,
 

283
00:05:39,680 --> 00:05:42,870
is motion that doesn't feel looped,
always shifting. And the same idea can

284
00:05:42,870 --> 00:05:42,880
always shifting. And the same idea can
 

285
00:05:42,880 --> 00:05:45,830
always shifting. And the same idea can
be applied to sound. Pearling noise can

286
00:05:45,830 --> 00:05:45,840
be applied to sound. Pearling noise can
 

287
00:05:45,840 --> 00:05:48,870
be applied to sound. Pearling noise can
subtly vary things like pitch or volume.

288
00:05:48,870 --> 00:05:48,880
subtly vary things like pitch or volume.
 

289
00:05:48,880 --> 00:05:50,870
subtly vary things like pitch or volume.
Especially useful in ambient elements

290
00:05:50,870 --> 00:05:50,880
Especially useful in ambient elements
 

291
00:05:50,880 --> 00:05:53,950
Especially useful in ambient elements
that repeat often like footsteps or

292
00:05:53,950 --> 00:05:53,960
that repeat often like footsteps or
 

293
00:05:53,960 --> 00:05:56,629
that repeat often like footsteps or
wind. Anything that needs to feel alive

294
00:05:56,629 --> 00:05:56,639
wind. Anything that needs to feel alive
 

295
00:05:56,639 --> 00:05:59,430
wind. Anything that needs to feel alive
can use pearling noise. It's a building

296
00:05:59,430 --> 00:05:59,440
can use pearling noise. It's a building
 

297
00:05:59,440 --> 00:06:03,029
can use pearling noise. It's a building
block, a seed, a rhythm, whatever you

298
00:06:03,029 --> 00:06:03,039
block, a seed, a rhythm, whatever you
 

299
00:06:03,039 --> 00:06:05,510
block, a seed, a rhythm, whatever you
need it to be. Nowhere is this more

300
00:06:05,510 --> 00:06:05,520
need it to be. Nowhere is this more
 

301
00:06:05,520 --> 00:06:07,830
need it to be. Nowhere is this more
obvious than in Minecraft. That game

302
00:06:07,830 --> 00:06:07,840
obvious than in Minecraft. That game
 

303
00:06:07,840 --> 00:06:10,629
obvious than in Minecraft. That game
uses ping noise for everything. But the

304
00:06:10,629 --> 00:06:10,639
uses ping noise for everything. But the
 

305
00:06:10,639 --> 00:06:12,790
uses ping noise for everything. But the
way it generates biomes is especially

306
00:06:12,790 --> 00:06:12,800
way it generates biomes is especially
 

307
00:06:12,800 --> 00:06:15,029
way it generates biomes is especially
clever. Instead of assigning them

308
00:06:15,029 --> 00:06:15,039
clever. Instead of assigning them
 

309
00:06:15,039 --> 00:06:17,029
clever. Instead of assigning them
randomly, it first creates a set of

310
00:06:17,029 --> 00:06:17,039
randomly, it first creates a set of
 

311
00:06:17,039 --> 00:06:18,950
randomly, it first creates a set of
environmental properties using separate

312
00:06:18,950 --> 00:06:18,960
environmental properties using separate
 

313
00:06:18,960 --> 00:06:22,390
environmental properties using separate
noise maps. Temperature, humidity,

314
00:06:22,390 --> 00:06:22,400
noise maps. Temperature, humidity,
 

315
00:06:22,400 --> 00:06:25,670
noise maps. Temperature, humidity,
erosion, elevation, and a few others.

316
00:06:25,670 --> 00:06:25,680
erosion, elevation, and a few others.
 

317
00:06:25,680 --> 00:06:27,590
erosion, elevation, and a few others.
Then it combines those properties using

318
00:06:27,590 --> 00:06:27,600
Then it combines those properties using
 

319
00:06:27,600 --> 00:06:29,909
Then it combines those properties using
a set of rules to decide what biome

320
00:06:29,909 --> 00:06:29,919
a set of rules to decide what biome
 

321
00:06:29,919 --> 00:06:32,230
a set of rules to decide what biome
makes sense in each location. High

322
00:06:32,230 --> 00:06:32,240
makes sense in each location. High
 

323
00:06:32,240 --> 00:06:34,309
makes sense in each location. High
temperature and low humidity, maybe it's

324
00:06:34,309 --> 00:06:34,319
temperature and low humidity, maybe it's
 

325
00:06:34,319 --> 00:06:37,350
temperature and low humidity, maybe it's
a desert. High elevation, humid, and

326
00:06:37,350 --> 00:06:37,360
a desert. High elevation, humid, and
 

327
00:06:37,360 --> 00:06:40,469
a desert. High elevation, humid, and
hot, could be a jungle in the mountains.

328
00:06:40,469 --> 00:06:40,479
hot, could be a jungle in the mountains.
 

329
00:06:40,479 --> 00:06:42,550
hot, could be a jungle in the mountains.
Low elevation and higher ocean, this is

330
00:06:42,550 --> 00:06:42,560
Low elevation and higher ocean, this is
 

331
00:06:42,560 --> 00:06:44,070
Low elevation and higher ocean, this is
a beach.

332
00:06:44,070 --> 00:06:44,080
a beach.
 

333
00:06:44,080 --> 00:06:45,990
a beach.
This way, you don't get snowy peaks

334
00:06:45,990 --> 00:06:46,000
This way, you don't get snowy peaks
 

335
00:06:46,000 --> 00:06:48,469
This way, you don't get snowy peaks
right next to a volcano. You get

336
00:06:48,469 --> 00:06:48,479
right next to a volcano. You get
 

337
00:06:48,479 --> 00:06:50,790
right next to a volcano. You get
transitions, gradients, just like in the

338
00:06:50,790 --> 00:06:50,800
transitions, gradients, just like in the
 

339
00:06:50,800 --> 00:06:54,790
transitions, gradients, just like in the
real world. And it's not just aesthetic.

340
00:06:54,790 --> 00:06:54,800
real world. And it's not just aesthetic.
 

341
00:06:54,800 --> 00:06:57,749
real world. And it's not just aesthetic.
Biomes affect gameplay. What mobs spawn,

342
00:06:57,749 --> 00:06:57,759
Biomes affect gameplay. What mobs spawn,
 

343
00:06:57,759 --> 00:06:59,670
Biomes affect gameplay. What mobs spawn,
what resources appear, what the weather

344
00:06:59,670 --> 00:06:59,680
what resources appear, what the weather
 

345
00:06:59,680 --> 00:07:03,110
what resources appear, what the weather
is like. It's procedural generation, but

346
00:07:03,110 --> 00:07:03,120
is like. It's procedural generation, but
 

347
00:07:03,120 --> 00:07:06,070
is like. It's procedural generation, but
with meaning. A world that makes sense,

348
00:07:06,070 --> 00:07:06,080
with meaning. A world that makes sense,
 

349
00:07:06,080 --> 00:07:08,710
with meaning. A world that makes sense,
even though no one designed it by hands.

350
00:07:08,710 --> 00:07:08,720
even though no one designed it by hands.
 

351
00:07:08,720 --> 00:07:10,870
even though no one designed it by hands.
So, is Pearly Noise really the most

352
00:07:10,870 --> 00:07:10,880
So, is Pearly Noise really the most
 

353
00:07:10,880 --> 00:07:12,710
So, is Pearly Noise really the most
important algorithm in the history of

354
00:07:12,710 --> 00:07:12,720
important algorithm in the history of
 

355
00:07:12,720 --> 00:07:16,150
important algorithm in the history of
video games? It's a big claim, but

356
00:07:16,150 --> 00:07:16,160
video games? It's a big claim, but
 

357
00:07:16,160 --> 00:07:18,150
video games? It's a big claim, but
starting in the mid '90s and especially

358
00:07:18,150 --> 00:07:18,160
starting in the mid '90s and especially
 

359
00:07:18,160 --> 00:07:20,390
starting in the mid '90s and especially
throughout the 2000s, it gained traction

360
00:07:20,390 --> 00:07:20,400
throughout the 2000s, it gained traction
 

361
00:07:20,400 --> 00:07:22,230
throughout the 2000s, it gained traction
and quietly became a standard tool

362
00:07:22,230 --> 00:07:22,240
and quietly became a standard tool
 

363
00:07:22,240 --> 00:07:24,710
and quietly became a standard tool
across the industry. To get a clearer

364
00:07:24,710 --> 00:07:24,720
across the industry. To get a clearer
 

365
00:07:24,720 --> 00:07:26,390
across the industry. To get a clearer
sense of just how far its influence

366
00:07:26,390 --> 00:07:26,400
sense of just how far its influence
 

367
00:07:26,400 --> 00:07:28,550
sense of just how far its influence
goes, I analyzed the broad set of games

368
00:07:28,550 --> 00:07:28,560
goes, I analyzed the broad set of games
 

369
00:07:28,560 --> 00:07:31,189
goes, I analyzed the broad set of games
from three categories. the 50 best

370
00:07:31,189 --> 00:07:31,199
from three categories. the 50 best
 

371
00:07:31,199 --> 00:07:33,430
from three categories. the 50 best
sellers of all time, the game of the

372
00:07:33,430 --> 00:07:33,440
sellers of all time, the game of the
 

373
00:07:33,440 --> 00:07:35,350
sellers of all time, the game of the
year winners, and the titles most

374
00:07:35,350 --> 00:07:35,360
year winners, and the titles most
 

375
00:07:35,360 --> 00:07:37,110
year winners, and the titles most
frequently cited as the greatest ever

376
00:07:37,110 --> 00:07:37,120
frequently cited as the greatest ever
 

377
00:07:37,120 --> 00:07:39,150
frequently cited as the greatest ever
made based on cross reference critical

378
00:07:39,150 --> 00:07:39,160
made based on cross reference critical
 

379
00:07:39,160 --> 00:07:42,950
made based on cross reference critical
rankings. Altogether, nearly 400 titles.

380
00:07:42,950 --> 00:07:42,960
rankings. Altogether, nearly 400 titles.
 

381
00:07:42,960 --> 00:07:44,790
rankings. Altogether, nearly 400 titles.
For each game, I analyzed whether it

382
00:07:44,790 --> 00:07:44,800
For each game, I analyzed whether it
 

383
00:07:44,800 --> 00:07:47,029
For each game, I analyzed whether it
used pearling noise or a closely related

384
00:07:47,029 --> 00:07:47,039
used pearling noise or a closely related
 

385
00:07:47,039 --> 00:07:49,070
used pearling noise or a closely related
technique in any of its most common

386
00:07:49,070 --> 00:07:49,080
technique in any of its most common
 

387
00:07:49,080 --> 00:07:51,589
technique in any of its most common
applications. Each case was scored using

388
00:07:51,589 --> 00:07:51,599
applications. Each case was scored using
 

389
00:07:51,599 --> 00:07:54,550
applications. Each case was scored using
three levels of certainty. No use,

390
00:07:54,550 --> 00:07:54,560
three levels of certainty. No use,
 

391
00:07:54,560 --> 00:07:57,510
three levels of certainty. No use,
possible or indirect use, and clear or

392
00:07:57,510 --> 00:07:57,520
possible or indirect use, and clear or
 

393
00:07:57,520 --> 00:08:00,589
possible or indirect use, and clear or
documented use. The results were pretty

394
00:08:00,589 --> 00:08:00,599
documented use. The results were pretty
 

395
00:08:00,599 --> 00:08:03,350
documented use. The results were pretty
striking. Among the 50 bests sellers,

396
00:08:03,350 --> 00:08:03,360
striking. Among the 50 bests sellers,
 

397
00:08:03,360 --> 00:08:06,070
striking. Among the 50 bests sellers,
84% showed clear or very likely use of

398
00:08:06,070 --> 00:08:06,080
84% showed clear or very likely use of
 

399
00:08:06,080 --> 00:08:08,869
84% showed clear or very likely use of
ply noise or derivatives. The remaining

400
00:08:08,869 --> 00:08:08,879
ply noise or derivatives. The remaining
 

401
00:08:08,879 --> 00:08:11,510
ply noise or derivatives. The remaining
16% were mostly older titles. Some

402
00:08:11,510 --> 00:08:11,520
16% were mostly older titles. Some
 

403
00:08:11,520 --> 00:08:13,350
16% were mostly older titles. Some
released even before the algorithm was

404
00:08:13,350 --> 00:08:13,360
released even before the algorithm was
 

405
00:08:13,360 --> 00:08:15,909
released even before the algorithm was
invented. In the game of the year list,

406
00:08:15,909 --> 00:08:15,919
invented. In the game of the year list,
 

407
00:08:15,919 --> 00:08:17,589
invented. In the game of the year list,
every single game used it in at least

408
00:08:17,589 --> 00:08:17,599
every single game used it in at least
 

409
00:08:17,599 --> 00:08:20,070
every single game used it in at least
one common form. Most often for visuals

410
00:08:20,070 --> 00:08:20,080
one common form. Most often for visuals
 

411
00:08:20,080 --> 00:08:22,469
one common form. Most often for visuals
and effects, but also for animation and

412
00:08:22,469 --> 00:08:22,479
and effects, but also for animation and
 

413
00:08:22,479 --> 00:08:25,029
and effects, but also for animation and
procedural content. And in the list of

414
00:08:25,029 --> 00:08:25,039
procedural content. And in the list of
 

415
00:08:25,039 --> 00:08:26,790
procedural content. And in the list of
the greatest games of all time, which

416
00:08:26,790 --> 00:08:26,800
the greatest games of all time, which
 

417
00:08:26,800 --> 00:08:29,029
the greatest games of all time, which
spans several decades, the further you

418
00:08:29,029 --> 00:08:29,039
spans several decades, the further you
 

419
00:08:29,039 --> 00:08:31,110
spans several decades, the further you
go in time, the more the algorithm shows

420
00:08:31,110 --> 00:08:31,120
go in time, the more the algorithm shows
 

421
00:08:31,120 --> 00:08:34,070
go in time, the more the algorithm shows
up. Finally, many of the top selling

422
00:08:34,070 --> 00:08:34,080
up. Finally, many of the top selling
 

423
00:08:34,080 --> 00:08:36,630
up. Finally, many of the top selling
titles don't just use it, they use it

424
00:08:36,630 --> 00:08:36,640
titles don't just use it, they use it
 

425
00:08:36,640 --> 00:08:39,029
titles don't just use it, they use it
often and in more sophisticated ways

426
00:08:39,029 --> 00:08:39,039
often and in more sophisticated ways
 

427
00:08:39,039 --> 00:08:41,269
often and in more sophisticated ways
across multiple domains layer with other

428
00:08:41,269 --> 00:08:41,279
across multiple domains layer with other
 

429
00:08:41,279 --> 00:08:43,430
across multiple domains layer with other
systems. Probably noise has quietly

430
00:08:43,430 --> 00:08:43,440
systems. Probably noise has quietly
 

431
00:08:43,440 --> 00:08:44,949
systems. Probably noise has quietly
become one of the most widely used

432
00:08:44,949 --> 00:08:44,959
become one of the most widely used
 

433
00:08:44,959 --> 00:08:47,670
become one of the most widely used
algorithms in game development. It

434
00:08:47,670 --> 00:08:47,680
algorithms in game development. It
 

435
00:08:47,680 --> 00:08:50,870
algorithms in game development. It
shapes how games look, sound, and feel.

436
00:08:50,870 --> 00:08:50,880
shapes how games look, sound, and feel.
 

437
00:08:50,880 --> 00:08:52,550
shapes how games look, sound, and feel.
And it's the backbone of procedural

438
00:08:52,550 --> 00:08:52,560
And it's the backbone of procedural
 

439
00:08:52,560 --> 00:08:54,470
And it's the backbone of procedural
generation, a technique that defines

440
00:08:54,470 --> 00:08:54,480
generation, a technique that defines
 

441
00:08:54,480 --> 00:08:57,350
generation, a technique that defines
modern game design. If you want proof of

442
00:08:57,350 --> 00:08:57,360
modern game design. If you want proof of
 

443
00:08:57,360 --> 00:08:59,590
modern game design. If you want proof of
its impact, just look at the bestselling

444
00:08:59,590 --> 00:08:59,600
its impact, just look at the bestselling
 

445
00:08:59,600 --> 00:09:01,509
its impact, just look at the bestselling
and arguably most influential game of

446
00:09:01,509 --> 00:09:01,519
and arguably most influential game of
 

447
00:09:01,519 --> 00:09:03,430
and arguably most influential game of
the last couple of decades. Would

448
00:09:03,430 --> 00:09:03,440
the last couple of decades. Would
 

449
00:09:03,440 --> 00:09:06,509
the last couple of decades. Would
Minecraft exist without pearly noise?

450
00:09:06,509 --> 00:09:06,519
Minecraft exist without pearly noise?
 

451
00:09:06,519 --> 00:09:09,110
Minecraft exist without pearly noise?
Maybe, but it definitely wouldn't feel

452
00:09:09,110 --> 00:09:09,120
Maybe, but it definitely wouldn't feel
 

453
00:09:09,120 --> 00:09:11,430
Maybe, but it definitely wouldn't feel
the same. Some of the most powerful

454
00:09:11,430 --> 00:09:11,440
the same. Some of the most powerful
 

455
00:09:11,440 --> 00:09:13,269
the same. Some of the most powerful
tools in games are the ones you never

456
00:09:13,269 --> 00:09:13,279
tools in games are the ones you never
 

457
00:09:13,279 --> 00:09:15,430
tools in games are the ones you never
see. Pearly noise doesn't call attention

458
00:09:15,430 --> 00:09:15,440
see. Pearly noise doesn't call attention
 

459
00:09:15,440 --> 00:09:17,750
see. Pearly noise doesn't call attention
to itself, but it's always there under

460
00:09:17,750 --> 00:09:17,760
to itself, but it's always there under
 

461
00:09:17,760 --> 00:09:21,030
to itself, but it's always there under
the surface. It's not just math. It's a

462
00:09:21,030 --> 00:09:21,040
the surface. It's not just math. It's a
 

463
00:09:21,040 --> 00:09:22,470
the surface. It's not just math. It's a
way to build complexity out of

464
00:09:22,470 --> 00:09:22,480
way to build complexity out of
 

465
00:09:22,480 --> 00:09:24,470
way to build complexity out of
simplicity to create the illusion of

466
00:09:24,470 --> 00:09:24,480
simplicity to create the illusion of
 

467
00:09:24,480 --> 00:09:26,710
simplicity to create the illusion of
infinity in a world that fits on a hard

468
00:09:26,710 --> 00:09:26,720
infinity in a world that fits on a hard
 

469
00:09:26,720 --> 00:09:29,389
infinity in a world that fits on a hard
drive. Bly noise isn't why we play

470
00:09:29,389 --> 00:09:29,399
drive. Bly noise isn't why we play
 

471
00:09:29,399 --> 00:09:34,590
drive. Bly noise isn't why we play
games, but maybe is why they feel like

472
00:09:34,590 --> 00:09:34,600
games, but maybe is why they feel like
 

473
00:09:34,600 --> 00:09:39,240
games, but maybe is why they feel like
games. See you next time.

