• January 22, 2021, 02:01:00 PM

Login with username, password and session length

Author Topic:  How many different ways are there to show such set ?  (Read 1432 times)

0 Members and 1 Guest are viewing this topic.


Offline Adam Majewski

  • Fractal Frogurt
  • ******
  • Posts: 434
Re: How many different ways are there to show such set ?
« Reply #31 on: January 13, 2021, 09:16:50 PM »

@saka

New method : blended gradient like in KFMovieMaker https://github.com/adammaj1/Mandelbrot-set-with-blended-gradients



btw : I was "fighting " with smooth escape time

I know :
Code: [Select]

float sn = n - log2(log2(dot(z,z))) + 4.0;  // equivalent optimized smooth iteration count from Inigo Quilez
double t = log(log(sqrt(test1)) / log(GetBailoutRadius())) / log((double) power);  // from KF


but for I used:

Code: [Select]
double sn = ER/cabs(z);
where ER = EscapeRadius = BailoutRadius




Offline iRyanBell

  • Strange Attractor
  • ******
  • Posts: 81
Re: How many different ways are there to show such set ?
« Reply #32 on: January 20, 2021, 10:57:28 PM »
Great shading + clean C code! Experimenting with the reflections using:

Code: [Select]
Z := complex(x, y)
C := complex(jX, jY) // 0.25 + 0i
i := 0

dC := complex(0, 0)
reflection := 0.0;
reflection2 := 0.0;
trap := cdot(Z, Z)
min := trap
min2 := 2*min
bounds := 0.0
mIter := i

v := cmplx.Exp(complex(0.0, 1.5*math.Pi));

for i = 0; i < mI; i++ {
    dC = 0.25 * dC * Z + 1.0
    Z = cmplx.Pow(Z, 2)+C

    u := Z / dC;
    u = u / complex(cmplx.Abs(u), 0)

    reflection = cdot(u, v)
    reflection = math.Pow(reflection, 2)

    trap = cdot(Z, Z)
    if trap < min {
      min2 = min
      min = trap
      mIter = i
    } else if trap < min2 {
      min2 = trap
    }
    bounds = math.Pow(1.0-min/min2, 0.1)

    if (cmplx.Abs(Z) > 100.0) {
      reflection2 = cdot(u, v);
      break;
    }
}

return reflection+reflection2+bounds



xx
HLF ? Math ⇔ Art exhibition - altenerate ways to display Gosper Curve

Started by kram1032 on Share a fractal

1 Replies
1008 Views
Last post September 30, 2018, 05:55:38 PM
by Kalter Rauch
xx
A TV show for young fractal nerds

Started by greentexas on Fractal Humor

0 Replies
386 Views
Last post June 28, 2018, 05:53:17 PM
by greentexas
xx
IOTMC December 'show us your art' the winners are?

Started by Caleidoscope on Fractal Image of the Month

17 Replies
948 Views
Last post January 03, 2021, 04:30:57 PM
by claude
xx
tutorial 04 by default no images show up

Started by charPixel on Fragmentarium

5 Replies
515 Views
Last post December 24, 2017, 03:06:36 AM
by 3DickUlus
xx
IOTMC November 'show us your art' And the winners are...?

Started by Caleidoscope on Fractal Image of the Month

12 Replies
587 Views
Last post December 04, 2020, 11:20:33 PM
by FractalAlex