Logo by kr0mat1k - 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. April 16, 2024, 07:35:42 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]   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: Elliptical Mbulb idea  (Read 4278 times)
0 Members and 1 Guest are viewing this topic.
kram1032
Fractal Senior
******
Posts: 1863


« on: March 30, 2010, 03:27:01 PM »

I'm still thinking about using different multiples for the angles to get a more symmetric power 2-ish Mbulb.
However I noticed a problem with the direct variant, there:
If you just use [r²;2phi;8theta]+c, you don't actually have the "correct" radius for each angle.
So, instead, I thought, an elliptical "radius" could be used.
trying a bit around, I came to a radius formula, entirely dependend on theta, which basically tells you, at which angle of theta the radius is exponentiated how strong, if that makes any sense...
The formula is derived from the parametric coordinates of a rotational ellipsoid, being rotated around the z-axis. It returns values between 2 and 8, with 2 being for theta = 0 (so, the triplex number is a complex number with the second imaginary part = 0) and 8 for theta = +/-pi/2 (which happens at the two poles, where both the real and the first imaginary parts are 0).

The formula is simple:
\sqrt{34-30 \cos{2 \theta}}
[Plot]

Now, there are two possible ways to use this:
Either, you just take the angles as usual and use the theta-dependend term as power for r or you also take that term as a factor for theta and phi:
1) [r^{\sqrt{34-30 \cos{2 \theta}}};2 \phi;8 \theta]
2) [r^{\sqrt{34-30 \cos{2 \theta}}}; {\sqrt{34-30 \cos{2 \theta}}} \phi; {\sqrt{34-30 \cos{2 \theta}}} \theta]

plots for the change of r, phi and theta (phi and theta as in example 2)

[Plot r]
[Plot phi]
[Plot theta]
Logged
kram1032
Fractal Senior
******
Posts: 1863


« Reply #1 on: April 02, 2010, 01:53:58 PM »

is noone interested? sad
Logged
msltoe
Iterator
*
Posts: 187


« Reply #2 on: April 02, 2010, 03:45:10 PM »

Mr. Kram1032,

 I've rendered your version 2. Not bad....
 Would you like a copy of my code for future experimenting? It's not as fancy as others, but it is fairly easy to play with different formulae.

-mike


* kram.png (158.95 KB, 300x300 - viewed 466 times.)
Logged
kram1032
Fractal Senior
******
Posts: 1863


« Reply #3 on: April 02, 2010, 03:50:36 PM »

cheesy thanks

Looks nice smiley

Which Program do you use? Would be nice to see smiley
If you use UF, I somehow didn't have luck with that sofar sad
Best for me would be an implementation for C/C++ or Processing^^
Logged
Timeroot
Fractal Fertilizer
*****
Posts: 362


The pwnge.


WWW
« Reply #4 on: April 02, 2010, 09:16:11 PM »

I don't really understand quite what happens here, but what does it look like if this applied to a plain old 2D Mandelbrot?
Logged

Someday, man will understand primary theory; how every aspect of our universe has come about. Then we will describe all of physics, build a complete understanding of genetic engineering, catalog all planets, and find intelligent life. And then we'll just puzzle over fractals for eternity.
kram1032
Fractal Senior
******
Posts: 1863


« Reply #5 on: April 02, 2010, 11:24:50 PM »

it wouldn't change at all.

All I did was this:
The usual Mset returns nice results but the 2nd order Mbulb has a lot of strage distortions.
To get rid of them, the much more symmetrical 8th order Mbulb is used (usually).

Now what would happen if you double phi (the angle in the complex plane) but multiply theta by eight?
In theory, if I'm not mistaken, you get a higher grade of symmetry. However, this has one problem:
It's quite undefined, what to do with the radius. Should it be squared? should it be raised to the power of eight?

Now, my idea was, to take an elliptically shaped gradient to descide, which power to use.
At very flat angles, around theta=0, you get powers of 2, which is exactly the behaviour of the 2-Mbulb, exactly where you'd find the 2-Mset but this slowly increases and finally reaches eight at +/-90°, so at the poles, it behaves just like the 8-Mbulb, at least the radius does.

The two variants (the image is from the second one) are where the anglaes are multiplied by a constant factor or by the same gradient term.

So, the image basically shows a smooth gradient from the 2-bulb to the 8-bulb, along the magnitude of theta.
I'd love to see a nice exploration of it.
« Last Edit: April 02, 2010, 11:26:30 PM by kram1032 » Logged
kram1032
Fractal Senior
******
Posts: 1863


« Reply #6 on: April 03, 2010, 12:09:11 AM »

Attached you see the other version. (Variant 1)
While it is far away from a "true Mandelbulb" and rather flat, I really like the shape smiley


* m28hybrid.jpg (254.29 KB, 1000x1000 - viewed 363 times.)
Logged
Timeroot
Fractal Fertilizer
*****
Posts: 362


The pwnge.


WWW
« Reply #7 on: April 03, 2010, 02:14:58 AM »

Ah, I see now. That's pretty cool. Personally, I really like the Version 1 image. Now that I understand it, I wondered what happens if you let the second power go arbitrarily high - that is, instead of 8, we'd have 16, or 32, etc... and it's pretty self evident that the ellipse get's stretched out until it just reduces to the secant function (more precisely, 2*abs(secant(theta)) ). This means that, near the poles, the power is approximately equal to the reciprocal of distance to the pole. I don't know how the distortion grows as you near the pole, but if it's just first order, this might (probably won't) end up being the closest to the real Mandelbulb... there will have to be a problem, of course, probably an extreme function like secant will give its own distortion to the poles... I suppose some fine-tuned powers will end up being the answer. This is really cool idea Kram, can't wait to see what else to brings!
Logged

Someday, man will understand primary theory; how every aspect of our universe has come about. Then we will describe all of physics, build a complete understanding of genetic engineering, catalog all planets, and find intelligent life. And then we'll just puzzle over fractals for eternity.
kram1032
Fractal Senior
******
Posts: 1863


« Reply #8 on: April 03, 2010, 11:22:10 AM »

thanks cheesy

Well, that idea of an aribitarily high power already was tried, I think...
It was one of the alternative coordinate systems...

If I remember correctly, it ended up like a balloon with the shape of the Mset... you know, the one that looks flat but where you'd search for the Mset, it actually is there...
Logged
KRAFTWERK
Global Moderator
Fractal Senior
******
Posts: 1439


Virtual Surreality


WWW
« Reply #9 on: April 06, 2010, 11:03:47 AM »

Very interesting shape Kram!...
Logged

kram1032
Fractal Senior
******
Posts: 1863


« Reply #10 on: April 06, 2010, 11:28:51 AM »

thanks cheesy
Further explorations would be a pain, though^^
If anyone would try this in any of the UF programs or similar, it would be a lot simpler, I guess.
Logged
Pages: [1]   Go Down
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
MBR_V2.05 Quat-Mbulb Test t37 Mandelbulber Gallery mclarekin 0 944 Last post September 01, 2015, 01:48:52 PM
by mclarekin
mbulb bermarte swiz Mandelbulber Gallery mclarekin 0 981 Last post December 01, 2016, 07:12:30 AM
by mclarekin
the paradox of complex function by elliptical integral (new) Theories & Research hgjf2 1 1060 Last post September 03, 2017, 11:25:59 AM
by hgjf2
mbulb jbulb j1 Mandelbulber Gallery mclarekin 0 1042 Last post May 16, 2017, 10:01:30 AM
by mclarekin
Mbulb v1.21 Mandelbulber Gallery mclarekin 9 2705 Last post August 29, 2017, 04:20:32 PM
by Sabine

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.139 seconds with 26 queries. (Pretty URLs adds 0.008s, 2q)