Welcome to Fractal Forums

Fractal Math, Chaos Theory & Research => General Discussion => Topic started by: lycium on February 17, 2016, 05:01:07 AM




Title: Fun formula
Post by: lycium on February 17, 2016, 05:01:07 AM
Still quite a lot of exploring to be done with this  O0

Code:
const float2 c = (float2)(1.0f,  sqrt(3.0f)) * -0.4899995f;
const float2 a = (float2)(0.9f, 0.2931446f);

float2 z = p;

const int max_iters = 1 << 10;

int i = 0;
for ( ; i < max_iters; ++i)
{
  const float2 z_num = cmul(z, z) + c;
  const float2 z_den = cmul(z, z) - (float2)(1, 0);
  const float2 m = cdiv(z_num, z_den);

  const float2 n = a + cdiv((float2)(1, 0), cmul(z, z) - cmul(a, a));

  z = cmul(cdiv(m, n), z);

  if (length(z) > 640000) break;
}

// i is bailout iteration

Renders:

(http://pre02.deviantart.net/7c01/th/pre/f/2016/047/4/1/spectral_julia_by_lyc-d9s1ytb.jpg) (http://orig03.deviantart.net/16c9/f/2016/047/4/1/spectral_julia_by_lyc-d9s1ytb.jpg)

Click for 4k resolution image or visit http://lyc.deviantart.com/art/spectral-julia-591316607

(http://pre13.deviantart.net/6cd7/th/pre/f/2016/047/3/f/new_formula_8k_render_by_lyc-d9s1zyw.jpg) (http://orig13.deviantart.net/54ab/f/2016/047/3/f/new_formula_8k_render_by_lyc-d9s1zyw.jpg)

Click for 8k resolution image or visit http://lyc.deviantart.com/art/new-formula-8k-render-591318104


Title: Re: Fun formula
Post by: lycium on February 19, 2016, 04:09:34 AM
FarDareisMai made a UF formula out of this, with some extra parameters:

(http://orig07.deviantart.net/4b7f/f/2016/049/8/8/two_julia_based_formulas_for_uf_by_fardareismai-d9s9wj7.png) (http://fardareismai.deviantart.com/art/Two-Julia-based-Formulas-for-UF-591686899)


Title: Re: Fun formula
Post by: mclarekin on February 19, 2016, 08:58:33 AM
 O0. I like the maths idea  :) :) :)


Title: Re: Fun formula
Post by: phtolo on April 07, 2016, 07:37:24 PM
Quaternion version

(http://nocache-nocookies.digitalgott.com/gallery/18/8384_07_04_16_7_35_07.jpeg)