John Pirillo"Writing fuels the heart and soul!" Science Fiction, Fantasy and Adventure Tales to Take Your Breath Away!
The first fractal flame is, in my mind, exquisite and of a rare beauty. It has just the blend of gradations to make it seem ehtereal, otherworldly, and of another dimension that when one first sees it, it is almost hypnotic in nature, drawing our senses deeper and deeper into its spirals of beauty.
Below is something from wikipedia that I thought might help you to understand why these kinds of images are so special.
The information is a bit on the technical side, but at least you can get an idea of just how complex this kind of artform is, as well as how extremely demanding it can be in time and patience.
Fractal flame From Wikipedia, the free encyclopedia
Fractal flames are a member of the iterated function system class of fractals created by Scott Draves in 1992. Draves' open-source code was later ported into Adobe After Effects graphics software and translated into the Apophysis fractal flame editor.
Fractal flames differ from ordinary iterated function systems in three ways:
Creating the histogram First one iterates a set of functions, starting from a randomly chosen point P = (P.x,P.y,P.c), where the third coordinate indicated the current color of the point.
Set of flame functions: In each iteration, choose one of the functions above where the probability that Fj is chosen is pj. Then one computes the next iteration of P by applying Fj on (P.x,P.y).
Each individual function has the following form:
where the parameter wk is called the weight of the variation Vk. Draves suggests  that all :s are non-negative and sum to one, but implementations such as Apophysis do not impose that restriction.
The functions Vk are a set of predefined functions. A few examples are
P.c := (P.c + (F_j)color) / 2 After each iteration, one updates the histogram at the point corresponding to (P.x,P.y). This is done as follows:
histogram[x][y][FREQUENCY] := histogram[x][y][FREQUENCY]+1 histogram[x][y][COLOR] := (histogram[x][y][COLOR] + P.c )/2
The colors in the image will therefore reflect what functions were used to get to that part of the image.
Rendering an image To increase the quality of the image, one can use supersampling to decrease the noise. This involves creating a histogram larger than the image so each pixel has multiple data points to pull from.
For example, creating a histogram with 300×300 cells in order to draw an 100×100 px image. Each pixel would use a 3×3 group of histogram buckets to calculate its value.
For each pixel (x,y) in the final image, do the following computations:
frequency_avg[x][y] := average_of_histogram_cells_frequency(x,y); color_avg[x][y] := average_of_histogram_cells_color(x,y); alpha[x][y] := log(frequency_avg[x][y]) / log(frequency_max); //frequency_max is the maximal number of iterations that hit a cell in the histogram. final_pixel_color[x][y] := color_avg[x][y] * alpha[x][y]^(1/gamma); //gamma is a value greater than 1.
The algorithm above uses gamma correction to make the colors appear brighter. This is implemented in for example the Apophysis software.
To increase the quality even more, one can use gamma correction on each individual color channel, but this is a very heavy computation, since the log function is slow.
A simplified algorithm would be to let the brightness be linearly dependent on the frequency:
final_pixel_color[x][y] := color_avg[x][y] * frequency_avg[x][y]/frequency_max;
but this would make some parts of the fractal lose detail, which is undesirable.
Density Estimation A demonstration of Density Estimation. In the above half, you can see the noise and individual samples. On the below half, rendered with Density Estimation, the noise is smoothed out without destroying the sharp edges. The flame algorithm is like a Monte Carlo simulation, with the flame quality directly proportional to the number of iterations of the simulation. The noise that results from this stochastic sampling can be reduced by blurring the image, to get a smoother result in less time. One does not however want to lose resolution in the parts of the image that receive many samples and so have little noise.
This problem can be solved with adaptive density estimation to increase image quality while keeping render times to a minimum. FLAM3 uses a simplification of the methods presented in *Adaptive Filtering for Progressive Monte Carlo Image Rendering*, a paper presented at WSCG 2000 by Frank Suykens and Yves D. Willems. The idea is to vary with width of the filter inversely proportional to the number of samples available.
As a result, areas with few samples and lots of noise get blurred and smoothed, but areas with lots of samples and low noise are left unaffected. See https://code.google.com/p/flam3/wiki/DensityEstimation.
Not all Flame implementations use density estimation.