Logo by miles - 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: Visit us on facebook
 
*
Welcome, Guest. Please login or register. April 19, 2024, 06:42:02 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]   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: Interesting 3d mandelbrot-like fractal  (Read 5280 times)
0 Members and 1 Guest are viewing this topic.
Tglad
Fractal Molossus
**
Posts: 703


WWW
« on: November 20, 2009, 01:25:28 PM »

Hi, I'm new to these forums and so I haven't managed to get my head around ultrafractal yet, but I've got a couple of (horribly rough) pictures of a 3d fractal idea.
It works just like the mandelbulb but instead of polar (longitude/latitude) parameters, it operates on a torus, meaning no singularity points on the shape.
I've transformed the torus back into a square patch (notice how it tiles).
Also notice that the front wall traces out a 2d mandelbrot and the side walls trace out a similar fractal shape.
There are some free parameters, the ring radius and the chosen scale on C.. the two are set to 2 and 1/4 respectively, and it exits when distance from torus > 2.



The formula is like so (c++):
    ringWidth = 2.f;
    cScale = 0.25f;
    power = 2.f;
    phi = fmodf(phi*power, 2.f*PI); // rotate around ring girth
    theta = fmodf(theta*power, 2.f*PI); // rotate around big ring circle
    radius = powf(radius , power);  // scale distance away from ring
    pos = Vector((ringWidth - radius *cosf(phi))*cosf(theta), (ringWidth - radius *cosf(phi))*sinf(theta), radius *sinf(phi));
    if (radius  > ringWidth)
      return false;
    pos += C*cScale;
    theta = atan2f(pos.y, pos.x);
    float dist = ringWidth - sqrtf(sqr(pos.x) + sqr(pos.y));
    phi = atan2f(pos.z, dist);
    radius  = sqrtf(sqr(pos.z) + sqr(dist));


* fractal1.jpg (153.91 KB, 824x598 - viewed 625 times.)

* fractal2.jpg (68.2 KB, 615x383 - viewed 825 times.)
Logged
Tglad
Fractal Molossus
**
Posts: 703


WWW
« Reply #1 on: November 22, 2009, 03:51:40 AM »

OK, I got ultrafractal working and I think I've convinced myself that this line of reasoning is a no goer.
The idea is to keep singularities in the rotation part (which occur at the north and south poles on the mandelbulb) outside of the fractal by operating on a donut.
But ultrafractal shows that any variation on this idea will inevitably produce a fractal of donuts (lots of rings with hole in them) which isn't what we want.. and it doesn't actually seem to remove the whipped cream effect as I hoped.
The above pictures just aren't detailed enough to show the hoops.
Was fun trying though  cheesy
Logged
kram1032
Fractal Senior
******
Posts: 1863


« Reply #2 on: November 22, 2009, 11:01:46 AM »

though, it's a nice idea smiley
Maybe you can do a new 2D-Variation with it? (you could flatten the results out as you showed here and then tile them... could give interesting pictures smiley )
Logged
twinbee
Fractal Fertilizer
*****
Posts: 383



WWW
« Reply #3 on: November 26, 2009, 06:40:28 PM »

Heh, I tried a torus coord approach too a while back without success. Those pics actually look a little bit promising, but I'll take your word for it if you had no luck in UF.
Logged
Pages: [1]   Go Down
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
Interesting fractal with really stubborn grain Mandelbulb 3d MindsEye 13 3048 Last post January 24, 2012, 02:49:13 PM
by MindsEye
Interesting Mandelbrot variant Mandelbrot & Julia Set rollercoaster158 4 4556 Last post June 13, 2012, 05:16:27 PM
by rollercoaster158
Maybe interesting for programmers 3D Fractal Generation Lalla 5 1762 Last post August 04, 2012, 06:10:25 PM
by eiffie
An interesting fractal, the Mandelex (inspired by the box) Amazing Box, Amazing Surf and variations « 1 2 ... 5 6 » Hiato 76 20420 Last post May 25, 2016, 09:09:04 PM
by Imagyx
Interesting shape in Mandelbrot Fractal eXtreme Gallery simon.snake 6 2380 Last post April 24, 2013, 10:17:41 AM
by mclarekin

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