Title: Extract mathematical formula from Mandelbulb Post by: grasshopper on February 24, 2013, 04:07:55 PM Hello,
I'm new with both Mandelbulb and fractals in general and this is my first post. I have been tinkering with Mandelbulb 3d and it's a really great program because it lets me rapidly view and design fractals. The problem, is that when I have a 3d fractal design that I like, I would like to know which formulae give rise to this fractals. They seem to be implicit in parameters of the formula dialogs, but I don't know how these parameters combine to give formulas. Thank you Title: Re: Extract mathematical formula from Mandelbulb Post by: grasshopper on February 26, 2013, 01:09:29 PM Anyone have a clue?
I have found this page: http://www.fractalforums.com/theory/summary-of-3d-mandelbrot-set-formulas/ (http://www.fractalforums.com/theory/summary-of-3d-mandelbrot-set-formulas/) with a set of formulas explained. Is there a page with the other formulas contained in Mandelbulb explained? Title: Re: Extract mathematical formula from Mandelbulb Post by: cKleinhuis on February 26, 2013, 01:15:17 PM hello, you want to extract the single formulas, or you want to extract the exact image you have created in mandelbulb3d ?
the link you posted is very nice and explains nicely how the mandelbulb math is defined this math is then used to create other formulas, that are hard-wired into mandelbulber, for a betterunderstanding: the link you posted defines an algebra, defining an +/- and */division operation, with this operations new formulas are build, variants of those formulas are as said before hard wired to the program, and the program uses even more different functions, so the only way to extract the formulas used is to directly download the source code of the program and examine the source code, for another understanding you can try to search the formula names here in the forums, because before they where included in the program they usually have been discussed here in the forums! Title: Re: Extract mathematical formula from Mandelbulb Post by: DarkBeam on February 26, 2013, 02:00:50 PM I did not have the time to write down all but some are already explained - press i button on formula tab!
They are coded in assembly and no - you can not extract anything in any way unless you are able to disassemble them! :dink: But they are structured as an EXE file. Title: Re: Extract mathematical formula from Mandelbulb Post by: grasshopper on February 27, 2013, 12:01:27 AM Well I'm a newbie and I'm not sure of the following, but I think the 3D models are constructed by operating several formulas in succession. Hence what I wanted to extract was not one, but the set of formulas that render the fractal.
Quote I did not have the time to write down all but some are already explained - press i button on formula tab! Some infos are descriptive :sad1: while others are mathematical which is what I was looking for :)Quote so the only way to extract the formulas used is to directly download the source code of the program and examine it You must be joking, is that really possible?Would coding a console of some kind with the mathematical background be asking too much? :embarrass: Thanks you all! Title: Re: Extract mathematical formula from Mandelbulb Post by: DarkBeam on February 27, 2013, 09:36:43 AM The structure of MB3D is entirely performance oriented. In this logic Jesse thought that a "raw" coding of formulas using the floating point assembly instructions, and sometimes MMX packed instructions, was the best. So we programmed everything directly in assembly that gives a great performance. Too bad, this can be somewhat hard to translate in a math formula ... And some formulas required a trial-error process so original math expression was not good. :)
That's all - But please ask here what you need to be explained and maybe one day we can fulfill the request. :beer: Title: Re: Extract mathematical formula from Mandelbulb Post by: cKleinhuis on February 27, 2013, 09:54:28 AM i would love to have a description of the menger sponge formulas, and how they look in escape time approach, i know they are somehow distance based equations, but since it is possible to incorporate them in the mandelbrot process through iteration i would like to have a escape time function for it,
e.g. in ultrafractal notation :embarrass: Title: Re: Extract mathematical formula from Mandelbulb Post by: DarkBeam on February 27, 2013, 09:56:42 AM Hey; you should look in the IFS fractals sections, Kaleidoscopic escapetime IFS... ;D
I made it sticky because I learned lots of stuff from here! :beer: Title: Re: Extract mathematical formula from Mandelbulb Post by: JosLeys on February 27, 2013, 10:29:24 AM I have also been looking in vain for the code used for the formulas in M3D.
I think it is a great program, and I admire it a lot, but it is too much of a black box for me, as I like to understand what the formulas do. In particular, I have been looking for the exact code used in FoldIntPower, as this formula gives such great results in combination with the Mandelbox. Is there anywhere I could find this code? Title: Re: Extract mathematical formula from Mandelbulb Post by: DarkBeam on February 27, 2013, 10:35:13 AM Well! That formula is currently included in Fragmentarium as a full script, some its of abox + one or more of foldint, that gives "spudsville" fractal... ;D If I remember correctly the formula is
x = abs(x+fold) - abs(x-fold) - x y = see above, y = see above ;D (but refer to the one found in Amazing Box description as my memory is labile) then, simply do an iter of power 2 Mandelbulb then multiply z by a customizable factor (somebody uses values like 100) ;D Title: Re: Extract mathematical formula from Mandelbulb Post by: cKleinhuis on February 27, 2013, 10:43:10 AM ah thanks, i always wonder, since when are escapetime ifs known, and who was responsible for inventing it ?!?!?! ???
Title: Re: Extract mathematical formula from Mandelbulb Post by: DarkBeam on February 27, 2013, 11:02:52 AM ah thanks, i always wonder, since when are escapetime ifs known, and who was responsible for inventing it ?!?!?! ??? of course... Knighty. :dink: Title: Re: Extract mathematical formula from Mandelbulb Post by: JosLeys on February 27, 2013, 11:14:15 AM On FoldIntPow :
In M3D what is the 'R-fold' parameter? So does it do a box fold first,(what size box?) followed by a sphere-fold (with a large R and a small R, or just a large one?), and then the bulb? ...or is there no sphere-fold? Title: Re: Extract mathematical formula from Mandelbulb Post by: David Makin on February 27, 2013, 12:47:25 PM of course... Knighty. :dink: Escape -time IFS - I think R.C. Hart and others.... KIFS - Knighty ;) But the K is for Kaleidoscopic, not Knighty !! There are 2D and 3D formulas for escape-time IFS in my collection for Ultra Fractal - in the UF formula database: mmf4.ufm:3D IFS and mmf4.ufm:Escape-time IFS However these are "complete" i.e. the algorithm renders the "strictly correct" attractor. KIFS are a subset where the traversal of the IFS tree is somewhat restricted - similar to RIFS (Recurrent) and LRIFS (Language Restricted) but more based around bailout testing than conditional inclusion/exclusion. Though the two formulas are slightly extended to be RIFS as they do allow some control beyond the plain IFS - restriction on repeats (of given transform), restriction on given depth etc. Title: Re: Extract mathematical formula from Mandelbulb Post by: cKleinhuis on February 27, 2013, 12:56:08 PM great, the thread is really nice, and i just made a 2d ultrafractal variant of it, the folding is really nice and simple!!!
Title: Re: Extract mathematical formula from Mandelbulb Post by: grasshopper on February 27, 2013, 03:44:34 PM great, the thread is really nice, and i just made a 2d ultrafractal variant of it, the folding is really nice and simple!!! Can I see the 3D and 2D side by side? It's my first post and shame that I can't follow the discussion because I have no idea what you guys are talking about: IFS, scape time, formulas and scripts :crazyeyes: My background is in architecture, but I have no knowledge of programming, and my maths is rusty to say the least... Oh, I never thought this community was so active! Title: Re: Extract mathematical formula from Mandelbulb Post by: cKleinhuis on February 27, 2013, 04:49:24 PM this is the thread darkbeam was referring to:
http://www.fractalforums.com/ifs-iterated-function-systems/kaleidoscopic-%28escape-time-ifs%29/ Title: Re: Extract mathematical formula from Mandelbulb Post by: DarkBeam on February 28, 2013, 11:53:08 AM ...I can't follow the discussion because I have no idea what you guys are talking about: IFS, scape time, formulas and scripts :crazyeyes:... Just navigate through the forums to discover btw a script is a sequence of assignments and expressions that contain a cycle, so that the computer can get a chaotic something from it... After some mangling with that data you get an image ;D Title: Re: Extract mathematical formula from Mandelbulb Post by: David Makin on February 28, 2013, 12:31:37 PM Can I see the 3D and 2D side by side? It's my first post and shame that I can't follow the discussion because I have no idea what you guys are talking about: IFS, scape time, formulas and scripts :crazyeyes: My background is in architecture, but I have no knowledge of programming, and my maths is rusty to say the least... Oh, I never thought this community was so active! A quick scan of the following pages will help with the terms I think: http://classes.yale.edu/fractals/ (http://classes.yale.edu/fractals/) Note that anything there discussed in 1 dimension or 2 is essentially extendable to 3 or more ;) Title: Re: Extract mathematical formula from Mandelbulb Post by: cKleinhuis on February 28, 2013, 01:53:39 PM that course page is getting better and better, awesome collection of stuff, and awesome test pages, each day of the course is filled with so much information, that is really incredible, lols i shall try out doing the courses and the tests for myself :D awesome course! at least the people at yale acknowledge it as worthy to give a special course about it!!! |