The Gingerbread Man

Gingerbread Man The picture on the right shows the gingerbread man fractal, which is quite aptly named, as you can see. This fractal is described in the book "The Science of Fractal Images." Even though it looks somewhat complex, it can easily be created by iterating the following functions:

Xn = 1 - Yn-1 + | X n-1 |
Yn = X n-1

The initial values for X and Y are arbitrary. The set shown was created with the values X=-1 and Y=0.