IFS-Barnsley
From Ultrafractal Wiki
IFS-Barnsley is a Fractal Formula in sam.ufm.
Contents |
What is it?
This is a formula derived from Fractint's Barnsley types. It is based on the following iterated algorithm :
if [condition on z] z = (z + p1)*c1 else z = (z + p2)*c2 endif
where p1 and p2 are arbitrary complex parameters and c1 and c2 are function of the pixel value (Mandelbrot type) or of the seed value (Julia type). It is best used with the "switch" mode. Load the Mandelbrot version of the formula, find an interesting combinaison of parameters and hit ctrl-j to choose your favorite Julia set. Mathematically, it hasn't much to do with ifs, but, strangely, some ifs patterns can be reproduced with it.
Parameters
Mode
This defines the condition on z appearing in the algorithm. The "Real" mode checks whether the real part of z is greater of lower than the "Critical Value" parameter. The "Imaginary" mode works the same with the imaginary part of z. The "Alternate" apply the real and imaginary modes alternatively. "Cabs" does the same as real with the modulus of z. "Cross" does it with the product of the real and imaginary part of z.
Critical value
See above to see how it works. It can be either positive or negative, but shouldn't be too far from 0...
Parameter 1/2
The parameters p1 and p2 in the algorithm.
Case 1/2 Pixel/Seed function
The functions applied to the pixel/seed to give the constants c1 and c2.
