Logo by Fractal Ken - 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: Did you know ? you can use LaTex inside Postings on fractalforums.com!
 
*
Welcome, Guest. Please login or register. April 27, 2024, 01:59:46 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: Higher dimensional Mandelbulbs  (Read 4626 times)
0 Members and 2 Guests are viewing this topic.
s31415
Conqueror
*******
Posts: 110



WWW
« on: November 22, 2009, 11:06:55 PM »

Hi,

I'm not sure if someone already emphasized this, but the trick for "squaring" a vector in 3d easily generalizes to higher dimensions. So we can define Mandelbulbs in any dimension. To be more specific, in any dimension d, you have spherical coordinates r, phi_1, phi_2, phi_(d-1). Denoting the cartesian coordinates by x_1, ..., x_d and defining y_i = sqrt(x_1^2 + ... + x_i^2), the coordinate change reads:
r = y_d = sqrt(x_1^2 + x_2^2 + ... + x_d^2)
phi_i = Atan(x_(i+1)/y_i)   [EDIT: I corrected a mistake, it's x_(i+1), not x_i.]
From here, we can square r and double each phi_i. Then to go back to Cartesian coordinates, we apply:
x_d = r sin(phi_(d-1))
x_(d-1) = r cos(phi_(d-1)) sin(phi_(d-2))
...
x_2 = r cos(phi_(d-1)) cos(phi_(d-2)) ... sin(phi_1)
x_1 = r cos(phi_(d-1)) cos(phi_(d-2)) ... cos(phi_1)
Just as with the usual Mandelbulb, we can worry or not worry about the angles going out of their usual range after the doubling.

These Mandelbulbs have a very nice feature. Take the Mandelbulb in dimension d and consider the d' dimensional slice obtained by setting the last (d-d') coordinates to zero. Then you can check that in this slice, you will obtain the d' dimensional Mandelbub!

This leads me to a question: Did anybody tried to look at 2d slices of the 3d Mandelbulb? If you slice through the equator, you get the usual M-set. What about other slices?

Also, what about Julia sets ?

Sam
« Last Edit: November 22, 2009, 11:30:35 PM by s31415 » Logged

cKleinhuis
Administrator
Fractal Senior
*******
Posts: 7044


formerly known as 'Trifox'


WWW
« Reply #1 on: November 22, 2009, 11:11:05 PM »

if the formula you propose is totally "general" it would, show for dimension = 2 the normal mandelbrot formula ?
 angel
Logged

---

divide and conquer - iterate and rule - chaos is No random!
s31415
Conqueror
*******
Posts: 110



WWW
« Reply #2 on: November 22, 2009, 11:24:06 PM »

Yes, indeed. For dimension 2 you have only two cartesian coordinates x_1 (corresponding to the real part of the complex number) and x_2 (corresponding to the imaginary part). The polar coordinates are r, the modulus of the complex number, and phi, its argument. Now you can see the process of squaring the complex number as taking the complex number
z = (r, phi) -> (r^2, 2phi) = z^2.

In the general formula, if you set all x_i to zero for i > 2, then all the phi_i are zero except phi_1, so you recover exactly the operation of squaring a complex number. Therefore the usual M-set lies in all these Mandelbulbs, in the x_1 x_2 plane.

Of course, in the post above, I only explain how to "square" a vector. To implement the usual Mandelbrot algorithm you should really iterate v -> v^2 + c, where ^2 is the operation described above, and the original vector.

Sam
« Last Edit: November 22, 2009, 11:30:50 PM by s31415 » Logged

cKleinhuis
Administrator
Fractal Senior
*******
Posts: 7044


formerly known as 'Trifox'


WWW
« Reply #3 on: November 22, 2009, 11:35:40 PM »

this is a very good view on the formulas, and though the mandelbrot is contained, it is really getting interesting,
although we will never "see" those higher dimension mandelbulbs, but for sure it is a wealthy lot of forms and
shapes that could be seen in those, and we spend the last 30 years with searching around in the simple 2d mandelbrot

i like the idea of the "number system", it should be proved that it is a mathematical body ( + ( inverse - ) and * ( inverse / ), with a neutral element for both operations ...

this is a lot nicer than the usual quaternion way of extending fractal formulas like our beloved z^2+c , i once made a formula
evolver ( mutatorkammer ), and i am now thinking of extending it to 3rd dimension using this formula ... although it seems to be
quite hard to achieve the "remaining" operations, like squaring with non integer powers, or sine and cosine values for this system, but
i have to admit, it all makes sense .. the best thing about the mandelbulb is its easy formulation:

"use the polar coordinates and extend them for an additional rotation axis, and proceed like before ..." excellent and easy !

anyway, i will love to convert existing simple fractal formulas, like barnsley, burning ship .... to view them in 3d, i just hadnt had time to
implement a gpu renderer for viewing those ...

 afro
Logged

---

divide and conquer - iterate and rule - chaos is No random!
bib
Global Moderator
Fractal Senior
******
Posts: 2070


At the borders...


100008697663777 @bib993
WWW
« Reply #4 on: November 22, 2009, 11:40:34 PM »


This leads me to a question: Did anybody tried to look at 2d slices of the 3d Mandelbulb? If you slice through the equator, you get the usual M-set. What about other slices?


Other slices parrallel to what you call the equator are less interesting. However, the slice perpendicular to the equator shows shapes that can't be seen (I think) in the 2D M-set. e.g :
http://www.fractalforums.com/gallery/1/492_16_11_09_11_33_06.jpg
http://www.fractalforums.com/gallery/1/492_16_11_09_11_21_29.jpg

This video shows different slices perpendicular to the equator in the 2nd order Mandelbulb:
<a href="http://www.youtube.com/v/XhVXC_0arIs&rel=1&fs=1&hd=1" target="_blank">http://www.youtube.com/v/XhVXC_0arIs&rel=1&fs=1&hd=1</a>
It's easy to imagine the whipped cream.


« Last Edit: November 22, 2009, 11:43:45 PM by bib » Logged

Between order and disorder reigns a delicious moment. (Paul Valéry)
dougfractal
Guest
« Reply #5 on: November 27, 2009, 12:58:58 AM »

I've done quite a bit of work on this

4D Evolution
<a href="http://www.youtube.com/v/eS7qCfttmBk&rel=1&fs=1&hd=1" target="_blank">http://www.youtube.com/v/eS7qCfttmBk&rel=1&fs=1&hd=1</a>

4D Parallel Universe
<a href="http://www.youtube.com/v/D7j-Fj7JozQ&rel=1&fs=1&hd=1" target="_blank">http://www.youtube.com/v/D7j-Fj7JozQ&rel=1&fs=1&hd=1</a>

A quick glimpse into 5 Dimensions
<a href="http://www.youtube.com/v/BassAa0Y3Ho&rel=1&fs=1&hd=1" target="_blank">http://www.youtube.com/v/BassAa0Y3Ho&rel=1&fs=1&hd=1</a>
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.197 seconds with 26 queries. (Pretty URLs adds 0.011s, 2q)