Title: 3d Burning Ship & extension to 3d Mset for n=2,6,10..., odd n; & another formul Post by: M Benesi on October 23, 2010, 06:50:13 PM I can't believe how obvious the formula is after I discovered it....
There are 2 main varieties, although I prefer the one I'm posting images of. I stumbled across this formula while playing around with a new fractal type, and decided to apply what I discovered to my old complex compound formula. You can redo the code in trig form if you want, using dual-complex numbers works about 2 times as fast on my comp... I'd like to add that my other formula, which combines the 2 3d Mandelbrot varieties, produces far more interesting fractals (at least for higher n z^n). I'll post it beneath the images... Code: r1=sqrt(sqr(sy)+sqr(sz)); // you can do x and y values here instead and generate a different fractal side:(http://lh5.ggpht.com/_gbC_B2NkUEo/TMMPPYyoL-I/AAAAAAAAAw8/fezKS3gg3Mg/s400/side.jpg)top:(http://lh4.ggpht.com/_gbC_B2NkUEo/TMMPPodeBCI/AAAAAAAAAxA/U4h1Q-XXTUY/s400/top.jpg) rear:(http://lh5.ggpht.com/_gbC_B2NkUEo/TMMPPinjOSI/AAAAAAAAAxE/mguqTARkM9k/s400/rear.jpg)front:(http://lh3.ggpht.com/_gbC_B2NkUEo/TMMPP3TIAbI/AAAAAAAAAxI/QsyBw6E9oCU/s400/front.jpg) This formula is produces way cooler fractals. While it skews away from the Mandelbrot type a bit, it has more variety... it's just more interesting. Code: victor=complex(sx,sqrt(sqr(sy)+sqr(sz))); //the major difference in this formula is that it rotates sx Title: Re: here are the first true 3d mandelbrot images Post by: Paolo Bonzini on October 23, 2010, 11:33:06 PM nx=part_r(victor); ny=-abs(r3*part_r(bravo)); nz=-abs(r3*part_i(bravo)); sx=nx+ (pixelr); sy=ny+ abs (pixeli); sz=nz+ abs (pixelj); //these values are the starting values of the next iteration... Why the abs and (for ny and nz) the negation? The formula without them is, if I did my math right, Code: r1=sqrt(y^2+z^2) which embeds the 2d mandelbrot. Title: 3d Burning Ship Fractal ???? Post by: M Benesi on October 24, 2010, 12:13:40 AM Quote Why the abs and (for ny and nz) the negation? The formula without them is, if I did my math right, It does look like you get a standard 2d cross section if you don't do the abs/negations, however there is something I've got to look into further before I say anything else (perhaps in a couple hours I'll follow through, have to do a few things now); ooohhh I remembered:You are NOT going to get a 2d Mandelbrot cross section with x + i sqrt(y^2+z^2), because you are always taking the absolute value of the y component :sqrt(y^2) = |y| .... You could set the value to y's sign though but then you get huge missing chunks out of your fractal (I've tried it with: sign of y, sign of z, sign of y+z... all are discontinuous: huge slices cut right out of the fractal). Come to think of it, I may not be justified in calling this a 3d Mandelbrot, as it's more along the lines of a 3d Burning Ship fractal (http://en.wikipedia.org/wiki/Burning_Ship_fractal). The best looking 3d rotation based fractal to date is the "beautiful fractal" which is the formula I posted at the bottom of the first post in this thread. It's got tremendous variety for all z^n... and I extended it to 4d... totallllly amazing. Title: Re: 3d mandelbrot Burning Ship variety works Post by: M Benesi on October 24, 2010, 07:06:05 PM I did go ahead and set up the fractal with
if (y+z<0) then r1=-r1.. which doesn't reduce to a 2d Mandelbrot (while doing something similar with sqrt(y^2+z^2) gives you a discontinuous fractal). Still need the abs/negation to get the nicest fractals, any which way you do it, although the following method works: Code: r1=sqrt(sqr(sy)+sqr(sz)); Then add in pixel components. It's still nicer if you abs/negate it however. Title: Re: 3d mandelbrot Burning Ship variety works Post by: Jesse on October 28, 2010, 06:59:08 PM The formula in the first post produces one of the most interesting power 2 bulbs i have seen!
It has similarities with Msltoes symmetric variations. Without these absolute (foldings?) it is a cosine bulb, that is what i discovered.. but maybe i did something different like always :) It seems that the search for a holy grail has become the direction of combining the box and the bulb somehow, the "boxers" are adding rotations and the "bulbers" more foldings :dink: A detail of the power 2 bulb: <img src="http://www.fractalforums.com/gallery/3/1127_28_10_10_6_46_52.jpeg" /> PS: i attached the power 2 formula for M3D if someone is interested, hope you dont mind. Title: Re: 3d mandelbrot Burning Ship variety works Post by: M Benesi on October 29, 2010, 05:38:34 AM Thanks Jesse!
The first formula in the first post is the 3d variety of the Burning Ship fractal (without the -y component as I set y to all positive in the equation). The Burning Ship fractal is simply a 2d Mandelbrot with that uses the absolute value of the real and imaginary components each iteration... ... it's like a Mandelbrot without +/-. As the formula produces an EXACT replica of the burning ship, this tells us that the only thing we need to do is assign signs correctly, like I did in that other thread, to make a perfect 3d z^2 Mandelbrot with no singularities (it's in the "singularity" thread in this subforum). The second formula (first post) though... now that is fricken awesome. Some buildings in the z^4 version: (http://lh3.ggpht.com/_gbC_B2NkUEo/TMTfcOwm1_I/AAAAAAAAAyY/vtMwx_89xGc/s288/fly%20into%20the%20building.jpg) (http://lh3.ggpht.com/_gbC_B2NkUEo/TMTfcaUxfWI/AAAAAAAAAyc/9I5pOJCmOrc/the%20buildings.jpg) It is just awesome.... Although now that we have a 3d Mandelbrot that works for z^2,6,10... and all odd n, I found us some seahorses (z^6 though, should search the same location in z^2, as that is where they might be): (http://lh4.ggpht.com/_gbC_B2NkUEo/TMpCaI2h4DI/AAAAAAAAAz4/Z_GLjyNMJP0/seahorses.jpg) Title: Re: 3d mandelbrot Burning Ship variety works Post by: M Benesi on October 29, 2010, 06:19:42 AM But none of those is worthy of the true power of the 2nd formula. The face of Anachranox (4d) is:
(http://lh3.ggpht.com/_gbC_B2NkUEo/TMpK-bBzITI/AAAAAAAAA0M/YxMG-xYXYuQ/face%202.jpg) Title: Re: 3d mandelbrot Burning Ship variety works Post by: Jesse on October 29, 2010, 04:30:26 PM 2 questions about the 2nd formula, that starts with:
Code: victor=complex(sx,sqrt(sqr(sy)+sqr(sz))); //the major difference in this formula is that it rotates sx What computes the cabs function? I took in my first attempts the realpart of bravo, seems to make sense... And the pixel addition is like in the first formula with abs on y and z? This produces some weird and wired stuff, has to explore more until i could say what formula i like more. Two images of the second formula, first without changing y and z, and the second with changing y and z (and with my assumptions about the 2nd formula): Title: Re: 3d mandelbrot Burning Ship variety works Post by: M Benesi on October 29, 2010, 08:33:21 PM Quote What computes the cabs function? oh, sheesh, didn't even think of explaining that portion...z = complex (x,y) creates a complex number z= x + i y cabs (z) computes the absolute value (magnitude) of a complex or quaternion number in ChaosPro. So if z= x+ i y cabs(z) = Quote And the pixel addition is like in the first formula with abs on y and z? Yes. :D Although I am thinking about trying the sign assignment method that works for the first formula (making the Burning Ship into z^2 Mandelbrots) and seeing what it does with the second formula.I like the switched y and z component formula better than the "normal" method as well (it produces interesting patterns). Title: Re: 3d Burning Ship & extension to 3d Mset for n=2,6,10..., odd n; & another formul Post by: Jesse on October 29, 2010, 10:20:55 PM Thank you, it is nearly selfexplaining but i wanted to be sure before i make a formula. :)
Title: Re: 3d Burning Ship & extension to 3d Mset for n=2,6,10..., odd n; & another formul Post by: visual.bermarte on October 30, 2010, 05:17:51 PM http://www.youtube.com/watch?v=Zb2BxD9hKtw (http://www.youtube.com/watch?v=Zb2BxD9hKtw)
Title: Re: 3d Burning Ship & extension to 3d Mset for n=2,6,10..., odd n; & another formul Post by: Jesse on October 30, 2010, 06:27:47 PM Amazing, is this a julia animation from the first formula?
It shows nice attributes of this formula, i still dont know if i like the second one more or not... nevertheless i attached the power 2 version of the second one with changed z and y. Title: Re: 3d Burning Ship & extension to 3d Mset for n=2,6,10..., odd n; & another formul Post by: bib on October 30, 2010, 06:44:29 PM Jesse, I just noticed you've attached some new formulae here. Are there any others I might have missed recently??
Title: Re: 3d Burning Ship & extension to 3d Mset for n=2,6,10..., odd n; & another formul Post by: Jesse on October 30, 2010, 06:48:17 PM Jesse, I just noticed you've attached some new formulae here. Are there any others I might have missed recently?? Nope :) Title: Re: 3d Burning Ship & extension to 3d Mset for n=2,6,10..., odd n; & another formul Post by: bib on October 30, 2010, 06:57:00 PM yes. :) new M3D is really fast.Thanks Except hard shadows :( This is off-topic, but Jesse what do you recommend to calculate them more quickly? Title: Re: 3d Burning Ship & extension to 3d Mset for n=2,6,10..., odd n; & another formul Post by: Jesse on October 30, 2010, 08:12:50 PM It is getting offtopic and i dont want to hijack this thread,
so please do questions about M3D in its directory... (though the HS cant be made really quicker). And i also will put new formulas in the M3D directory in the future, this was only an exception. Title: Re: 3d Burning Ship & extension to 3d Mset for n=2,6,10..., odd n; & another formul Post by: bib on October 31, 2010, 05:40:27 PM Inspired by visual's video above, I have also launched the render of some Julia transformations (+some rotations :)) using Mat Benesi/Jesse's latest formula. Here is a keyframe:
(http://www.fractalforums.com/gallery/4/492_31_10_10_5_37_23.jpeg) Title: Re: 3d Burning Ship & extension to 3d Mset for n=2,6,10..., odd n; & another formul Post by: M Benesi on November 01, 2010, 04:32:01 AM Visual- Awesome animation! That is really cool looking...
Bib- nice coloring. Pow! Looks like something coming outta the screen at you. Waiting for the animation :D Jesse- I'm still finding the second formula to be the more interesting of the 2, although it's nice to have a Burning Ship variant (if you allow the pixel signs to vary (+/-) you'll get the more traditional shape, although I prefer the positive axis only version). The second formula seems (at first glance) to generate a much greater variety of patterns. Click on the image for a bigger version. (http://lh5.ggpht.com/_gbC_B2NkUEo/TM5BhwkTFqI/AAAAAAAAA08/b34Yp_O4B3g/s288/nice%20shot.jpg) (http://lh5.ggpht.com/_gbC_B2NkUEo/TM5BhwkTFqI/AAAAAAAAA08/b34Yp_O4B3g/nice%20shot.jpg) Title: Re: 3d Burning Ship & extension to 3d Mset for n=2,6,10..., odd n; & another formul Post by: bib on November 01, 2010, 09:42:32 AM There you go!
http://www.youtube.com/watch?v=knDJRhLtjJc Title: Re: 3d Burning Ship & extension to 3d Mset for n=2,6,10..., odd n; & another formul Post by: M Benesi on November 01, 2010, 07:49:16 PM Awesome. The interior glow is totally cool... nice tune choice as well.
Title: Re: 3d Burning Ship & extension to 3d Mset for n=2,6,10..., odd n; & another formul Post by: Jesse on November 02, 2010, 07:45:31 PM Jesse- I'm still finding the second formula to be the more interesting of the 2, although it's nice to have a Burning Ship variant (if you allow the pixel signs to vary (+/-) you'll get the more traditional shape, although I prefer the positive axis only version). The second formula seems (at first glance) to generate a much greater variety of patterns. I prefer also the absolute versions, the second formula does not look that harmonic to me, while offering more new structures. Tested the third variant with the conditional negotiation, but maybe there is an error in my implementation, dunno... (though it is not uninteresting, lower part contains the Mset, upper part something different) Title: Re: 3d Burning Ship & extension to 3d Mset for n=2,6,10..., odd n; & another formul Post by: M Benesi on November 02, 2010, 08:50:11 PM I prefer also the absolute versions, the second formula does not look that harmonic to me, while offering more new structures. Do you think we should allow signs to vary (pixel signs) for the BS fractals so they are more like the traditional 2d BS fractals? I like the harmony given by pixel absolute value assignments, but the "real" 2d BS fractal has that boring section on the bottom- which could be included if we allowed pixel variation (of course, this would also include z axis variations, which could be interesting).Quote Tested the third variant with the conditional negotiation, but maybe there is an error in my implementation, dunno... I like the way it looks- I'd check if it has an Mset cross section all the way through ; or is that what you mean by something different, the cross section at the axis has an Mset lower half and something else on top (forward sweeping Mset)?(though it is not uninteresting, lower part contains the Mset, upper part something different) It looks like (not sure) you are using pixel absolute values? I don't use those for the conditional negotiation variant (don't need them). Also, I use the absolute value of the z component when checking whether to assign signs, rather than just the z component: if sy > abs(sz) then... although you get a continuous fractal (with a big "flat stretchy section") if you use: if sy > sz (no absolute value) Make sure your compiler doesn't give you the squared modulus of x when you put in |x| as well! (I know CP does, which results in an entirely different sign assignment)... I think the fractal should have a complete 2d Mset cross section, and be fractally all over (no flat stretchy singularities). Title: Re: 3d Burning Ship & extension to 3d Mset for n=2,6,10..., odd n; & another formul Post by: bib on November 02, 2010, 09:35:21 PM Have you ever seen such a 3D burning ship? coooool!
(http://www.fractalforums.com/gallery/4/492_02_11_10_9_34_27.jpeg) Title: Re: 3d Burning Ship & extension to 3d Mset for n=2,6,10..., odd n; & another formul Post by: cbuchner1 on November 02, 2010, 11:24:20 PM Have you ever seen such a 3D burning ship? coooool! Holy WOW. Does it float? :) Title: Re: 3d Burning Ship & extension to 3d Mset for n=2,6,10..., odd n; & another formul Post by: Tabasco Raremaster on November 02, 2010, 11:37:54 PM The material used for the burning ship animation does make me think of Terminater two.
Quicksilver-ish substance, I love it. Especially when it is going higher than 20 degrees Celcius in my outside thermometer. Title: Re: 3d Burning Ship & extension to 3d Mset for n=2,6,10..., odd n; & another formul Post by: M Benesi on November 03, 2010, 02:44:49 AM Holy Crap!! nice one Bib!
Anyone else find it curious that you lose the 2d BS cross section when you take the absolute value of the new x component? Anyways... Soo.... @Bib- quick question, did you use the second formula instead of the first? The first is the Burning Ship variety. The second is my favorite- a new cool type that is unnamed. I'll show you why I ask... Around the -1.75 x axis mini bulb (of the second formula), there are the great towers (click for big), then the top at sunset (click for big): (http://lh5.ggpht.com/_gbC_B2NkUEo/TND4zS9zeXI/AAAAAAAAA1o/7r3Jj8FQ7Pc/s400/great%20towers%20one.jpg) (http://lh5.ggpht.com/_gbC_B2NkUEo/TND4zS9zeXI/AAAAAAAAA1o/7r3Jj8FQ7Pc/great%20towers%20one.jpg) (http://lh6.ggpht.com/_gbC_B2NkUEo/TNEASIVkveI/AAAAAAAAA1w/s-JDOhDdpBE/s400/top%20at%20sunset.jpg) (http://lh6.ggpht.com/_gbC_B2NkUEo/TNEASIVkveI/AAAAAAAAA1w/s-JDOhDdpBE/top%20at%20sunset.jpg) Which have spectacular, awe inspiring architecture (a zoom on the top of the right tower is forthcoming). And the arches, And a crappy zoom into them: (http://lh5.ggpht.com/_gbC_B2NkUEo/TNEAScRiwZI/AAAAAAAAA14/Pmb8NKSjblU/enter%20the%20archways.jpg)(http://lh5.ggpht.com/_gbC_B2NkUEo/TNEBdiaF0BI/AAAAAAAAA2A/bXm2q3u66Cg/s400/arches%20ok.jpg) And the Pièce de résistance, the Shrine of the Holy Grail (at the pointy end of the z^6): (http://lh5.ggpht.com/_gbC_B2NkUEo/TNEKzrOtyeI/AAAAAAAAA2M/lEHnuTRCddQ/s400/great%20shrine%20zoom.jpg) (http://lh5.ggpht.com/_gbC_B2NkUEo/TNEKzrOtyeI/AAAAAAAAA2M/lEHnuTRCddQ/great%20shrine%20zoom.jpg)(http://lh3.ggpht.com/_gbC_B2NkUEo/TNEKzq9_4KI/AAAAAAAAA2U/vF0e3QNBiV0/s400/shrine%20of%20the%20grail.jpg) (http://lh3.ggpht.com/_gbC_B2NkUEo/TNEKzq9_4KI/AAAAAAAAA2U/vF0e3QNBiV0/shrine%20of%20the%20grail.jpg) (http://lh3.ggpht.com/_gbC_B2NkUEo/TNEKz4PaiKI/AAAAAAAAA2Y/lX-KQwloJsY/s400/shrine%20zoom.jpg) (http://lh3.ggpht.com/_gbC_B2NkUEo/TNEKz4PaiKI/AAAAAAAAA2Y/lX-KQwloJsY/shrine%20zoom.jpg) and last, but not least, click to BIGGIFY: (http://lh3.ggpht.com/_gbC_B2NkUEo/TNEL_G4ZGPI/AAAAAAAAA2o/DlXs5bRjQ_8/s400/shrine%20getting%20cooler.jpg) (http://lh3.ggpht.com/_gbC_B2NkUEo/TNEL_G4ZGPI/AAAAAAAAA2o/DlXs5bRjQ_8/shrine%20getting%20cooler.jpg) Title: Re: 3d Burning Ship & extension to 3d Mset for n=2,6,10..., odd n; & another formul Post by: bib on November 03, 2010, 08:01:24 AM I used the 2nd. I did not find anything very interesting yet in the first one. The 2nd one also exhibits some interesting mini-BS-brots and structures in the corner of the half object, around (1,-1.5,0)
Title: Re: 3d Burning Ship & extension to 3d Mset for n=2,6,10..., odd n; & another formul Post by: M Benesi on November 03, 2010, 08:19:55 AM Thought so. The second one isn't a BS fractal (well, it's a BS fractal in a sense, but it doesn't have the cross section, and actually I made it before I made the BS variant.. I think... dunno..). I'll check that location (I'm assuming z^2). Should be neat, found lots of awesomeness in this one!
Bib- you gotta check out the other z^n... z^6 has a particularly sweet area at the pointy end (negative x axis end), with this kick ass shrine thingy with a grail in it. I posted a few above. Title: Re: 3d Burning Ship & extension to 3d Mset for n=2,6,10..., odd n; & another formul Post by: bib on November 03, 2010, 09:50:49 AM Bib- you gotta check out the other z^n... z^6 has a particularly sweet area at the pointy end (negative x axis end), with this kick ass shrine thingy with a grail in it. I posted a few above. Jesse's formula only offers z²...so far...;) Btw, in your z^6, be careful, it's not the TRUE holy grail ;D ;D (http://www.holavalencia.net/img/poorly.jpg) Title: Re: 3d Burning Ship & extension to 3d Mset for n=2,6,10..., odd n; & another formul Post by: M Benesi on November 03, 2010, 07:59:53 PM Bib- you gotta check out the other z^n... z^6 has a particularly sweet area at the pointy end (negative x axis end), with this kick ass shrine thingy with a grail in it. I posted a few above. Jesse's formula only offers z²...so far...;) @Jesse- Want a trig re-write? I don't know if trig is easier to implement or simply faster to calculate. Trig versions are about 1/2 as fast in ChaosPro, so I tend to use complex numbers (and they are also... familiar to fracteologists) to save render time. Anyways, if you want a re-write, we have top men working on it now. Who? Top men. (I always thought they said "two top men" in the pinball game).... Quote Btw, in your z^6, be careful, it's not the TRUE holy grail ;D ;D lol... nice caption. Yeah... it's not a 3d Mandelbrot, but it is pretty cool. The 4th order (I'd think every even n) has a "grail" thing at the pointy end as well.So, I assume it's down the pointy end near where your ship masts are, but I found these... and an interesting thing about them (you probably have seen already). I zoomed towards the base of the right most tower, iterated, than zoomed near a crack in the tower and iterated about 4 more times.. and ended up with nice structures. (http://lh4.ggpht.com/_gbC_B2NkUEo/TNG6NL-OtxI/AAAAAAAAA2w/VduDPhNkrk0/s288/down%20the%20point%20from%20the%20towers%20a%20bit.jpg) (http://lh4.ggpht.com/_gbC_B2NkUEo/TNG6NL-OtxI/AAAAAAAAA2w/VduDPhNkrk0/down%20the%20point%20from%20the%20towers%20a%20bit.jpg)(http://lh3.ggpht.com/_gbC_B2NkUEo/TNG6NUj42GI/AAAAAAAAA20/beBKabOey0E/s288/down%20the%20point%20from%20the%20towers%20a%20bit%202.jpg)(http://lh6.ggpht.com/_gbC_B2NkUEo/TNG6NvQuxOI/AAAAAAAAA24/hFWKsET0Np4/s288/down%20the%20point%20interated.jpg) (http://lh6.ggpht.com/_gbC_B2NkUEo/TNG6NvQuxOI/AAAAAAAAA24/hFWKsET0Np4/down%20the%20point%20interated.jpg)(http://lh5.ggpht.com/_gbC_B2NkUEo/TNG6NtZpLfI/AAAAAAAAA28/H2i-tulUkTs/s288/down%20the%20point%20zoomed%20on%20a%20crack%20and%20iterated.jpg) (http://lh5.ggpht.com/_gbC_B2NkUEo/TNG6NtZpLfI/AAAAAAAAA28/H2i-tulUkTs/down%20the%20point%20zoomed%20on%20a%20crack%20and%20iterated.jpg) You know, it makes me wonder if these fractal tower structures have real world applications... engineering side of things, or maybe even IC architecture... Title: Re: 3d Burning Ship & extension to 3d Mset for n=2,6,10..., odd n; & another formul Post by: Jesse on November 03, 2010, 11:04:17 PM I am way back in this thread:
Do you think we should allow signs to vary (pixel signs) for the BS fractals so they are more like the traditional 2d BS fractals? I like the harmony given by pixel absolute value assignments, but the "real" 2d BS fractal has that boring section on the bottom- which could be included if we allowed pixel variation (of course, this would also include z axis variations, which could be interesting). I like the versions with absolute pixel addition more, the full body looks quite cool. third formula: Quote I like the way it looks- I'd check if it has an Mset cross section all the way through ; or is that what you mean by something different, the cross section at the axis has an Mset lower half and something else on top (forward sweeping Mset)? Yes, the lower part contains (a half of) the Mset, but i noticed that i added also the absolute pixel values for y and z, the version without absolute pixel and with condition "if sy>abs(sz)" instead of "if sy>sz" is attached. But it looks still not right, must check it again. Also, I use the absolute value of the z component when checking whether to assign signs, rather than just the z component: Quote Make sure your compiler doesn't give you the squared modulus of x when you put in |x| as well! (I know CP does, which results in an entirely different sign assignment)... Nope, abs() is making abs :dink: But i should make a similiar complex library than CP use to folllow your work faster. Quote I think the fractal should have a complete 2d Mset cross section, and be fractally all over (no flat stretchy singularities). The Mset is now complete, but look yourself... (the tip is rotated towards the viewer, Z is from right to left): Title: Re: 3d Burning Ship & extension to 3d Mset for n=2,6,10..., odd n; & another formul Post by: Jesse on November 03, 2010, 11:17:03 PM @Jesse- Want a trig re-write? I don't know if trig is easier to implement or simply faster to calculate. Trig versions are about 1/2 as fast in ChaosPro, so I tend to use complex numbers (and they are also... familiar to fracteologists) to save render time. Anyways, if you want a re-write, we have top men working on it now. Who? Top men. (I always thought they said "two top men" in the pinball game).... Sounds good, i wish i could follow you though :) Complex math is nice for me, when i got it to work i break it even more down to more simpler code because you often dont need to calculate both parts, real + imag or you see that you dont have to squareroot before when using only the quadratic afterwards. Does CP calculates the complex()^n power function for arbitrary exponents? Title: Re: 3d Burning Ship & extension to 3d Mset for n=2,6,10..., odd n; & another formul Post by: M Benesi on November 04, 2010, 02:06:03 AM first:
Quote Does CP calculates the complex()^n power function for arbitrary exponents? Yeah. Just checked for the first time. lol... I always assumed I'd have to rewrite it trig style, but complex exponentiation isn't that complex (pardon the pun). Speaking of rewriting trig style (victor, bravo, and cramden are now angle names)... after a brief syntax explanation (in case I haven't covered it previously): First of all, CP atan2 calculates the angle between the real and imaginary component of a complex number, if you aren't familiar with CP syntax. Normally atan2 calculates the angle with y/x, but in CP it corresponds to the Arg (x + iy) function. http://en.wikipedia.org/wiki/Atan2 (http://en.wikipedia.org/wiki/Atan2) http://en.wikipedia.org/wiki/Arg_%28mathematics%29 (http://en.wikipedia.org/wiki/Arg_%28mathematics%29) victor=atan2 bravo=atan2 cramden=atan2(sx,sy); r= nx=cos (victor * n) *r; ny=-abs (sin (bravo * n)) *r; nz=-abs (cos (bravo * n) * sin (cramden * n)) *r; //suppose I could use pipes for the abs | | but that does modulus^2 in some compilers then add in your pixel components. <--really had to resist the urge to write "yer" instead of your.... I still am REALLY curious about whether the complex number method is faster compute wise in other compilers (besides CP's internal compiler). Keep in mind that CP's internal compiler calculates z^4 as (z^2)^2 for added speed (which is part of the reason it's fast). Lots of things can be done to streamline the process with complex numbers, but try out the trig... compare... and then let me know. I am very curious. Title: Re: 3d Burning Ship & extension to 3d Mset for n=2,6,10..., odd n; & another formul Post by: M Benesi on November 04, 2010, 02:23:17 AM I like the versions with absolute pixel addition more, the full body looks quite cool. me too. I suppose there should be an option to do non absolute pixels, but.... ya know. The neater version is neater. Quote Yes, the lower part contains (a half of) the Mset, but i noticed that i added also the absolute pixel values for y and z, the version without absolute pixel and with condition "if sy>abs(sz)" instead of "if sy>sz" is attached. But it looks still not right, must check it again. ... The Mset is now complete, but look yourself... (the tip is rotated towards the viewer, Z is from right to left): Title: Re: 3d Burning Ship & extension to 3d Mset for n=2,6,10..., odd n; & another formul Post by: Jesse on November 05, 2010, 10:39:33 PM I still am REALLY curious about whether the complex number method is faster compute wise in other compilers (besides CP's internal compiler). Keep in mind that CP's internal compiler calculates z^4 as (z^2)^2 for added speed (which is part of the reason it's fast). Lots of things can be done to streamline the process with complex numbers, but try out the trig... compare... and then let me know. I am very curious. The trig version must be slower :), especially if the complex version makes optimizations for the integer powers like you mentioned. I think the arbitrary exponent functions also has to compute the angle with arctan2 and uses sin and cos functions? So it would be more fair to compare the arbitrary exponent function with the trig version on exponents like 2.5. Btw, the trig version that you wrote is not the 3rd formula with conditional sign changes? Because my results on this are more compareable with the 2nd formula, i guess.. or i still messed up things. Cheers! Title: Re: 3d Burning Ship & extension to 3d Mset for n=2,6,10..., odd n; & another formul Post by: M Benesi on November 06, 2010, 10:19:00 AM Jesse- you're correct. It's the second formula. Thought that is what you wanted... too blitzed now for a coherent rewrite (problems typing even)...
So tomorrow. Anyways, the second is fricken awesome man. Seriously, it uses rotation to create squares and stuff: (http://lh5.ggpht.com/_gbC_B2NkUEo/TNG6NtZpLfI/AAAAAAAAA28/H2i-tulUkTs/s144/down%20the%20point%20zoomed%20on%20a%20crack%20and%20iterated.jpg) Ok, 3rd formula rewrite. Use this formula for z^2,6,10,14..... Not any other n. if ((sy)>abs(sz)) { victor=atan2 } else { victor=atan2 } cramden=atan2 bravo=atan2(sx,sy); r=(sx^2+sy^2+sz^2)^{n/2}; nx=cos(victor*n)*r; ny=sin(victor*n)*cos(bravo*n)*r; nz=-sin(cramden*n)*sin(bravo*n)*r; pixel values, or julia, etc... For odd n, z^3,5,7,9..... do: victor=atan2 bravo=atan2(sx,sy); r=(sx^2+sy^2+sz^2)^{n/2}; nx=cos(victor*n)*r; ny=sin(victor*n)*cos(bravo*n)*r; nz=sin(victor*n)*sin(bravo*n)*r; Title: Re: 3d Burning Ship & extension to 3d Mset for n=2,6,10..., odd n; & another formul Post by: M Benesi on November 09, 2010, 08:53:05 PM For the second formula (the one with the cool shapes), if you use the absolute value of the new x component:
nx= -abs (part_r(victor)); You get a different fractal, although I don't find it as new (different from other fractals, whats the correct word?) as the version without using the absolute value of the x component. Of course this implies that removing the absolute value of the other components (and giving to the nx) could generate interesting variations as well... although my favorite is the one I originally posted (and being my "favorite" formula is a very ephemeral thing... not exactly something that's going to last forever). Title: Re: 3d Burning Ship & extension to 3d Mset for n=2,6,10..., odd n; & another formul Post by: Jesse on November 09, 2010, 11:44:40 PM Thank you Matthew, i was so busy with different stuff that i have not seen your update.
Will test it in some free minutes! Title: Re: 3d Burning Ship & extension to 3d Mset for n=2,6,10..., odd n; & another formul Post by: M Benesi on November 10, 2010, 08:53:41 PM Awesome Jesse. I hope you include the formula with the z^6 brambles and z^2 towers... I like those things...
Title: Re: 3d Burning Ship & extension to 3d Mset for n=2,6,10..., odd n; & another formul Post by: cKleinhuis on November 10, 2010, 11:02:16 PM btw, have you seen my tryouts with subblues skript:
http://www.fractalforums.com/mandelbulb-renderings/burning-bulb/ Title: Re: 3d Burning Ship & extension to 3d Mset for n=2,6,10..., odd n; & another formul Post by: M Benesi on November 11, 2010, 02:17:30 AM Nice images Trifox,
It looks like you used one of the other formula types for your base fractal? Interesting how it has similar swirls to the second (non-BS) formula, although the formula types are totally different. Something I noticed (which you might want to apply to your variant) is that NOT taking the absolute value of the x component produces a MUCH more interesting fractal, at least for the BS variant I implemented (first formula). The second formula makes awesome julias, especially if you select seeds near where awesomeness happens in the main formula. Near the great towers (z^2 pointy end, click to enlarge): (http://lh3.ggpht.com/_gbC_B2NkUEo/TNuLTEeTbrI/AAAAAAAAA3w/KvMLbUy_3kE/s288/space%20monolith.jpg) (http://lh3.ggpht.com/_gbC_B2NkUEo/TNuLTEeTbrI/AAAAAAAAA3w/KvMLbUy_3kE/space%20monolith.jpg) z^6 shrine of the grail end (click to enlarge): (http://lh5.ggpht.com/_gbC_B2NkUEo/TNuPKIHt1MI/AAAAAAAAA34/lZxxp61gG-M/s288/seeemy%20side.jpg) (http://lh5.ggpht.com/_gbC_B2NkUEo/TNuPKIHt1MI/AAAAAAAAA34/lZxxp61gG-M/seeemy%20side.jpg) (http://lh4.ggpht.com/_gbC_B2NkUEo/TNuPKZCnq5I/AAAAAAAAA38/JohJv0udVK0/s288/rotated%2040%20some%20degrees%20negative%20horizontal.jpg) (http://lh4.ggpht.com/_gbC_B2NkUEo/TNuPKZCnq5I/AAAAAAAAA38/JohJv0udVK0/rotated%2040%20some%20degrees%20negative%20horizontal.jpg) (http://lh4.ggpht.com/_gbC_B2NkUEo/TNuTGtBWTwI/AAAAAAAAA4I/7hzYYcMyQr8/s288/cthulu%20n1p138%20p002%20p006.jpg) (http://lh4.ggpht.com/_gbC_B2NkUEo/TNuTGtBWTwI/AAAAAAAAA4I/7hzYYcMyQr8/cthulu%20n1p138%20p002%20p006.jpg) Title: Re: 3d Burning Ship & extension to 3d Mset for n=2,6,10..., odd n; & another formul Post by: Tabasco Raremaster on November 12, 2010, 07:37:52 AM Those are very wonderful creations Matthew.
Title: Re: 3d Burning Ship & extension to 3d Mset for n=2,6,10..., odd n; & another formul Post by: Jesse on November 12, 2010, 11:11:47 PM The third formula seems not to be discovered by me :dink:
... so i made the power 6 version of the second formula, looks like one of your julias, so could be alright: Title: Re: 3d Burning Ship & extension to 3d Mset for n=2,6,10..., odd n; & another formul Post by: M Benesi on November 13, 2010, 01:39:59 AM Those are very wonderful creations Matthew. lol.. I just stared at your whatchacallit (icon under your name.. avatar? can a fractal be an avatar?) through a whole phone call... anyways, likewise (about your avatar), and thanks. @Jesse: I'm likin' the second formula the most anyways. :D Looks pretty good, rotated differently than I've looked at it though... Check out the - x axis end... that's where the neat tubes are. Also, setting the x axis julia component to close to the negative x axis end gives super cool fractals (for even n, odd n... are different). Top *I think* of the 6th julia at x=-1.1 y=0.03 z= 0.0: (http://lh6.ggpht.com/_gbC_B2NkUEo/TNzJAjzPt8I/AAAAAAAAA4Q/n-jfGI3T6Eg/s400/the%20great%201p1%20p03%200.jpg) (http://lh6.ggpht.com/_gbC_B2NkUEo/TNzJAjzPt8I/AAAAAAAAA4Q/n-jfGI3T6Eg/the%20great%201p1%20p03%200.jpg) |