This is a fractal, a form that repeats itself (self-similar).
You take a simple form, for example two lines in a corner.
In the second iteration, replace each line with a smaller version of the form, now you have four lines. In the third iteration, you have 8 lines.
This way, simple forms morph into beautiful and often surprising structures. Fractals often occur in nature, mountains, waves, romanesco...
