Welcome to Fractal Forums

Fractal Art => Images Showcase (Rate My Fractal) => Topic started by: M Benesi on June 16, 2010, 06:02:46 AM




Title: New formula: Type I (I as in eye, not one)
Post by: M Benesi on June 16, 2010, 06:02:46 AM
The first 8 are of the front of the fractal, straight on, same size (different options selected).  There is r2mode, sumode, and sumode2 (I use absmode boolean variable, put absmode/sumode 2 as a descriptor in the full formula package which will be updated at some point).  Since there are 3 on/off switches (that can be set all off, all on, or any variety...) there are 2^3=8 different fractal types (of the same basic formula).  I'm liking the sumode+r2mode variety for it's extra starfishes around the big one (for z^9)...  but r2mode unchecked may be the best bet.

The first 8 are all z^8, 5 iterations, "front side" of the fractal looking towards the positive x axis (which would be pointy side of a z^2 Mandelbrot, of course, if you looked directly at it, as the z^2 Mandelbrot is 2 dimensional, you would see nothing). 

(http://lh4.ggpht.com/_gbC_B2NkUEo/TBhJrSay5uI/AAAAAAAAAXg/B6-3mva-cJo/front%20no%20mode%20selected.jpg)
(http://lh6.ggpht.com/_gbC_B2NkUEo/TBhJrjcjIeI/AAAAAAAAAXk/emlywlda6IE/front%20r2mode%20sumode2.jpg)
(http://lh5.ggpht.com/_gbC_B2NkUEo/TBhJrwXFpRI/AAAAAAAAAXo/Igpue56DXWw/front%20r2mode.jpg)
(http://lh4.ggpht.com/_gbC_B2NkUEo/TBhJsISXBiI/AAAAAAAAAXs/gQkOek2MJYM/front%20sumode2.jpg)
(http://lh5.ggpht.com/_gbC_B2NkUEo/TBhKGrEe_BI/AAAAAAAAAXw/4hGuadfhgVk/front%20sumode%20r2mode%20sumode2.jpg)
(http://lh3.ggpht.com/_gbC_B2NkUEo/TBhKG3Qv3QI/AAAAAAAAAX0/FFoyJYdTgPU/front%20sumode%20r2mode.jpg)
(http://lh3.ggpht.com/_gbC_B2NkUEo/TBhKHDJiywI/AAAAAAAAAX4/EEQYjPaEib4/front%20sumode%20sumode2.jpg)
(http://lh5.ggpht.com/_gbC_B2NkUEo/TBhKHOiMnmI/AAAAAAAAAX8/_e2XVTOuCGw/front%20sumode.jpg)
a couple of rear shots (2 different modes):
(http://lh4.ggpht.com/_gbC_B2NkUEo/TBhKHcP2AFI/AAAAAAAAAYA/jGTzNk-MfvM/rear%20no%20mode%20selected.jpg)
(http://lh3.ggpht.com/_gbC_B2NkUEo/TBhKMETuD8I/AAAAAAAAAYE/N1HgU3TQFbU/rear%20sumode%20sumode2.jpg)
Small side shot:
(http://lh3.ggpht.com/_gbC_B2NkUEo/TBhKMaK9XyI/AAAAAAAAAYI/CjcY6LQ2gRs/straight%20on%20side%20sumode%20sumode2.jpg)
Code:
if (fractaltype=="Type I") {
if (r2mode) {   
r2=(sqr(sx)+sqr(sy)+sqr(sz))^(n/2);
r1=(sqr(sx)+sqr(sy2)+sqr(sz2))^(n/2);
} else {
r2=(sqr(sx)+sqr(sy)+sqr(sz))^(n/2);
}
theta=atan2(sx+flip(sy));
whiskey=atan2(sx+flip(sz));
tango=atan2(sx+flip(sqrt(sy2^2+sz2^2)));
foxtrot=atan2(sy2+flip(sz2));


if (sumode) {
    if (r2mode) {
if (absmode) {  //sumode 2
nx=r2*cos(tango*v)*cos(theta*v)*cos(whiskey*v);
} else {
nx=r2*cos(tango*v);
}
ny=r1*sin(theta*v);
nz=r1*sin(whiskey*v);
ny2=r2*cos(foxtrot*v)*sin(tango*v);
nz2=r2*sin(foxtrot*v)*sin(tango*v);
} else {
if (absmode) {  //sumode 2
nx=r2*cos(tango*v)*cos(theta*v)*cos(whiskey*v);
} else {
nx=r2*cos(tango*v);
}
ny=r2*sin(theta*v);
nz=r2*sin(whiskey*v);
ny2=r2*cos(foxtrot*v)*sin(tango*v);
nz2=r2*sin(foxtrot*v)*sin(tango*v);
}
} else {
if (r2mode) {
if (absmode) {  //sumode 2
nx=r2*cos(tango*v)*cos(theta*v)*cos(whiskey*v);
} else {
nx=r2*cos(tango*v);
}
ny=r2*sin(theta*v);
nz=r2*sin(whiskey*v);
ny2=r1*cos(foxtrot*v);
nz2=r1*sin(foxtrot*v);
} else {
if (absmode) {  //sumode 2
nx=r2*cos(tango*v)*cos(theta*v)*cos(whiskey*v);
} else {
nx=r2*cos(tango*v);
}
ny=r2*sin(theta*v);
nz=r2*sin(whiskey*v);
ny2=r2*cos(foxtrot*v);
nz2=r2*sin(foxtrot*v);
}
}

if (juliaMode) {
sx=nx+cr;
sy=ny+ci;
sz=nz+cj;
sy2=ny2+ci;
sz2=nz2+cj;
} else {
sx=nx+(pixelr);
sy=ny+abs(pixeli);
sz=nz+(pixelj);
sy2=ny2+abs(pixeli);
sz2=nz2+(pixelj);
}

bail=abs(sx)+abs(sy)+abs(sz);
z=quaternion(sx,sy,sz,0);
}


Title: Re: New formula: Type I (added z^2: awesome)
Post by: M Benesi on June 16, 2010, 08:37:52 AM
  Just a few quick shots, type I is compute-intensive.

  First, a little shot of the front "Mandelbrot" bulb thing, then a nice shot of elephant valley.  The front has good fractal variety... the rear (elephant valley area) does too (but it is still quicker to set a high z^n value, as they need less iterations so are less compute intensive).  Haven't done a side zoom yet...
Front thingy:
(http://lh4.ggpht.com/_gbC_B2NkUEo/TBhvy9QwC8I/AAAAAAAAAYc/i39BAi9j4Hg/type%20I%20front%20bulb%20shot.jpg)
Elephant valley:
(http://lh3.ggpht.com/_gbC_B2NkUEo/TBhvy5TnG4I/AAAAAAAAAYY/qtdPY3b077w/elephant%20valley%20awesome.jpg)
Quick dirty zoom on the front stalk:
(http://lh6.ggpht.com/_gbC_B2NkUEo/TBh5BTfwKbI/AAAAAAAAAYk/qIwWtoT0Wbs/front%20stalk.jpg)


Title: Re: New formula: Type I (I as in eye, not one)
Post by: KRAFTWERK on June 16, 2010, 09:05:58 AM
Beautiful!


Title: Re: New formula: Type I (I as in eye, not one)
Post by: M Benesi on June 16, 2010, 09:12:49 AM
Thanks   :D


Title: Re: New formula: Type I (I as in eye, not one)
Post by: Rathinagiri on June 16, 2010, 09:40:43 AM
Wonderful!


Title: Re: New formula: Type I (I as in eye, not one)
Post by: M Benesi on June 17, 2010, 05:03:10 AM
  Thanks Rathinagirl,

  Here are a few (bad coloring) z^2 of a new "subtype" of the formula (with sumode checked):
  I'll post full code later, for now, just put this in (and add rXmodec boolean parameter to variable initialization area) before the last r2= statement (after the else after if (r2mode)....) and a } after the last r2= statement. or .. I should just post the code.  It follows (just replace the r2 assignment part).

  Use rXmodec + sumode for AWESOMENESS.  Even the z^2 has interesting patterns emerging, although it takes a few iterations (by a few I mean a lot of compute cycles).  It's much quicker to go to higher z^n because they take less iterations for patterns to emerge.  As a matter of fact, I'll post a z^5 as a stand alone... because rXmodec + sumode type I is awesome.

Code:
if (r2mode) {
 if (rXmodeb) {
  r1=(sqr(sx)+sqr(sy)+sqr(sz))^(n/2);
r2=(sqr(sx)+sqr(sy2)+sqr(sz2))^(n/2);
} else {
r2=(sqr(sx)+sqr(sy)+sqr(sz))^(n/2);
r1=(sqr(sx)+sqr(sy2)+sqr(sz2))^(n/2);
}
} else {
if (rXmodeb) {
r2=(sqr(sx)+sqr(sy)+sqr(sz)+sqr(sy2)+sqr(sz2))^(n/2);
} else {
  if (rXmodec) {
r2=(sqr(sx)+sqr(sy2)+sqr(sz2))^(n/2);
} else {
r2=(sqr(sx)+sqr(sy)+sqr(sz))^(n/2);
}
}
}

  Notice the swirls forming near the axis.  It starts forming more complicated swirls off the swirls (swirlpools... really) as you increase iterations.  

  Some more elephant swirls (the first are below... but... dunno, I chose to put the newer ones first):
(http://lh3.ggpht.com/_gbC_B2NkUEo/TBmwB41u1EI/AAAAAAAAAZM/hQEd_XTQi0k/elephant%20swirls%20big.jpg)
(http://lh4.ggpht.com/_gbC_B2NkUEo/TBmwCK7-IkI/AAAAAAAAAZQ/x43eL3Zn2mc/elephant%20valley%20north%20side%20swirls%20color%20change.jpg)
(http://lh4.ggpht.com/_gbC_B2NkUEo/TBmwCr14ryI/AAAAAAAAAZc/LiUluAfTZM0/other%20gnarly%20swirls.jpg)


  (http://lh3.ggpht.com/_gbC_B2NkUEo/TBmN-5Mi6wI/AAAAAAAAAY4/9FHUhkj3Jkw/real%20elephant%20valley%20spot.jpg)
This is just a nice front shot of the new mode (rXmodec).  It really has quasi-Mandelbrot goodness on both ends, maybe on the sides as well (haven't checked them too much, but assume the outcroppings have some interesting features, as the rest of the fractal is simply phenomenal, as far as fractals go).
(http://lh6.ggpht.com/_gbC_B2NkUEo/TBmN_fTfN7I/AAAAAAAAAY8/0mZ1Po8p-uI/nice%20shot%20of%20stalk%20off%20of%20period%202%20bulb.jpg)
And here is a shot of another part of the elephant valley side (bigger):
(http://lh6.ggpht.com/_gbC_B2NkUEo/TBmN_tu-gyI/AAAAAAAAAZA/_2zgSPQh8yg/elephant%20valley%20sandstone.jpg)