Logo by fractalwizz - 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: Check out the originating "3d Mandelbulb" thread here
 
*
Welcome, Guest. Please login or register. March 28, 2024, 10:21:14 PM


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 ... 13 14 [15] 16 17 ... 37   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: True 3D mandelbrot type fractal  (Read 603769 times)
0 Members and 2 Guests are viewing this topic.
David Makin
Global Moderator
Fractal Senior
******
Posts: 2286



Makin' Magic Fractals
WWW
« Reply #210 on: September 15, 2009, 12:00:37 AM »


I like this one. What constant did you use for this Julia set?


It's a degree 4 using your version of Twinbee's formula - i.e. the "power" version rather than the repeated squaring - and the Julia constant is (0.8,0,0).


Actually the Julia using the double squaring method produces a very similar result anyway smiley
Logged

The meaning and purpose of life is to give life purpose and meaning.

http://www.fractalgallery.co.uk/
"Makin' Magic Music" on Jango
twinbee
Fractal Fertilizer
*****
Posts: 383



WWW
« Reply #211 on: September 19, 2009, 03:51:22 PM »

Finally I managed to update my crappy orthographic drawer. Okay, so this only has fake shadowing (the same technique as the superposition of the earlier broccoli), but here's another 'taster' for what we can expect this thing to look like. I'm looking forward to adding proper shadowing soon. Enjoy, and click here for full size.

"Golden Mandelbrot Canyon" - (3D shellbrot - power 8, iterations: 6)



Anyone for Viennetta ice cream?
« Last Edit: November 14, 2009, 09:54:41 AM by twinbee » Logged
cKleinhuis
Administrator
Fractal Senior
*******
Posts: 7044


formerly known as 'Trifox'


WWW
« Reply #212 on: September 19, 2009, 04:14:52 PM »

yea, this one really looks yummy ... nice iso rendering cheesy

Logged

---

divide and conquer - iterate and rule - chaos is No random!
twinbee
Fractal Fertilizer
*****
Posts: 383



WWW
« Reply #213 on: September 23, 2009, 07:07:51 PM »

 w00t !! w00t !! w00t !! w00t !! w00t !! w00t !! w00t !! w00t !! w00t !! w00t !! w00t !! w00t !! w00t !! w00t !! w00t !! w00t !! w00t !! w00t !! w00t !! w00t !! w00t !! w00t !! w00t !! w00t !! w00t !! w00t !! w00t !! w00t !! w00t !! w00t !! w00t !! w00t !! w00t !! w00t !! w00t !! w00t !! w00t !! w00t !! w00t !! w00t !! w00t !! w00t !! w00t !! w00t !! w00t !! w00t !! w00t !! w00t !! w00t !! w00t !! w00t !! w00t !! w00t !! w00t !! w00t !! w00t !! w00t !! w00t !! w00t !! w00t !! w00t !! w00t !! w00t !! w00t !! w00t !! w00t !! w00t !! w00t !! w00t !! w00t !! w00t !! w00t !! w00t !! w00t !! w00t !! w00t !! w00t !! w00t !! w00t !! w00t !! w00t !! w00t !! w00t !! w00t !! w00t !! w00t !! w00t !! w00t !! w00t !! w00t !! w00t !! w00t !! w00t !! w00t !! w00t !! w00t !!

Sorry for the above spamming, but this is actually pretty exciting. It's amazing what a simple formula can do. The render below consists of a zoom in the bottom right corner of the earlier 'golden' mandelbrot, but this time in full shadowed mode. It uses 7 iterations. The render took around 16-24 hours on a single core, and consists of around 2000x2000x20000 voxels. For each pixel, around 200 rays were shot in spherical directions to obtain the shadows.

"A Slice of Mandelbrot Gateaux"

CLICK HERE FOR FULL SIZE (2000^2)



Here's a preview of a more broccoli-esque location: (I'm rendering full-size soon):
« Last Edit: November 14, 2009, 09:44:18 AM by twinbee » Logged
cKleinhuis
Administrator
Fractal Senior
*******
Posts: 7044


formerly known as 'Trifox'


WWW
« Reply #214 on: September 23, 2009, 08:43:56 PM »

 from me a decent:

Repeating Zooming Self-Silimilar Thumb Up, by Craig Repeating Zooming Self-Silimilar Thumb Up, by Craig Repeating Zooming Self-Silimilar Thumb Up, by Craig Repeating Zooming Self-Silimilar Thumb Up, by Craig Repeating Zooming Self-Silimilar Thumb Up, by Craig Repeating Zooming Self-Silimilar Thumb Up, by Craig Repeating Zooming Self-Silimilar Thumb Up, by Craig Repeating Zooming Self-Silimilar Thumb Up, by Craig


but, beside of spamming, i also want to use the 'new' developed formulas, as far as i know yet you use actually 2 variants for using a true 3 Dimensional Vector
and you have extended the 2 dimensional complex calculations to a 3 dimensional method which differs from the normally used quaternionic 4d method which complies
certain mathematical rules ( for complex numbers it was : i*i=-1 )....

i think we should create a (pdf,latex?) document describing the modifications, and list the formulas, as it was done with the fractal flame algorithm ... this would make
for a nice coproduction on fractalforums.com i can start on creating a rough outline for the document, and start collecting the formulas you have developed ... and try
to explain why the modifications took place ...

the document should contain the following parts:

prerequisite:
complex numbers description cheesy
extending to "real" 3d ( not using 3 parts of a 4d vector )
A Chapter About Coloring/inside methods, because outlining the "inner" part of the fractal ( the points which do not diverge ) is just one coloring method out of many ( HPDZ has a nice document describing that http://www.hpdz.net/TechInfo_Colorizing.htm )
Logged

---

divide and conquer - iterate and rule - chaos is No random!
twinbee
Fractal Fertilizer
*****
Posts: 383



WWW
« Reply #215 on: September 23, 2009, 09:05:37 PM »

That all sounds good. Colouring the thing will produce even more incredibleness. I will stop short of calling my above renders a 'glimpse', but full global illumination and (most dramatically) perspective will make this 100x better yet still!! When stuff's in 3D, it makes all the difference. In the gateaux pic, imagine standing on one of the 'balconies' and looking across and down the surface on the mountain, with sumptious detail to either side. It will kill the CPU as always, but wow, to even think of this is too awesome.

Quote
and you have extended the 2 dimensional complex calculations to a 3 dimensional method which differs from the normally used quaternionic 4d method which complies certain mathematical rules ( for complex numbers it was : i*i=-1 )....

Yup - pretty much. It's the same formula I printed back here, except where the squaring changes to higher powers instead. Hopefully these results justify my obsession with all of this to begin with wink

Of course, me and Paul can't take all the credit for the concept. To my surprise, it turns out that Rudy Rucker also thought of the same formula around 20 years ago (and didn't realise its potential), and for all I know, others have thought of it too. Of course, limited computer speed would hinder research back then, and Paul's addition of highers powers for some utterly strange reason, actually produces all this detail.

Here's Rudy's recent blog entry on the matter:
http://www.rudyrucker.com/blog/2009/09/15/in-search-of-the-mandelbulb/

Of course, what we have here is much closer, but it's still not quite the holy grail I'm after. I could definitely be fooled though! Though I do have my suspicions the real thing will look yet better still.  grin

We must let Benoit Mandelbrot see some of this stuff!
« Last Edit: September 23, 2009, 09:25:07 PM by twinbee » Logged
bugman
Conqueror
*******
Posts: 122



WWW
« Reply #216 on: September 23, 2009, 09:49:27 PM »

Here is a formula for the square root based on Twinbee's formula for squaring a 3D hypercomplex number ("triplex"). By definition, the square root must satisfy sqrt({x,y,z})² = {x,y,z}. As it turns out, 4 roots can be found that satisfy this equation. Using these roots, one can calculate inverse Julia set fractals. This method is very fast, but some regions are faint because they attract much slower. For example, 2 billion points can be calculated in a matter of seconds, although rendering can take longer. Here are some pictures:

Julia set with 2 billion spheres (the full-sized image rendered in 4 hours at 4000 x 4000 pixels):
http://bugman123.com/Hypercomplex/Julia-White-spheres-large.jpg

Julia set with 2 billion points (the full-sized image rendered in 2 hours at 4000 x 4000 pixels):
http://bugman123.com/Hypercomplex/Julia-White-points1-large.jpg

180 frame animation with 2 million spheres (the full-sized animation rendered in 2 hours at 1000 x 1000 pixels):
http://bugman123.com/Hypercomplex/Julia-White-spheres.m1v

180 frame animation with 8 million points (the full-sized animation rendered in 1.5 hours at 1000 x 1000 pixels):
http://bugman123.com/Hypercomplex/Julia-White-points.m1v

8 million points (the full-sized 1000 x 1000 image rendered in a matter of seconds):
http://bugman123.com/Hypercomplex/Julia-White-points2-large.jpg

I would really like to create inverse Mandelbrot sets, but unfortunately, as far as I know there is no practical way to do this.

Here is some Mathematica code demonstating the basic concept. This code is not intended to be efficient. It is intended to be as easy as possible to understand:
WhiteSqrt[{x_, y_, z_}, sign1_, sign2_] := Module[{r = Sqrt[x^2 + y^2 + z^2], a, b, c,d}, a = sign1 Sqrt[y^2 + x^2 (2 + z^2/(x^2 + y^2)) - 2 x r]; b = sign2 Sqrt[r - x - a]/2; c = y^4 + x^2(y^2 - z^2); d = a (x (r + x) + y^2); {b ((x y^2 - d)(x^2 + y^2) - x^3 z^2)/(y c), b, -z/Sqrt[2(r - d(x^2 + y^2)/c)]}];
pc = {-0.2, 0.8, 0}; plist = {{1.0, 1.0, 1.0}, {-1.0, -1.0, -1.0}};
Do[plist = Flatten[Map[{WhiteSqrt[# - pc, 1, 1], WhiteSqrt[# - pc, -1, 1], WhiteSqrt[# - pc, 1, -1], WhiteSqrt[# - pc, -1, -1]} &, plist], 1], {6}];
Show[Graphics3D[{PointSize[0.005], Point /@ plist}, Boxed -> False, ViewPoint -> {0, 10, 0}]]


* WhiteSqrt.gif (1.88 KB, 613x101 - viewed 2815 times.)

* Julia-White-inverse.jpg (78.98 KB, 556x186 - viewed 3009 times.)
« Last Edit: September 23, 2009, 10:04:12 PM by bugman » Logged
David Makin
Global Moderator
Fractal Senior
******
Posts: 2286



Makin' Magic Fractals
WWW
« Reply #217 on: September 23, 2009, 10:06:55 PM »

<snip>
Here is some Mathematica code demonstating the basic concept. This code is not intended to be efficient. It is intended to be as easy as possible to understand:
WhiteSqrt[{x_, y_, z_}, sign1_, sign2_] := Module[{r = Sqrt[x^2 + y^2 + z^2], a, b, c,d}, a = sign1 Sqrt[y^2 + x^2 (2 + z^2/(x^2 + y^2)) - 2 x r]; b = sign2 Sqrt[r - x - a]/2; c = y^4 + x^2(y^2 - z^2); d = a (x (r + x) + y^2); {b ((x y^2 - d)(x^2 + y^2) - x^3 z^2)/(y c), b, -z/Sqrt[2(r - d(x^2 + y^2)/c)]}];
pc = {-0.2, 0.8, 0}; plist = {{1.0, 1.0, 1.0}, {-1.0, -1.0, -1.0}};
Do[plist = Flatten[Map[{WhiteSqrt[# - pc, 1, 1], WhiteSqrt[# - pc, -1, 1], WhiteSqrt[# - pc, 1, -1], WhiteSqrt[# - pc, -1, -1]} &, plist], 1], {6}];
Show[Graphics3D[{PointSize[0.005], Point /@ plist}, Boxed -> False, ViewPoint -> {0, 10, 0}]]


Can you translate that root calculation into step-wise pseudo-code Paul please ? I can never follow Mathematica code smiley
Logged

The meaning and purpose of life is to give life purpose and meaning.

http://www.fractalgallery.co.uk/
"Makin' Magic Music" on Jango
bugman
Conqueror
*******
Posts: 122



WWW
« Reply #218 on: September 23, 2009, 10:19:22 PM »

If you look closely there is a image of the formula underneath my previous post. Unfortuntely, Fractal Forums continues to insist on shrinking my images into tiny thumbnails so it's easy to overlook the image if you're not looking carefully for it.
Logged
bugman
Conqueror
*******
Posts: 122



WWW
« Reply #219 on: September 23, 2009, 10:25:54 PM »

For those of you who don't use Mathematica, here is my C++ code that returns all 4 roots in an array of 3D points:

#define nroot 4
pt3D plist[nroot];
pt3D pc=pt3D(-0.2,0.8,0);
pt3D *WhiteSqrt(pt3D p) {double t1,t2,t3,t4;
 double x=p.x,y=(p.y==0.0?1.0e-9:p.y),z=p.z; // avoids singularity when y=0
 double x2=sqr(x),y2=sqr(y),z2=sqr(z),r=sqrt(x2+y2+z2);
 double a=sqrt(y2+x2*(2.0+z2/(x2+y2))-2.0*x*r), b=sqr(y2)+x2*(y2-z2), c=a*(x*(r+x)+y2);
 t1=r-x; double yroot1=0.5*sqrt(t1-a), yroot2=0.5*sqrt(t1+a);
 t1=x*y2; t2=x2+y2; t3=cube(x)*z2; t4=y*b;
 double xroot1=yroot1*((t1-c)*t2-t3)/t4, xroot2=yroot2*((t1+c)*t2-t3)/t4;
 t1=c*(x2+y2)/b; double zroot1=-z/sqrt(2.0*(r-t1)), zroot2=-z/sqrt(2.0*(r+t1));
 plist[0]=pt3D(xroot1,yroot1,zroot1);
 plist[1]=pt3D(xroot2,yroot2,zroot2);
 plist[2]=pt3D(-xroot1,-yroot1,zroot1);
 plist[3]=pt3D(-xroot2,-yroot2,zroot2);
 return plist;
}
« Last Edit: September 23, 2009, 10:38:47 PM by bugman » Logged
David Makin
Global Moderator
Fractal Senior
******
Posts: 2286



Makin' Magic Fractals
WWW
« Reply #220 on: September 23, 2009, 10:26:56 PM »

If you look closely there is a image of the formula underneath my previous post. Unfortuntely, Fractal Forums continues to insist on shrinking my images into tiny thumbnails so it's easy to overlook the image if you're not looking carefully for it.


I see it now - was it that big originally ? If so I can't believe I missed it !

Edit: Thanks for posting the C version smiley

Edit2: I know why I missed the gif formula, I was reading your post in "recent posts" and the images don't get shown there.
« Last Edit: September 23, 2009, 11:13:28 PM by David Makin » Logged

The meaning and purpose of life is to give life purpose and meaning.

http://www.fractalgallery.co.uk/
"Makin' Magic Music" on Jango
David Makin
Global Moderator
Fractal Senior
******
Posts: 2286



Makin' Magic Fractals
WWW
« Reply #221 on: September 23, 2009, 10:40:33 PM »

Here is a formula for the square root based on Twinbee's formula for squaring a 3D hypercomplex number ("triplex").

Hi Paul, have you tried using Mathematica to see if you can get a true "divide" for any of the possible multiplies ?

e.g. such that b*(a/b) = a where the mulitiiply is:

{xa,ya,za}*{xb.yb,zb} = r{cos(theta)cos(phi),sin(theta)cos(phi),-sin(phi)}
where:
r = sqrt((xa^2+ya^2+za^2)*(xb^2+yb^2+zb^2))
theta=atan(ya/xa)+atan(yb/xb), phi=atan(za/sqrt(xa²+ya²))+atan(zb/sqrt(xb²+yb²))

Forgive me if given that "multiply" it's not actually possible to accomplish a true "divide", my math theory is more limited than my programming skills wink
Logged

The meaning and purpose of life is to give life purpose and meaning.

http://www.fractalgallery.co.uk/
"Makin' Magic Music" on Jango
bugman
Conqueror
*******
Posts: 122



WWW
« Reply #222 on: September 23, 2009, 11:27:50 PM »

David, I cannot find a division formula for your multiplication formula because it is expressed in trigonometric form. I was able to find a square root formula using the "simplified" non-trigonometric form of the squaring equation, but I can't seem to obtain a similar non-trigonometric form of your multiplication formula.

Just out of curiosity, what were you hoping to do with this division formula?
Logged
David Makin
Global Moderator
Fractal Senior
******
Posts: 2286



Makin' Magic Fractals
WWW
« Reply #223 on: September 24, 2009, 01:48:03 AM »

David, I cannot find a division formula for your multiplication formula because it is expressed in trigonometric form. I was able to find a square root formula using the "simplified" non-trigonometric form of the squaring equation, but I can't seem to obtain a similar non-trigonometric form of your multiplication formula.

Just out of curiosity, what were you hoping to do with this division formula?


Ermmm, "true 3D" formulas using division - such as different versions of the Newton or Nova.
Logged

The meaning and purpose of life is to give life purpose and meaning.

http://www.fractalgallery.co.uk/
"Makin' Magic Music" on Jango
bugman
Conqueror
*******
Posts: 122



WWW
« Reply #224 on: September 24, 2009, 02:21:09 AM »

Here are a few higher order Julia set renders with global illumination:

4th order, c={-0.2,0.8,0}, imax=6:
http://bugman123.com/Hypercomplex/Julia-White4-large.jpg

4th order, c={0.8,0,0}, imax=6 (same as David Makin's):
http://bugman123.com/Hypercomplex/Julia-White4-2-large.jpg

6th order, c={-0.2,0.8,0}, imax=6:
http://bugman123.com/Hypercomplex/Julia-White6-large.jpg


* Julia-WhiteN.jpg (83.9 KB, 556x186 - viewed 2952 times.)
« Last Edit: September 24, 2009, 02:26:22 AM by bugman » Logged
Pages: 1 ... 13 14 [15] 16 17 ... 37   Go Down
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
Implementation: 3D mandelbrot type fractal 3D Fractal Generation « 1 2 » steamraven 27 64881 Last post August 21, 2016, 12:13:13 AM
by ironfractal
Re: True 3D mandelbrot type fractal Other / General Discussion shanest 2 26790 Last post November 20, 2009, 03:24:26 AM
by fractalrebel
True 3D mandelbrot fractal (search for the holy grail continues) The 3D Mandelbulb « 1 2 ... 17 18 » illi 260 57504 Last post November 25, 2010, 12:57:55 AM
by cKleinhuis
New fractal type... latest 3d type.. a z^2 for Benoit Images Showcase (Rate My Fractal) M Benesi 0 7655 Last post October 21, 2010, 07:14:00 AM
by M Benesi
My First Mandelbrot...Okay not true. Images Showcase (Rate My Fractal) Zephitmaal 3 8317 Last post January 07, 2012, 04:30:36 PM
by Pauldelbrot

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.246 seconds with 27 queries. (Pretty URLs adds 0.015s, 2q)