Logo by Pauldelbrot - 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. January 15, 2026, 11:21:16 AM


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: "Fuzzy" mandelbub  (Read 2720 times)
0 Members and 1 Guest are viewing this topic.
msltoe
Iterator
*
Posts: 187


« on: February 10, 2010, 06:50:41 PM »

   

   Has anyone tried this variation of the Mandelbulb?
 
   r = x*x+y*y+z*z;
   r1 = sqrt(r);
 
   phi   = ( iter*8 )*asin(z/r1);
   theta = ( iter*8 )*atan2(y,x);

   r1 = pow(r,4);
   x1 = r1*cos(theta)*cos(phi);
   y1 = r1*sin(theta)*cos(phi);
   z1 = -r1*sin(phi);

   x = x1+a;y=y1+b;z=z1+c;

 It seems to produce fuzzier versions of the original. Note how I don't accelerate the radial power, just the theta/phi scaling.

 Max iterations = 5, order 8:


 Closeup:


 order 2: "Mandelfrog"
Logged
Timeroot
Fractal Fertilizer
*****
Posts: 362


The pwnge.


WWW
« Reply #1 on: February 10, 2010, 07:41:45 PM »

Just a quick tip to speed up your code; instead, do

r = |zri|+zjk^2;
 
phi   = ( iter*8 )*asin(zjk/sqrt(r));
theta = ( iter*8 )*atan2(zri);

r = r^4;

It looks like your doing this (?) ChaosPro, so in the "init" you'll need to set zri=part_r(#pixel)+part_i(#pixel) and zjk=part_j(#pixel). Looks like a big, purple pillow!
Logged

Someday, man will understand primary theory; how every aspect of our universe has come about. Then we will describe all of physics, build a complete understanding of genetic engineering, catalog all planets, and find intelligent life. And then we'll just puzzle over fractals for eternity.
hobold
Fractal Bachius
*
Posts: 573


« Reply #2 on: February 10, 2010, 08:27:10 PM »

The order 2 "Mandelfrog" ist just 5 iterations as well? Strikes me as unusually rich in detail as compared to other order 2 'bulbs.
Logged
kram1032
Fractal Senior
******
Posts: 1863


« Reply #3 on: February 10, 2010, 08:47:42 PM »

Really a nice one cheesy
Just needs more Antialiasing than usual, I guess...
Looksd almost furry smiley
Logged
msltoe
Iterator
*
Posts: 187


« Reply #4 on: February 10, 2010, 09:53:56 PM »

Timeroot: My rendering code is just a plain old C program I've written over the last few months.
Hobold: The order 2 moniker is misleading, Only the first iteration has an order 2, after that it's 4,8, ... The net result is of the shape of an order 2 with lots more complexity.
Kram1032: These fractals are slow to render because there's no non-trig form. Anti-aliasing is for those who have the multi-threaded codes smiley

Here's a slight variation where the multiplicate factor on the angles is instead 4*(2^iter).

First is the full beast - aliased and all. (Part of the problem is I've resorted to orbit-based ambience for speed)


Next, three closeups using the different schemes: original mandelbulb, iter*8, and 4*(2^iter).




The last one is the fuzziest, but some could argue the beauty of the original.
Finally, the "order 2" with the 2^iter scheme:
Logged
Jesse
Download Section
Fractal Schemer
*
Posts: 1013


« Reply #5 on: February 11, 2010, 12:17:00 AM »

Great thingis, i take two of these  grin grin

Kram1032: These fractals are slow to render because there's no non-trig form. Anti-aliasing is for those who have the multi-threaded codes smiley

Dont forget: you also need the amount of cores...
Logged
msltoe
Iterator
*
Posts: 187


« Reply #6 on: February 11, 2010, 04:30:15 AM »

The order 2 (and order cool versions I presented used the z = -r sin (phi) convention.
If you use z = r * sin (phi), instead, the "order 2" fractal is actually pretty good considering that the regular version is pretty bland. Remember, order 2 means doubling the angle on only iteration 1. I think this is another way of approaching calcyman's conjecture, albeit the symmetry of this one looks like a hybrid between regular orders 2 and 4.


Logged
Timeroot
Fractal Fertilizer
*****
Posts: 362


The pwnge.


WWW
« Reply #7 on: February 11, 2010, 04:34:24 AM »

Okay, gotcha, C then.

I would like to point out that there are non-trig formulas for these, cos(n*arccos(x)) - if n is an integer - can always be simplified out into a non-trig function. You just need a recursive function of the form multcos(x,n), I think.
Logged

Someday, man will understand primary theory; how every aspect of our universe has come about. Then we will describe all of physics, build a complete understanding of genetic engineering, catalog all planets, and find intelligent life. And then we'll just puzzle over fractals for eternity.
KRAFTWERK
Global Moderator
Fractal Senior
******
Posts: 1439


Virtual Surreality


WWW
« Reply #8 on: February 11, 2010, 08:59:10 AM »

Beautiful variaton msltoe!



Convenient with the fur @ this time of year, at least here in the northern hemispere  afro

I'd love to see a deeper zoom... always deeper wink
« Last Edit: February 11, 2010, 10:37:05 AM by KRAFTWERK » Logged

Pages: [1]   Go Down
  Print  
 
Jump to:  


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.423 seconds with 29 queries. (Pretty URLs adds 0.018s, 2q)