Welcome to Fractal Forums

Fractal Math, Chaos Theory & Research => (new) Theories & Research => Topic started by: Mrz00m on February 23, 2012, 08:34:36 PM




Title: New method to discover 3d fractal formulas
Post by: Mrz00m on February 23, 2012, 08:34:36 PM
Here is a way to find new formulas so you can edit a formula code in notepad++ and it renders in 2 seconds so you can visualise lots of prototype code without waiting.
Hopefully some of you can find some new fundamental formulas by combining maths of infinity into 3d!!!
 
Method:
Using the new mandelbulber 1.11 (win or linux) which has CL, edit the CL formula files in N++ like mandelbulb, rewrite the formula, flip the CL render mode between "all shaders / just shadows" to reload new .cl file the program... and press render.... Easy! Only setback is that if you make syntax errors the mandelbulber program exits and you have to reload it again(would be good to have a "code error" message instead). if a formula doesnt look good in open CL then it isnt a fundamental formula :dink:. I found some new menger sponge mods because it was easy... here are some results from adding a sin/cos to one of the lines.

What 3d render programs you normally use for editing and viewing code formulas??




Title: Re: New method to discover 3d fractal formulas
Post by: Mrz00m on February 23, 2012, 08:36:39 PM
here is a pic of me attempting to rewrite the amazing box formula  :tease:


Title: Re: New method to discover 3d fractal formulas
Post by: cKleinhuis on February 23, 2012, 09:49:32 PM
have you tried fragmentarium for writing new formula ?
i would love some kind of genetic algorithm to generate new formulas, like the mutatorkammer programm that i  used to write years ago, which was able to create formulas from base formulas to create new ones, and iterate ...


Title: Re: New method to discover 3d fractal formulas
Post by: DarkBeam on February 23, 2012, 10:40:10 PM
No really good formula borns from simple accidents ;)


Title: Re: New method to discover 3d fractal formulas
Post by: fractower on February 24, 2012, 12:07:48 AM
I really like the sponge mods. I don't suppose you could do a sponge mod square pants. Ha Ha...

Sorry. Sorry. That won't happen again. I promise.


Title: Re: New method to discover 3d fractal formulas
Post by: cKleinhuis on February 24, 2012, 02:38:02 AM
@mrzoom this is great work, and we need to generalize a way to generate the formulas for a fractal renderer, for text editing formulas i assure you, try out fragmentarium, it has nice build in formulas with which you can easily experiment, and it is a nice gpu compile ide, could need some project management, but show nicely compiler errors ....


Title: Re: New method to discover 3d fractal formulas
Post by: Mrz00m on February 24, 2012, 09:59:30 AM
Oh Thanks cKleinhuis! yes Fragmentarium is excellent thanks! i didnt know that was the best program for finding new 3d formulas etc! cool. Yeah it's great to have a genetic/formula mixing solution... i did one of those for a graphics program once which could mix formulas in space, so in the middle, one fractal, around edges, another one, and they mixed together in a transition using a crossfade... probably just the same as a hybrid, except you could make the shape of the hybrid different, you can crossfade the formulas across a spheres, lines, and cubes in any combination. After that, for mixing lines of code, you can do it manually, like jumbling generic lines.

Yeah finding formulas is like searching for a secret treasure :) it's interesting i want to learn, it's good if you can visualise the code!

My friend is called spongebob squarepants i will see with him!