Mandelbrots meets mandelbox.
Hadn't introduced some of formulas to public. Consider this something like forum post and the wikipedia article;)
At first I wanted to implement something like Folding Int Power becouse it's often used. It and the lack of knowledge of JIT acted as catalisator for creation of new.
Algebraic Space Fold:
Initialisation:
x,y,z= pixel coordinates.
///Folding
///This step is necessary, as floats interfere with formula and generates something else.
intFold:=round(Fold);
x := x + abs(x-intFold) - abs(x+intFold);
y := y + abs(y-intFold) - abs(y+intFold);
z := z + abs(z-intFold) - abs(z+intFold);
w := w + abs(w-intFold) - abs(w+intFold);
x:=x * Scale;
y:=y * Scale;
z:=z * Scale;
w:=w * Scale;
It starts simmilar to Tglad's AmazingBox. I don't know where I got this, this fold is slightly different, and at least one operation faster. Sign could be more important for mandelbrot sets.
Here this folding must use integer numbers. Or else it generates something else. Not shure, but maybe small remains of float can sway symmetry brakeing to the another direction.
///Addition, new version - julia set like
x1 := x + vAdditionX ;
y1 := y + vAdditionY ;
z1 := z + vAdditionZ ;
w1 := w + AdditionW ;
I added this later just to have more variety.
Large structure of all of these formulas is the same. If in one of the wievpoint one of FLD formula generated something, other will do the same. Zooms here increase level of detail as in 2D mandelbrot set.
// quaternion pow2
x := x1*x1 - y1*y1 - z1*z1 - w1*w1;
y := 2*x1*y1;
z := 2*x1*z1;
w := 2*w1*x1;
Any of the 3D or 4D multiplications would generate the fractal including all of the mandelbulbs.
However most of 3D mandelbrot used here do not generate nice symmetric fractals.
Instead, raising in power by mathematical correct multiplication formulas whitch don't produces mandelbrot fractals at all generates the most beautiful regular shapes.
Maybe this shows that generation of all of the 3D mandelbrots involves some sort of symmetry brakeing. Trigonometry based bulbs are both regular and fractal but some of symetry brakeing could be trigonometic, realy I don't know.
There were a nice thread by Jos Hendriks that multiplication of complex numbers is movement in complex plane:
http://www.fractalforums.com/index.php?topic=11008.0I used that a lot. Here the most interesting are:
///hypercomplex multiplication, changed to "crystal" fractal
// what in 2D complex numbers is when i*i=1.
x:= x1*x1 + y1*y1 + z1*z1 + w1*w1;
y:= 2*x1*y1 + 2* z1*w1;
z:= 2*x1*z1 + 2* y1*w1;
w:= 2*x1*w1 + 2* y1*z1;
in 2D this coresponds to is split complex when i*i=1. Mandelbrot set of it is just square, but it have interesting cubic julia sets and buddhabrot renders.
[END]
Formula version 1.1
4D
As main fold -
crystal version of hypercomplex pow2 mandelbrot -
where y*y=1 is like x*x=1
Generates diamond like structures.
* * *
By Edgar Malinovsky
These formulas is alsou quite a fast as it requires just few iterations, average = 3.6 and max = 6.
These formulas
http://www.fractalforums.com/mandelbulb-3d/em-formulas-for-mandelbulb3d/Here is the pictures:
Standart mandelbulb
Hypercrystal
Pillars of Khwarezmi. A poetic name for bicomplex power of split complex power - the simplest ever:
This was generated by quaternion pow2:
Quat pow 2 hybridased with some simmilar formula:
It is not something very new. Hovewer I hadn't seen these sort of multiplication used like that.