msltoe
Iterator
Posts: 187
|
|
« on: January 15, 2014, 01:32:51 AM » |
|
Another variant of a Riemann sphere fractal that occurred to me yesterday. 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
|
|
« Reply #6 on: January 16, 2014, 09:42:22 PM » |
|
Very nice finding.
|
|
|
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.1It 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
|
|
|
|
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
|
|
« 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 BTW, when you flip this fractal on its side, it becomes an impostor to the Mandelgrail:
|
|
|
Logged
|
|
|
|
trafassel
Fractal Bachius
Posts: 531
|
|
« 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++; }
|
|
|
Logged
|
|
|
|
trafassel
Fractal Bachius
Posts: 531
|
|
« Reply #13 on: January 23, 2014, 12:43:22 AM » |
|
Other Variants
|
|
|
Logged
|
|
|
|
kram1032
|
|
« Reply #14 on: January 23, 2014, 02:17:39 PM » |
|
That colorful variant looks awesome! It's a flower fractal The other two are great too
|
|
|
Logged
|
|
|
|
|