thebookofshaders/14
Patricio Gonzalez Vivo cb8c6cbfda starting chapter 14 with a bit of text and basic examples 2024-08-13 11:24:06 -04:00
..
README.md starting chapter 14 with a bit of text and basic examples 2024-08-13 11:24:06 -04:00
TITLE.md adding subnails 2016-04-23 14:13:44 -04:00
index.php starting chapter 14 with a bit of text and basic examples 2024-08-13 11:24:06 -04:00
mandelbrot_00.frag starting chapter 14 with a bit of text and basic examples 2024-08-13 11:24:06 -04:00
tiling_00.frag starting chapter 14 with a bit of text and basic examples 2024-08-13 11:24:06 -04:00
tiling_01.frag starting chapter 14 with a bit of text and basic examples 2024-08-13 11:24:06 -04:00
tiling_02.frag starting chapter 14 with a bit of text and basic examples 2024-08-13 11:24:06 -04:00
tiling_03.frag starting chapter 14 with a bit of text and basic examples 2024-08-13 11:24:06 -04:00
tiling_04.frag starting chapter 14 with a bit of text and basic examples 2024-08-13 11:24:06 -04:00
tiling_05.frag starting chapter 14 with a bit of text and basic examples 2024-08-13 11:24:06 -04:00
tiling_06.frag starting chapter 14 with a bit of text and basic examples 2024-08-13 11:24:06 -04:00
tiling_07.frag starting chapter 14 with a bit of text and basic examples 2024-08-13 11:24:06 -04:00
tiling_08.frag starting chapter 14 with a bit of text and basic examples 2024-08-13 11:24:06 -04:00

README.md

Fractals

In the prevous chapter we addeded incrising octaves of noise while we were decreasing it's amplitud, resulting in a more granular noise we called that fractal noise. It's name reside in the fact that the structure repeats it self at different scales. That property is known as self similarity. And is actually very useful in computer graphics, because it allows us to create complex structures from simple ones at any scale or resolution. For the same reason fractals can be spot on nature everywhere, from the shape of a tree, a shell, fern, etc. It's a smart way for life to grow and scale in a very efficient way with very little information.

Let's study self similarity in a simple way, no complicated math or formulas for now. We will go back and use tile patterns and a random functions from chapters 9 and 10 to get familiar with recursion and self similarity.

Recursion

Self similarity

Mathematical model