Logo by mclarekin - Contribute your own Logo!

END OF AN ERA, FRACTALFORUMS.COM IS CONTINUED ON FRACTALFORUMS.ORG

it was a great time but no longer maintainable by c.Kleinhuis contact him for any data retrieval,
thanks and see you perhaps in 10 years again

this forum will stay online for reference
News: Follow us on Twitter
 
*
Welcome, Guest. Please login or register. April 26, 2024, 09:41:19 AM


Login with username, password and session length


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


Pages: [1]   Go Down
  Print  
Share this topic on DiggShare this topic on FacebookShare this topic on GoogleShare this topic on RedditShare this topic on StumbleUponShare this topic on Twitter
Author Topic: Experimenting with formulas  (Read 1027 times)
Description: Just had experimented with fractal formulas and would like to share the results
0 Members and 1 Guest are viewing this topic.
Alef
Fractal Supremo
*****
Posts: 1174



WWW
« on: December 03, 2011, 04:16:01 PM »

Some 5 or more years agou i had vritten the formula for the Fractal Explorer. There are just two variants to implement hyperbolic sine into something mandelbrot like and it not so depends on bailout values. So I recoded the same for the Chaos pro. It have classical mandelbrot features, but have tons small julia satelite sets flying around main set and each other and produce leafy pattern (mandelbrot produces the same with abs(z) bailout test. ).

Quote
// formula z=z*sinh(z)+C*C  09.11.2001 by Edgars Malinovskis, first in Fractal Explorer 5 years agou.
MalinovskyDecoFractal {
// formula z=z*sinh(z)+C*C  09.11.2001 by Edgars Malinovskis, first in turbo pascal 5 years agou.
parameter int settype;
parameter complex julia;
parameter real bailout;
complex C;
parameter bool testBroken;

void init(void)
 {
   if (settype=="Julia Set")
   {   
   z = pixel;
   C = julia;
   }
   else if (settype=="Inverted Mandelbrot Set")
    {
    z= 0;
    C= 1/pixel;
    }
    else if (testBroken==true) //recreates z=pixel features
    {
    z = (1,0.5);    //other values are useless
    C= pixel;
    }
    else
   {
   z= 0;
   C= pixel;
   }
}

void loop(void)
{
      z= sinh(z)*z -sqr(C);
}

bool bailout(void)
   {
      return(  abs(real(z))+ abs(imag(z)) <= bailout  );
   }

void description(void)
   {
      this.title = "Malinovsky Deco Fractal";

      bailout.caption = "Bailout Value";
      bailout.default = 7.0;
      bailout.min = 0.5;
      bailout.hint = "Defines the bailout radius: If pixel falls out of it, the iteration stops. Larger number increases details";

    settype.caption = "Set type";
    settype.enum = "Mandelbrot Set\nJulia Set\nInverted Mandelbrot Set";
    settype.default = 0;

    testBroken.caption="Broken Fractal";
    testBroken.default=false;
    testBroken.visible = (settype=="Mandelbrot Set");

    julia.caption = "Julia Parameter";
    julia.default = (0,0.5);
    julia.hint = "Different values create different Julia Sets.";
    julia.visible = (settype=="Julia Set");
   }
}

Then using spider as base written formula giving menorah and angel like figures. Nothing superb, but fractal have infinite size and allways should be turned by 90 degrees. But after changeing the complex variables to quaternion so formula could work in 3D everyrhing, fractal appeared to be much more sophisticeted. Simple curves in 3D turned into complicated saturnian rings. Probably coz of inverted nature fractal is very chaotic and allways produce pretty counterintuitive results.

Quote
// Generates menorah like figures. Hyperbolised spider + variables change. 28.10.2001 by Edgars Malinovskis.
Menorah_Fractal{
//Quaternion Friendly!  23.11.2001 by Edgars Malinovskis. Optimised 27.11.2011.
parameter int settype;
parameter real bailout, multi;
quaternion c, p;
complex w;

   void init(void)
   {
   
      if (settype=="Real Coefficient")
    {   
        c = 1/pixel;
    z = c;
    p = c;      //allways 1/pixel.
    w=multi*0.01+0.5;      //+-1/100 gives results.
    }
      else if (settype=="Imaginary Coefficient")
    {
    c = 1/pixel;
    z = c;
    p = c;
    w=multi*0.01i+0.5;
   }
      else
    {
    c = recip(pixel);
    z = c;
    p = c;
    w=tan(multi)*0.01+0.5;
   }
}
   void loop(void)
   {
      z=sqr(z)+c+p;      //spider formula + 1/pixel
      c=w*c+z;
   }
   bool bailout(void)
   {   
      return(  abs(real(z))+ abs(imag(z))<= bailout  );
   }
   void description(void)
   {
      this.title = "Menorah Fractal (Quaternion friendly)";
      this.magn = 0.25;

      bailout.caption = "Bailout";
      bailout.default = 7.0;
      bailout.min = 1;
      bailout.hint = "Defines the bailout radius: If pixel falls out of it, the iteration stops. Larger number increases details";


      multi.caption = "-9<Menorah Coef<9";
      multi.default = 0;
      multi.min = -9;
      multi.max = 9;
      multi.hint = "Increases multiplicator by 1/100. Changes fractal geometry.";

      settype.caption = "type(if MC is not 0)";
      settype.enum = "Real Coefficient\nImaginary Coefficient\nTan Coeff + Recip inverse";
      settype.default = 0;
      settype.hint = "Add real, imaginary or tangential value to the multiplicator of the Fractal. Only if the Menorah Coefficient is nonZero.";
   }
}


Basic shape, lots of julias around, connected ones are found inside of the valleys.


Julia set with maximal bailout value. Just like the same of z^2+c but with sets around and leafy pattern.


Some more artsy deep zoom into one of the small satelites. At the core lies his majestry classical mandelbrot. Must be some julia set who look like this.


Fractal Menorah. Infinite, but prety simple.


The same Menorah in 3D. Countless rings in and out.


Core of the menorah quaternion. Hard to zoom to it.

Logged

fractal catalisator
DarkBeam
Global Moderator
Fractal Senior
******
Posts: 2512


Fragments of the fractal -like the tip of it


« Reply #1 on: December 04, 2011, 05:58:33 PM »

Mandelbrot set with selectable formulas?
New idea? shocked
Just download Fractint, you will get identical results wink ... And stop pretending to invent and copyright formulas, 'flexible' formulas (some with hundreds of params) were already invented ages ago wink
Logged

No sweat, guardian of wisdom!
fractower
Iterator
*
Posts: 173


« Reply #2 on: December 05, 2011, 04:37:25 AM »

Fractint is so cool. I missed a whole season of Survivor while diving into the the various formulas.

Lighten up DarkBeam. It is a long walk to the cutting edge and it is often hard to tell when you have gotten there. Anyone with the math and coding chops Asdam has displayed is one innovation away from leaving the rest of us behind. Or better yet leading us to a new playground.
Logged
Pages: [1]   Go Down
  Print  
 
Jump to:  


Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM
Page created in 0.2 seconds with 24 queries. (Pretty URLs adds 0.014s, 2q)