"It's a fern leaf" you think.
Yes it is, but no, it is not. It's just the result of a recursive formula.
Look at the next one:
Every leaf of the fern is composed from smaller leafs that are the same, but rotated, shrinked and placed sequentially on the stem.
See where this is going?
The whole leaf is composed from smaller leafs, which are, in their turn, composed of even smaller leafs, which are, in their turn, composed of even ....
--> The previous sentence is the iteration process. How many times you want to compose something from smaller parts that look the same, but are rotated and translated, is called the iteration depth.
Computers are very happy to do the same thinover and over. They are our top iterators. They like it, because the need the instructions just once, and then they will repeat it to infinity. Or breakdown, if you're using XP.
So, recursive use of the same formula will lead us to some amazing effects:
![]() |
A broccoli?
Nope.
A recursive computer drawing. A fractal.
Look how a snowflake (Koch's snowflake) is formed by
- dividing every side of a triangle in three parts,
- Removing the middle part,
- replacing the empty line with two triangulated parts,
- repeating this over and over, on any scale.
Gotta close with some really interesting fractal art impression...
There's more on fractals and recursion, So if you like it, let me know.
Courtesy to Wikipedia for most of the pictures.



