If you're seeing this message, it means we're having trouble loading external resources on our website.

If you're behind a web filter, please make sure that the domains *.kastatic.org and *.kasandbox.org are unblocked.

Main content
Current time:0:00Total duration:2:24

Video transcript

great work so far we define a curve which captures the overall variation and brightness the brightness depends on the y-coordinate or amplitude of a curve but remember our goal is to capture the patterns of different resolutions the first curve only captures variation at low resolutions think of it as a broad stroke so we need to add higher resolution variation to our curve these are the smaller details or changes in the amplitude to do this simply add two curves together for example take our original curve and add it to the second curve which would result in this final curve very cool mathematically we are just adding the y-coordinates together okay we've updated our program so that we can try this out at the top is the low resolution curve same as the previous exercise and below it is a new curve which is created by squishing two copies of the original curve together it's a higher resolution curve because it contains more detail call this our medium resolution curve and we can keep doing this here we've added a third curve it's defined by squishing two copies of the medium resolution curve together in the same way this is our high resolution curve it contains the most detailed variations and at the bottom we show the results of adding these curves together I see you have amplitude sliders as well that's fancy yes these allows you to adjust how much that resolution contributes to the final curve meaning if the amplitude slider is set to zero then that resolution is ignored in the final curve and if I ramped up it really takes over by the way this process was invented by Ken Perlin in 1988 and this is why the variation is called Berlin noise and his idea has been used in almost every computer-generated movie in the past 20 years now it's your turn to try this out in the next exercise we'll test your understanding of these multiple resolution curves and then we can move into higher dimensions do you have an anecdote about Perlin noise well in addition to surface shading we also use noise patterns to control our hair grooms for example we use purlins and other types of noises to control the length of hairs the width thus kragle clumping and other parameters you can see in almost all of our hair grooms definitely spots hair is a good one to look at for that in the good dinosaur bring me