Logo by stereoman - 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: Support us via Flattr FLATTR Link
 
*
Welcome, Guest. Please login or register. April 26, 2024, 06:26:06 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 [2]   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: 4D Mandelbulb  (Read 8364 times)
0 Members and 1 Guest are viewing this topic.
KRAFTWERK
Global Moderator
Fractal Senior
******
Posts: 1439


Virtual Surreality


WWW
« Reply #15 on: September 08, 2010, 01:09:57 PM »

Ahhh, a version 1.6.2. coming up Jesse? wink
Logged

Jesse
Download Section
Fractal Schemer
*
Posts: 1013


« Reply #16 on: September 08, 2010, 03:13:39 PM »

Jesse, you asked about the formula. Here it is :

Ah, thank you!
I already experimented with more sine/cosine options in the 3d case, but nothing very special found yet.

Maybe i can make an extern formula out of it, but it would be somewhat slow with the 4 point DE...


PS: looking at the code, i assume that RRdz and Rdz is the same variable?
« Last Edit: September 08, 2010, 04:29:51 PM by Jesse » Logged
M Benesi
Fractal Schemer
****
Posts: 1075



WWW
« Reply #17 on: September 08, 2010, 09:51:37 PM »

  Congratulations on your discovery, although temper it with the knowledge that like most great discoveries, it's been around for a while:

  The 4d, and higher (I made up to 10d way back in January), have been around since close to the rediscovery of the bulb (someone else was working on them around March of this year, and in fact I think the topic was mentioned in the original thread, although I wasn't aware of any implementation before mine).  Here is a 6 dimensional bulb video (crappy, didn't figure out coloring methods yet) I posted on youtube January 24th of this year:

<a href="http://www.youtube.com/v/9Jzfdr1Zh6Y&rel=1&fs=1&hd=1" target="_blank">http://www.youtube.com/v/9Jzfdr1Zh6Y&rel=1&fs=1&hd=1</a>

  Anyways, there are VERY awesome pseudo-julia that can be created using the correct coloring methods, etc.  with the 5d bulb.  I posted a thread over in the images forum with a few images from a 5d pseudo-julia.  Each iteration creates a great variety of patterns as one zooms straight into the fractal (the pattern changes each iteration as you zoom deeper... it's amazing, although the pseudo-mandel variety r2 modes 1-4 have some variety as well). 

  Also, for the both of you (Jesse and JosLeys) I'd like to point out that the complex triplex, quadplex, and quintplex (untested, but assumed) math versions I developed are slightly faster for cpu implementations (not sure about gpu implementations).  As I've a crappy gpu I can't compare the complex triplex... versions to trig versions on a gpu (many of which I guess to have trigonometric optimizations, but maybe not?). 

  For example, for the degree 9 (z^9) 4d bulb @ 10 iterations (.2 k value), the trig version took 75.813 seconds and the complex quadplex version took 47.453 seconds:  in other words the trig version takes 159.8% longer for the same exact image.  This adds up, especially when you render larger images (than these 500x500 test images)...

  Now the difference is lower for less iterations... so when you increase iterations (deep zoom) the quadplex version really starts to pay off (at 5 iterations, there is only ~ +120% time for the trig version). 

  500x500 zoomed in:
  21 iter trig: 2:26.172     vs.     21 iter quadplex: 1:21.109   =  180.2% difference!!!!

  NOTE:  Complex derivatives are fricken simple... and all these should pass Cauchy Riemann conditions.  Derivative of z^n?  n*z^(n-1) 

   I'll start a thread for the pseudo-julias, later tonight or tomorrow.  Pretty busy as my brother is arriving in town tonight... but the discovery was very simple (and probably already exists somewhere else, as this thread shows, someone's probably already done it elsewhere in the forums before now). 

  I just take the starting x, y, and z values, subtract the new values and add in whatever julia seed value I was using.  To extend this to 5d, do the same thing with your starting x,y, z, k, and l values, subtract the new values and add in your julia seed.  Simply phenomenal....  Check the variety on this 11 iteration 2048x2048 image (done with x,y, and z values sandwiched between the k and l values, you can vary the placement of the 5 dimensions for different images):

http://lh6.ggpht.com/_gbC_B2NkUEo/TIc-2TiNOvI/AAAAAAAAAp8/lwUI1FxYTnw/11%20iter%202048x2048.jpg
Logged

JosLeys
Strange Attractor
***
Posts: 258


WWW
« Reply #18 on: September 08, 2010, 11:18:04 PM »

Quote
PS: looking at the code, i assume that RRdz and Rdz is the same variable?

Yes, sorry. Just a typo.
Logged
Jesse
Download Section
Fractal Schemer
*
Posts: 1013


« Reply #19 on: September 08, 2010, 11:28:15 PM »

Yes, sorry. Just a typo.

No problem, for my test implementation i did not need it anyway.
It seems to work so far, a quick test with a quaternion as hybrid...



Now i will try a boost instead of a rotation for 4d... (in the next time)
Logged
Jesse
Download Section
Fractal Schemer
*
Posts: 1013


« Reply #20 on: September 09, 2010, 08:31:24 PM »

Just wanted to say that my experiment with a hyperbolic version for theta1 gave no good result.
But i am not an analytic mathematician, so multiplying the Arcsinh(w/R) with the power and using the Cosh and -Sinh out of it may make no sense at all?
The sense should be that our universe is basically a minkowski 4d spacetime, so i am trying to use the fourth dimension in a similiar way.

By mistake i found a way to inflate bulbs, so if someone's bulb needs some air or water just call me:  No !!!


* pumpupP2sine.gif (229.61 KB, 160x120 - viewed 806 times.)

* liquidBulb.jpg (76.08 KB, 640x480 - viewed 437 times.)
Logged
Sockratease
Global Moderator
Fractal Senior
******
Posts: 3181



« Reply #21 on: September 09, 2010, 09:51:25 PM »

By mistake i found a way to inflate bulbs, so if someone's bulb needs some air or water just call me:  No !!!


No need of air or water here, but if you find a way to fill them with Beer, let me know!!   champagne toast
Logged

Life is complex - It has real and imaginary components.

The All New Fractal Forums is now in Public Beta Testing! Visit FractalForums.org and check it out!
Jesse
Download Section
Fractal Schemer
*
Posts: 1013


« Reply #22 on: September 09, 2010, 10:27:19 PM »

No need of air or water here, but if you find a way to fill them with Beer, let me know!!   champagne toast

Now i know what the holy grail would be  cheesy
Logged
M Benesi
Fractal Schemer
****
Posts: 1075



WWW
« Reply #23 on: September 10, 2010, 09:28:43 PM »

By mistake i found a way to inflate bulbs, so if someone's bulb needs some air or water just call me:  No !!!

  You add in a 4th component to your magnitude without a rotation? 
Logged

Jesse
Download Section
Fractal Schemer
*
Posts: 1013


« Reply #24 on: September 10, 2010, 10:17:35 PM »

  You add in a 4th component to your magnitude without a rotation? 

Yep, i forgot to scale theta1 so the bulb turned into a spehere with higher cw values.

You are the 6, 7? dimension man, so no problem for you.
I just wish your images would not look like ultrasonic scans, so as they were pre-birth scans  wink

An deflating?



* DeflateP2sine-z.gif (225.68 KB, 160x120 - viewed 756 times.)
Logged
M Benesi
Fractal Schemer
****
Posts: 1075



WWW
« Reply #25 on: September 11, 2010, 06:10:20 AM »

  I like the way they look... the contrast really makes them pop (to my mind's eye).  I made a similar "mistake" back when I first tried 4d bulbs... the same one.  You can do some neat stuff with it if you do it right however (the non-rotated magnitude component):

<a href="http://www.youtube.com/v/K597mPrU61E&rel=1&fs=1&hd=1" target="_blank">http://www.youtube.com/v/K597mPrU61E&rel=1&fs=1&hd=1</a>
Logged

Jesse
Download Section
Fractal Schemer
*
Posts: 1013


« Reply #26 on: September 11, 2010, 10:13:56 PM »

  I like the way they look... the contrast really makes them pop (to my mind's eye).

Ok, the viewing habits may vary, for me it is sometimes hard to distinguish between the 3d structures and what is coloring.
I would like to see SSAO from chaospro, have you tried it? Should be fast, independently of the formula.
But thanks for the good work anyway!

Quote
  I made a similar "mistake" back when I first tried 4d bulbs... the same one.  You can do some neat stuff with it if you do it right however (the non-rotated magnitude component):

That is neat, yep.
The hope is still to find a bulb with speheres on spheres... something different from the bulbs so far.
Logged
M Benesi
Fractal Schemer
****
Posts: 1075



WWW
« Reply #27 on: September 12, 2010, 06:33:28 AM »

  I like the way they look... the contrast really makes them pop (to my mind's eye).

Ok, the viewing habits may vary, for me it is sometimes hard to distinguish between the 3d structures and what is coloring.
  I know it's a tangent, don't want to hijack the thread, but the structure of the coloring is really part of the magic of fractals.  You've got to consider that a 2d mandelbrot, just looking at the edge, without coloring all the different iterations, it's pretty boring.  With the 3+ dimensional formulas, you can't do anything but "look at the edge" (well, you can slice it, but that's not what we're aiming for), and one way to see the interesting fractal structure is to color it with various iteration values.


Quote
I would like to see SSAO from chaospro, have you tried it? Should be fast, independently of the formula.
  The AO only mode looks a lot like the sample on the SSAO wiki page, so... yes.  Can mess around with that a bit, however I still think the real structure of fractals lies in the coloring schemes, and just like a 2d painting can be made to be 3d by perspective effects, 3d fractals can be made to pop out with coloring (instead of simply shading).  I think IQ (Inigo?) mentioned orbital coloring as a method of popping out the fractals a long time ago...  anyways..

  In the following 5d (not 4d) fractal, you can see that the method of coloring highlights mathematical "valleys" (shadows), pops out the 3d details, and creates a pretty texture to further enhance the look of the fractal. 



Quote
The hope is still to find a bulb with speheres on spheres... something different from the bulbs so far.
   Yeah, but I don't think that will be "the" 3d Mandelbrot, as the apparent 3d extension of the 2d complex formula is the 3d complex formula I posted in the "3d Mandelbrot Formulas" sticky-thread.  It just makes sense that the 3d version has greater distortion due to the additional imaginary component... thus the distorted fractal dubbed the xmas tree fractal (by huh?)...
Logged

Pages: 1 [2]   Go Down
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
Mandelbulb on MAC Mandelbulb 3d « 1 2 3 » LMarkoya 37 32307 Last post May 05, 2017, 01:50:19 AM
by thargor6
Mandelbulb on the MAC Again Help & Support LMarkoya 1 248 Last post October 28, 2013, 08:52:24 AM
by KRAFTWERK
Mandelbulb 3D Meet & Greet diamonds 3 658 Last post July 15, 2014, 11:30:19 AM
by Sockratease
mix Mandelbulb and Jwf Mandelbulb3D Gallery jackdp 0 991 Last post May 19, 2015, 07:08:21 PM
by jackdp
Mandelbulb 3d help Help & Support ksm17 1 334 Last post May 18, 2017, 10:32:21 AM
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.179 seconds with 25 queries. (Pretty URLs adds 0.01s, 2q)