Logo by KRAFTWERK - 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. July 03, 2020, 07:59:35 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: M-Set on a Partial/Total Mobius Cylinder looks neat  (Read 5904 times)
0 Members and 1 Guest are viewing this topic.
Hiato
Forums Freshman
**
Posts: 14


« on: March 28, 2013, 10:38:43 PM »

Hello all,

This is actually something I discovered (alert me if this is not the case and I will edit duly) a while ago and somehow overlooked. Recently though I figured that, if for no other reason, you guys might like it because it is pretty and something fairly novel to do with the M-Set.

One day I was wondering what the M-Set would look like on strange geometries. I went through the usual: polar coords projections, spheres and blah blah. Nothing seemed to really introduce new or interesting features until I considered the Mobius strip, or to be precise, the Mobius cylinder. The Mobius cylinder as I term it, is characterised by some length a on the real axis and is unbounded on the imaginary axis, and has the usual mobius transform at x=-a and x=a. That is, any point with |Re{z}|>a is wrapped around the cylinder horizontally until Re{z} in [-a,a) (or the complementary interval, or the closed one) and is vertically flipped (complex conjugate).

Code wise, we are looking at something akin to the following:
Code:
vec2 mobius(vec2 p) {
float dist=abs(p.x)-width;
if (p.x>width) {
p.x=-width+dist;
p.y*=-1;
}
else if (p.x<-width) {
p.x=width-dist;
p.y*=-1;
};
return p;
};

note here width=a and that this is technically the half-width. For some terminology, I call this the total Mobius Cylinder. A partial Mobius cylinder is thus where the wrapping is applied at only one boundary.

What does this have to do with the M-Set? Well, I found that if we adjust the iteration for points to z->MobiusWrap(z^2+c), that is, apply the coordinate transform after every iteration, beautiful new patterns emerge for all values of a ~ (0,2.7). Naturally, due to the fact that the only way for a point to escape is vertically (or in one horizontal direction and vertically), we must increase the bailout radius a tad to include all of the fractal. Values around six seem to work just fine. Most interestingly of all, despite what would seem like a non-conformal map, the fractal remains continuous.

Now for some pictures to pique some interest: http://imgur.com/a/2Onxl#0
The overall shape, for the lazy, with a=1 and total:



I would encourage all of you to play with this and discover the hidden beauties and let me know! (I have compiled a quick fragmentarium file to render the fractal, attached)  grin

Hiato

* mandel_mobius.frag (1.15 KB - downloaded 190 times.)
Logged
cKleinhuis
Administrator
Fractal Senior
*******
Posts: 7044


formerly known as 'Trifox'


WWW
« Reply #1 on: March 28, 2013, 10:59:33 PM »

we like smiley

so, it has tricorns and minibrots!

the tricorn happens quite often in the hybrids

tricorn:
http://en.wikipedia.org/wiki/Tricorn_%28mathematics%29
Logged

---

divide and conquer - iterate and rule - chaos is No random!
Levi
Alien
***
Posts: 35


« Reply #2 on: April 05, 2013, 02:20:01 AM »

Beautiful! It's really interesting that the tricorns appear, as well as the addition of a shape on the positive real axis...which I'm pretty sure doesn't normally have any satellites on it.
Logged

Math isn't the solution, math is the question.
kram1032
Fractal Senior
******
Posts: 1863


« Reply #3 on: April 05, 2013, 01:21:26 PM »

...
...
...
...
*snort*

Lol, does it actually suffer from too much gas in the stomach?

Anyway, it's really nice work cheesy
<<-----
Logged
panzerboy
Fractal Lover
**
Posts: 242


« Reply #4 on: April 20, 2013, 07:18:50 AM »

Just created Fractal Extreme 64bit and 32bit plugins for this formula.

http://sourceforge.net/projects/mobiusmandel/files

Rendering a very pretty 'right' mobius zoom  at the moment.

I've simplified the formula a little
You don't need the 'dist' you either add or subtract double the width.

Ie.

Code:
uniform float width2 = width + width;

vec2 mobius(vec2 p) {

if (p.x>width) {
p.x-=width2;
p.y*=-1;
}
else if (p.x<-width) {
p.x+=width2;
p.y*=-1;
};
return p;
};

Not sure if that's legal fragmentarium code but you get the idea.
Logged
panzerboy
Fractal Lover
**
Posts: 242


« Reply #5 on: April 20, 2013, 04:57:04 PM »


Mobius Mandelbrot by panzerboyNZ, on Flickr

Total mobius
real +0.252,620,120,566,35
Imginary +0.000,072,012,958,67
Zooms 38 magnification 2.749e11
Logged
Dinkydau
Fractal Senior
******
Posts: 1616



WWW
« Reply #6 on: April 21, 2013, 04:22:59 AM »

Nice
I'll check that out.
Logged

panzerboy
Fractal Lover
**
Posts: 242


« Reply #7 on: April 22, 2013, 04:40:40 AM »

Here is that very pretty zoom of a right mobius mandelbrot.

<a href="http://www.youtube.com/v/_-p6HgjrFD8&rel=1&fs=1&hd=1" target="_blank">http://www.youtube.com/v/_-p6HgjrFD8&rel=1&fs=1&hd=1</a>
Logged
cKleinhuis
Administrator
Fractal Senior
*******
Posts: 7044


formerly known as 'Trifox'


WWW
« Reply #8 on: April 22, 2013, 08:12:46 AM »

cool video, i wonder this is different to just a map-transform ?
because it is applied in every iteration.. and not just before the formula is iterated, i wonder if ultrafractal transformation mappings could be applied the same way?
Logged

---

divide and conquer - iterate and rule - chaos is No random!
Levi
Alien
***
Posts: 35


« Reply #9 on: April 23, 2013, 02:48:25 AM »

Beautiful! Why does yours look a little different than the OP, panzerboy? In any case that zoom video is amazing. Good job!
Logged

Math isn't the solution, math is the question.
panzerboy
Fractal Lover
**
Posts: 242


« Reply #10 on: April 23, 2013, 04:33:19 AM »

I think the difference is that my zoom is a right mobius like kram1032's post.
The total mobius wraps when the real value exceeds 1 or is less than -1.
The right version maps only when the real exceeds 1, the left only when it is less than -1.
See Hiato's link to imgur for examples of each.
This logic is in Hiato's attached fragmentarium code mandel_mobius.frag (open with wordpad on windows).
The right and left versions are a little quicker to calculate because there is one less step involved.
I'm rendering a total zoom now that will take a few days but is MUCH more detailed.
Logged
Levi
Alien
***
Posts: 35


« Reply #11 on: April 24, 2013, 02:14:50 AM »

Oh I see now! This is actually really interesting. The implied geometry of those one-sided wraps is very peculiar then--if you took the infinite plane and cut it in two at x=a, discarded one half, then rolled up the finite end a little bit- like a scroll that's partly rolled up, but the unrolled end goes on forever. Plus a bit of a twist in the sense that it's got that Mobius-inversion thing going on. I like!!

I'll post some pics if I find any cool variations!
Logged

Math isn't the solution, math is the question.
panzerboy
Fractal Lover
**
Posts: 242


« Reply #12 on: April 25, 2013, 06:45:49 AM »

So here's the Total Mobius zoom I mentioned a couple of days ago.

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

I was pleasantly suprised at the different structures revealed.
Logged
cKleinhuis
Administrator
Fractal Senior
*******
Posts: 7044


formerly known as 'Trifox'


WWW
« Reply #13 on: April 25, 2013, 07:24:57 AM »

So, we need to introduce a pre and post transform for generalization of this?
Like in the flames. . .
Logged

---

divide and conquer - iterate and rule - chaos is No random!
Levi
Alien
***
Posts: 35


« Reply #14 on: May 10, 2013, 07:05:31 AM »

I like the images that this can create but have just written a program to generate these and it brought some issues to mind.

1) Seeds are not wrapped around the Mobius cylinder. Of course, this arguably could be intentional as otherwise it would no longer be a map of the entire complex plane.
2) Initial value for z is not (0 + 0i) but rather the seed value, which was once again not wrapped around the cylinder. Using the seed as the initial z value is a Mandlebrot program optimization which can be done because the seed is normally a critical value - but in this case the seed is not a critical value.
3) You are not taking into account the possibility that a value may leave the acceptable interval [-a, a] by more than just 2a. If the result of a multiplication is a number with a real component of say, 10, you would simply be subtracting 2a resulting in a real component of 8 (if a=1) - which is still not in the acceptable interval. To fix this, you would have to just slightly modify the code:

Code:
uniform float width2 = width + width;

vec2 mobius(vec2 p) {
while (p.x>width) {
p.x-=width2;
p.y*=-1;
}
while (p.x<-width) {
p.x+=width2;
p.y*=-1;
};
return p;
};

(I'm not sure if while loops are legal fragmentarium code but I'm a C++ guy so that's how I would do it.)

Unfortunately, adding the above changes ruins the aesthetic appeal of the fractals, imo sad . These mobius cylinder things are a cool idea though and I will keep you posted if I find anything else.

A pic with change number 3 only:


EDIT: also, a proposed optimization: do away with the escape radius entirely.  Since a number isn't supposed to escape in the x direction, you simply need to check that (p.y < r && p.y > -r) to confirm that the value has not escaped yet. But note that this changes the coloring of the exterior of the set - kinda makes it look like a spiderweb for large r.
« Last Edit: May 10, 2013, 07:40:33 AM by Levi » Logged

Math isn't the solution, math is the question.
Pages: [1] 2   Go Down
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
partial anti-buddhabrot Images Showcase (Rate My Fractal) Freakadella 6 1516 Last post December 21, 2012, 06:05:13 PM
by Alef
Duo pack of zoom vids - Cubic Partial BS Real Movies Showcase (Rate My Movie) youhn 10 756 Last post October 28, 2014, 07:26:45 PM
by youhn
Cubic Partial Real - Organic Folding Zoom Movies Showcase (Rate My Movie) youhn 1 431 Last post November 10, 2014, 07:27:12 PM
by Kalles Fraktaler
Nemesis temple (cylinder heightmap) Images Showcase (Rate My Fractal) pulsar69 4 1892 Last post August 05, 2015, 05:12:08 PM
by Fractal universe
The Cylinder formulae Tutorials knokin 0 309 Last post July 07, 2016, 02:58:23 AM
by knokin

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.161 seconds with 27 queries. (Pretty URLs adds 0.009s, 2q)