Fractals
From GenerativeArt
(Difference between revisions)
Fractals can be defined and generated by recursive functions. For example, take the factorial function: | Fractals can be defined and generated by recursive functions. For example, take the factorial function: | ||
- | < | + | :<var>5! = 5 * 4 * 3 * 2 * 1</var> |
+ | :<var>N! = N * (N - 1) * (N - 2) * ... * 1</var> | ||
====='''Non-recursive factorial function'''===== | ====='''Non-recursive factorial function'''===== |