Logo by Maya - 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 19, 2024, 10:34:30 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] 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: Revisiting the Riemann sphere (again)  (Read 2211 times)
0 Members and 1 Guest are viewing this topic.
msltoe
Iterator
*
Posts: 187


« on: January 15, 2014, 01:32:51 AM »

Another variant of a Riemann sphere fractal that occurred to me yesterday.


Code:
while ((norm<40960)&&(iter<imax)) {

  (*nfunc)++;
 
   r = sqrt(x*x+y*y+z*z);

   r1 = 1.0/r;

   x=x*r1;y=y*r1;z=z*r1;

   x1 = x/(1-z);
   y1 = y/(1-z);
   z1 = (r-1.5)*(1+x1*x1+y1*y1);

   x1 = x1 - floor(x1+0.5);
   y1 = y1 - floor(y1+0.5);
   
   x=4*x1;y=4*y1;z=z1;

  r = x*x+y*y+z*z;
   
  norm = r;
  iter++;
}
Logged
hobold
Fractal Bachius
*
Posts: 573


« Reply #1 on: January 15, 2014, 02:05:50 AM »

Looking through the gaps, there seem to be some interesting structures beneath the outer shell. Overall the shape appears to be fairly regular, though. More like a Julia set, with the same "theme" everywhere, and less like a Mandelbrot set, with different kinds of shape in different areas.
Logged
msltoe
Iterator
*
Posts: 187


« Reply #2 on: January 15, 2014, 02:13:30 AM »

Yes. Julia-like. Perhaps, we could add a bit of "spin" or spiral to it. The one thing I didn't incorporate which I originally envisioned are bounding spheres to cover up the inside. This means that with too large an iteration count, this object disappears into foam. I think the inside may have some interesting locations, but it's also where things get non-conformal.
Logged
hobold
Fractal Bachius
*
Posts: 573


« Reply #3 on: January 15, 2014, 12:59:29 PM »

I am unable to render this fractal. What value did you choose for maximum iterations? What size is the object?
Logged
msltoe
Iterator
*
Posts: 187


« Reply #4 on: January 15, 2014, 01:43:33 PM »

Give the system a cubic extent of (-4,-4,-4) to (4,4,4). Total number of iterations = 8.
Logged
msltoe
Iterator
*
Posts: 187


« Reply #5 on: January 15, 2014, 03:05:59 PM »

Another version, with bounding spheres to provide some smooth/sharp contrast:

Logged
trafassel
Fractal Bachius
*
Posts: 531


trafassel
« Reply #6 on: January 16, 2014, 09:42:22 PM »

Very nice finding.



* Data82pic10006s256.jpg (249.51 KB, 1200x1123 - viewed 51 times.)
Logged
msltoe
Iterator
*
Posts: 187


« Reply #7 on: January 16, 2014, 10:52:49 PM »

trafassel: Thanks for replicating. Looks nice! There's some flexibility in the parameters. Perhaps, there's a romanesco hiding in there...
Logged
Kabuto
Forums Freshman
**
Posts: 10


« Reply #8 on: January 18, 2014, 02:30:54 PM »

GLSL attempt: http://glsl.heroku.com/e#13664.1

It was a bit tricky to tweak the formula to emit a proper distance and it's still not 100% perfect and there are some strange "spiderwebs" inside now smiley



* glsl.jpg (31.71 KB, 480x262 - viewed 514 times.)
Logged
msltoe
Iterator
*
Posts: 187


« Reply #9 on: January 18, 2014, 04:36:48 PM »

Cool! I think when 1-z is close to zero, you can get infinite lines.
Logged
jehovajah
Global Moderator
Fractal Senior
******
Posts: 2749


May a trochoid in the void bring you peace


WWW
« Reply #10 on: January 18, 2014, 08:31:00 PM »

This reminds me of that cloud phenomenon when a volcano erupts! Although too regular at the moment it also reminds me of soap bubbles in the bath before they get like dry foam.

The sphere is such a remarkable form, especially because it does not tessellate. In terms of physicality , bubbles do have contact surface forces that shape them, so to be able to bound these spheres is interesting.

Very nice work!
Logged

May a trochoid of ¥h¶h iteratively entrain your Logos Response transforming into iridescent fractals of orgasmic delight and joy, with kindness, peace and gratitude at all scales within your experience. I beg of you to enrich others as you have been enriched, in vorticose pulsations of extravagance!
msltoe
Iterator
*
Posts: 187


« Reply #11 on: January 19, 2014, 04:38:20 AM »

jehovajah: Thanks! I love spheres for some reason smiley

BTW, when you flip this fractal on its side, it becomes an impostor to the Mandelgrail:



* riemann_bulb7.jpg (164.93 KB, 552x544 - viewed 45 times.)
Logged
trafassel
Fractal Bachius
*
Posts: 531


trafassel
« Reply #12 on: January 21, 2014, 12:30:54 AM »

Here is the variant:

while ((norm<40960)&&(iter<imax)) {

  (*nfunc)++;
 
   r = sqrt(x*x+y*y+z*z);

   r1 = 1.0/r;

   x=x*r1;y=y*r1;z=z*r1;

   x1 = x/(1-z);
   y1 = y/(1-z);
   z1 = (r-1.5)*(1+x1*x1+y1*y1);

   x1 = x1 - floor(x1+0.5);
   y1 = y1 - floor(y1+0.5);
   
   x=4*x1;y=4*y1;z=-2.0*z1;

  r = x*x+y*y+z*z;
   
  norm = r;
  iter++;
}


* Data84pic10070s.jpg (243.45 KB, 1200x1200 - viewed 47 times.)
Logged
trafassel
Fractal Bachius
*
Posts: 531


trafassel
« Reply #13 on: January 23, 2014, 12:43:22 AM »

Other Variants


* Data3pic10513s120.jpg (116.84 KB, 1070x1200 - viewed 45 times.)

* Data82pic10542s120.jpg (118.55 KB, 1200x1125 - viewed 45 times.)
Logged
kram1032
Fractal Senior
******
Posts: 1863


« Reply #14 on: January 23, 2014, 02:17:39 PM »

That colorful variant looks awesome! It's a flower fractal cheesy
The other two are great too smiley
Logged
Pages: [1] 2   Go Down
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
Do quaternions need revisiting? (new) Theories & Research « 1 2 » Roquen 20 1379 Last post August 07, 2014, 01:07:52 PM
by Roquen
Project a cube into a sphere (not Riemann's way) Programming DarkBeam 7 2089 Last post October 04, 2013, 11:21:37 PM
by cKleinhuis
Riemann Sphere Msltoe Mandelbulber Gallery Buddhi 7 1914 Last post January 04, 2016, 05:46:41 AM
by M Benesi
Another way to make my Riemann sphere "bulb" using a conformal transformation (new) Theories & Research « 1 2 » msltoe 20 2722 Last post April 10, 2016, 10:20:36 PM
by gannjondal
Riemann Sphere + Abox Mandelbulber Gallery Buddhi 0 2472 Last post March 21, 2016, 08:32:50 PM
by Buddhi

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