home *** CD-ROM | disk | FTP | other *** search
- The mandel pattern computes the standard Mandelbrot fractal pattern
- and projects it onto the X-Y plane. It uses the X and Y coordinates to com-
- pute the Mandelbrot set. The pattern is specified with the keyword mandel
- followed by an integer number. This number is the maximum number of itera-
- tions to be used to compute the set. Typical values range from 10 up to 256
- but any positive integer may be used. For example:
- sphere {
- <0, 0, 0>, 1
- pigment {
- mandel 25
- color_map {
- [0.0 color Cyan]
- [0.3 color Yellow]
- [0.6 color Magenta]
- [1.0 color Cyan]
- }
- scale .5
- }
- }
-
- The value passed to the color map is computed by the formula:
- value = number_of_iterations / max_iterations
-
- The color extends infinitely in the Z direction similar to a planar
- image map.
-