Welcome to Fractal Forums

Fractal Math, Chaos Theory & Research => (new) Theories & Research => Topic started by: DarkBeam on January 14, 2012, 05:27:01 PM




Title: Another Mandelbrot-like box
Post by: DarkBeam on January 14, 2012, 05:27:01 PM
This is my attempt to create a "Mandel" box. In fact, Tglad's attempt is an hyperbolic IFS fractal, distant from Mandelbrot's ideas. What can happen if we apply a "complex" function instead of a sphere inversion? :)

A bulbox of power -2, or you name it...

- At first do a Tglad folding
- Calculate radius = cabs(x,y,z)
- Scale the vector
- Raise to power -2 the vector (according to W/N theory), and store in Tvec
// W/N power -2 formula is (with unsharpening factor);
// Tvec = [ ( x*x - y*y ) a ; -2*x*y*a ; -2*z*rxy*izM ] * pow(radius,-4)
// and rxy = sqrt(x*x+y*y+Unsh), a = 1 - (z/rxy)^2
// (Yes both z and y have negative sign, that's why a neg ISc is better)
- If radius > 1, just add C. (Gives the boxy look, never executed in "Disable box" mode)
- ElseIf radius < InR, vector = ISc*Tvec + Cvec (apply the exponentiation)
- Else; (interpolation, necessary to remove branch cuts)
  k = (R-InR)/(1-InR)
  x = ISc*Tvecx * (1-k) + oldx * k + Cx
  y = ISc*Tvecy * (1-k) + oldy * k + Cy
  z = ISc*Tvecz * (1-k) + oldz * k + Cz

- Now multiply the vector by the scale
- Finally add C

Result is less interesting frome one point of view (zooming in shows weird deformations very often) but more visually rich from another. Or not?  :alien:

Images are from a selection of random pics, with different scales juliaseeds and zmuls :dink:

Yes you can render it - open BulboxP-2.m3f on the latest build of MB3d :)