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: Check out the originating "3d Mandelbulb" thread here
 
*
Welcome, Guest. Please login or register. October 03, 2018, 05:35:10 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] 2   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: New to Madelbulb: Can sombody help me with a formula?  (Read 1474 times)
0 Members and 1 Guest are viewing this topic.
DomJustDom
Forums Newbie
*
Posts: 9


« on: April 14, 2011, 01:48:24 PM »

Hi there!

I'm just new to the forum and I have a problem.
I wrote a Program that displays a 4D-Mandelbrot based on an own Formula.
The Forms looked quite beautiful. This Program is not done yet and it's written
in OpenGL. Since I'm in an early stage of developing I didn't see much of
how the formulas fractal turns out.
When I was googling around I found this forum here. I just discovered Mudelbulb and I thought: "Wow what a Program!"
But as I asked in meet and greet forums they told me it is difficult to enter an own formula there.
That was there: http://www.fractalforums.com/meet-and-greet/hi-and-hello-there-from-germany

Basically the idea of this formula is quite simple:

I invented a Complex number j that is j*j=-i.
This leads to the Complex number k which simply is k:=j*i.

The Formula Z=Z2+C turns then out this way:

a=a2 - b2 + 2cd + a
bi=2ab i - c2 i + d2 i + b i
cj=2ac j - 2bd j +b j
dk=2ad k + 2bc k+ c k

So, anybody there who can convert this, or tell me how to do so?
If you got any questions, suggestions, ... feel free to post! happy
« Last Edit: April 14, 2011, 01:53:29 PM by DomJustDom » Logged
DarkBeam
Global Moderator
Fractal Senior
******
Posts: 2512


Fragments of the fractal -like the tip of it


« Reply #1 on: April 14, 2011, 06:43:10 PM »

Hi there.

The formula you wrote looks like a quaternion, but some terms look odd, for example that "+a" ...
(the final result should be like a normal quaternion in the form z=z*z+z+c or something like)

Could you show us a render of your fractal?

You can upload images on;

www.tinypic.com smiley
« Last Edit: April 14, 2011, 06:46:05 PM by DarkBeam » Logged

No sweat, guardian of wisdom!
DomJustDom
Forums Newbie
*
Posts: 9


« Reply #2 on: April 14, 2011, 06:55:08 PM »

I really really would like to show you a render of this Fractal. (!) But I guess it's not implemented in the standard mandelbulb Program.
The Program I write isn't finished yet. But I'm looking forward to complete it.
Do you know any program where you can write custom formulas?

Or can you create this Formula for mandelbulb or show me how to do so?

In the end, as far as I could see it, it looked like the classical Mandelbrot but in 4D.
Logged
DarkBeam
Global Moderator
Fractal Senior
******
Posts: 2512


Fragments of the fractal -like the tip of it


« Reply #3 on: April 14, 2011, 07:20:26 PM »

I really really would like to show you a render of this Fractal. (!) But I guess it's not implemented in the standard mandelbulb Program.
The Program I write isn't finished yet. But I'm looking forward to complete it.
Do you know any program where you can write custom formulas?
It seemed that you rendered already something with your new program... Have you got an image, even raw/awful of this fractal? Azn

Yes, it is possible to render it in ChaosPro for example. I am sure that M.Benesi will be happy to help you in a quick code of this formula, good to do a test render of it. Azn I am not expert of Chaos Pro... Basically I hate it embarrass

I write formulas for MB3D but since I can not translate every single possible formula for it I need to see an image of it before beginning so if your formula really deserves a translation I will do!

Too bad a Mandelbulb formula must be hand coded in assembly so I don't do this if I am not sure of the result Azn
Logged

No sweat, guardian of wisdom!
Jesse
Download Section
Fractal Schemer
*
Posts: 1013


« Reply #4 on: April 14, 2011, 10:43:14 PM »

i have two questions...  smiley

a=a2 - b2 + 2cd + a
bi=2ab i - c2 i + d2 i + b i
cj=2ac j - 2bd j +b j
dk=2ad k + 2bc k+ c k

Do you mean + Ca, + Cb i ... at the end instead of + a and + b i ...?
And you add + b (or Cb) in line 3 or should it be + c (or Cc)?  Same for line 4 but one one character higher.

If you want to add C instead, the CommQuat formula is very similar, only some signs seems to be different.

greets

ps: such simple formulas are not that difficult and time intensive to make for me, in case Luca is overloaded with work  wink
Logged
DarkBeam
Global Moderator
Fractal Senior
******
Posts: 2512


Fragments of the fractal -like the tip of it


« Reply #5 on: April 14, 2011, 11:26:46 PM »

If only signs differ, can use scalingplus to fix em? smiley
But it screws up +c smiley
Logged

No sweat, guardian of wisdom!
Kali
Fractal Supremo
*****
Posts: 1138


« Reply #6 on: April 14, 2011, 11:50:32 PM »

ps: such simple formulas are not that difficult and time intensive to make for me, in case Luca is overloaded with work  wink

Still waiting for that KaliLinComb axis switch  cry
Logged

Jesse
Download Section
Fractal Schemer
*
Posts: 1013


« Reply #7 on: April 14, 2011, 11:51:22 PM »

Unfortunately the signs differ are only for some parts of the formula, not a whole dimension.
But i tried the formula with C added and it was not very different from the CommQuat formula.
Also the formula with a,b,c and d added showed up some interesting shapes, that might be a nice addition for combinations.
Just Julias won't work without adding C...
Logged
Jesse
Download Section
Fractal Schemer
*
Posts: 1013


« Reply #8 on: April 14, 2011, 11:55:11 PM »

ps: such simple formulas are not that difficult and time intensive to make for me, in case Luca is overloaded with work  wink

Still waiting for that KaliLinComb axis switch  cry

Huh?
Think i have missed something, or i thought an axis switch is not really important  huh?

But in the next version i will include the _Flip.. formulas with additional option to switch also C, maybe that can do it?
Logged
DarkBeam
Global Moderator
Fractal Senior
******
Posts: 2512


Fragments of the fractal -like the tip of it


« Reply #9 on: April 15, 2011, 12:07:40 AM »

NocJesse it is very important to make hybrids workccorrectly, please cheesy
Before beginning to code this formula look if it can be done with my MandyCousin, I am far from my pc now
Logged

No sweat, guardian of wisdom!
Syntopia
Fractal Molossus
**
Posts: 681



syntopiadk
WWW
« Reply #10 on: April 15, 2011, 12:13:54 AM »

Using the following multiplication:

Code:
vec4 mul(vec4 a, vec4 b) {
return vec4(
  a.x*b.x - a.y*b.y - a.z*b.z + a.w*b.w,
  a.x*b.y + a.y *b.x - a.z*b.w - a.w * b.z,
  a.x * b.z + a.z*b.x - a.w*b.y -a.y* b.w,
  a.x*b.w + a.w*b.x + a.y*b.z + a.z*b.y);
}

I got the attached picture (for the Mandelbrot type system, with fourth component = 0)

These square Mandelbrots are very similar to the ones you get using Tessarines (http://en.wikipedia.org/wiki/Tessarine).

I might have one or two wrong signs, though :-)


* tes.jpg (43.13 KB, 800x506 - viewed 52 times.)
Logged
Jesse
Download Section
Fractal Schemer
*
Posts: 1013


« Reply #11 on: April 15, 2011, 12:18:56 AM »

NocJesse it is very important to make hybrids workccorrectly, please cheesy
Before beginning to code this formula look if it can be done with my MandyCousin, I am far from my pc now

The problem with KaliLinComb formula was, that it uses buffers for some axis what makes combinations with other formulas nearly impossible  sad

With the rest of formulas there should be no big problem in combinations  smiley
Logged
Kali
Fractal Supremo
*****
Posts: 1138


« Reply #12 on: April 15, 2011, 12:38:30 AM »

I got the attached picture (for the Mandelbrot type system, with fourth component = 0)
These square Mandelbrots are very similar to the ones you get using Tessarines (http://en.wikipedia.org/wiki/Tessarine).
I might have one or two wrong signs, though :-)

That looks definitely like KaliLinComb! I would like to explore the detailed parts closer to confirm that...

@Jesse, the axis switch was asked to you by Luca, just for trying to get better combinations with other M formulas.

Logged

DomJustDom
Forums Newbie
*
Posts: 9


« Reply #13 on: April 15, 2011, 01:00:10 AM »

Cool, you went on.

This looks quite good there, but I meant more this way:

a=a2 - b2 + 2cd + aC
bi=2ab i - c2 i + d2 i + biC
cj=2ac j - 2bd j +bjC
dk=2ad k + 2bc k+ckC
Zn+1=Zn+C

The idea behind it is simply:
j*j=-i
j*i=k
« Last Edit: April 15, 2011, 01:08:08 AM by DomJustDom » Logged
Syntopia
Fractal Molossus
**
Posts: 681



syntopiadk
WWW
« Reply #14 on: April 15, 2011, 06:50:45 AM »

Cool, you went on.

This looks quite good there, but I meant more this way:

a=a2 - b2 + 2cd + aC
bi=2ab i - c2 i + d2 i + biC
cj=2ac j - 2bd j +bjC
dk=2ad k + 2bc k+ckC
Zn+1=Zn+C

The idea behind it is simply:
j*j=-i
j*i=k

I used Z=Z^2+C, together with the multiplication table you posted earlier:

Quote
   R   i   j   k
R   +1   i   j   k
i   i   -1   k   -j
j   j   k   -1   -i
k   k   -j   -i   +1

In that table j*j=-1.

Knowing how to square a number isn't enough for my approach. I use an analytical distance estimator, which requires multiplication of arbitrary numbers.
Logged
Pages: [1] 2   Go Down
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
Where does THE formula come from ? Mandelbrot & Julia Set bib 5 2786 Last post January 26, 2009, 07:12:10 PM
by cKleinhuis
Formula? Theory « 1 2 » lkmitch 20 4882 Last post March 23, 2010, 06:01:56 AM
by jehovajah
Has anyone tried this formula? Theory « 1 2 3 » TedWalther 32 8416 Last post December 06, 2009, 02:58:08 PM
by jehovajah
New 3D IFS formula for UF5 IFS - Iterated Function Systems « 1 2 » fractalrebel 18 15511 Last post November 13, 2011, 01:39:30 AM
by xenodreambuie
Madelbulb surface Movies Showcase (Rate My Movie) bosottip 0 211 Last post May 31, 2016, 12:43:41 AM
by bosottip

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