News: Support us via Flattr FLATTR Link

## The All New FractalForums is now in Public Beta Testing! Visit FractalForums.org and check it out!

 Pages: [1]   Go Down
 Author Topic: A new mandelbulb I think  (Read 2913 times) Description: 0 Members and 1 Guest are viewing this topic.
Fractal Molossus

Posts: 703

 « on: November 28, 2009, 05:13:14 AM »

This 2nd order bulb is rotating around the j, i then real axes in turn. Just doing this is over-rotating the bulb, the surface area multiplies by 8 rather than by 4, so I fix this by putting the radius to the power of 2*sqrt(2).
It is interesting because 2 axes are symmetrical and 1 axis has rotational symmetry. It also shows 3d mandelbrot-like tendrils and looks to be connected. Still got whipped cream sections though

The code is:

r = (magn=sqrt(magn))^(@mpwr*sqrt(@mpwr) - 1) ; the -1 because the rotated z is already scaled by mag before we multiply by r
; rotate around j
th = @mpwr*atan2(zri)
float flatJ = sqrt(|zri|)
zri = flatJ*(cos(th) + flip(sin(th)))
; rotate around i
float om = @mpwr*atan2(zj + flip(real(zri)))
float flatI = sqrt(sqr(real(zri)) + sqr(zj))
zj = flatI*cos(om)
zri = (flatI*sin(om) + flip(imag(zri)))
; rotate around real
ph = @mpwr*atan2(imag(zri) + flip(zj))
float flatR = sqrt(sqr(imag(zri)) + sqr(zj))
zj = flatR*sin(ph)
zri = real(zri) + flip(flatR*cos(ph))

zj = r*zj + cj
zri = r*zri + cri
 mandelmahem1.jpg (77.81 KB, 604x577 - viewed 658 times.)  mandelmahem2.jpg (62.58 KB, 602x572 - viewed 574 times.)  mandelmahem3.jpg (77.39 KB, 574x571 - viewed 595 times.)  mandelmahem4.jpg (67.21 KB, 634x626 - viewed 611 times.) Logged
 Pages: [1]   Go Down