|
![](/i/fill.gif) |
In article <3eb3ac4c@news.povray.org>, gimi <gim### [at] psico ch> wrote:
> What du you need recursion for? Most fractals I know of
> (Mandelbrot included) are computed in simple iterations,
> as in (pseudo-code):
You can make an iterative version of any recursive algorithm. However,
the recursive version is often much simpler, and most fractals are
mathematically defined as recursive because of the self-similar nature
of fractals. At the time this was written, POV supported function
recursion, but it still does not support loops, though you can imitate
it using a long string of select() calls.
--
Christopher James Huff <cja### [at] earthlink net>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tag povray org
http://tag.povray.org/
Post a reply to this message
|
![](/i/fill.gif) |