Logo by AGUS - 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: Follow us on Twitter
 
*
Welcome, Guest. Please login or register. March 29, 2024, 04:47:53 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: Mixed two stage bulbs  (Read 4279 times)
Description: Weird idea but interesting
0 Members and 1 Guest are viewing this topic.
DarkBeam
Global Moderator
Fractal Senior
******
Posts: 2512


Fragments of the fractal -like the tip of it


« on: February 27, 2017, 12:09:49 PM »

Reading again the triplex algebra threads (http://www.fractalforums.com/index.php?topic=2062), I have been thinking of a strange idea.
What happens if you do a two stage power 8 bulb, doing two different power formulas?
For example, you can do the following;

1) Power 4 Sine formula, without adding C;
2) Power 2 Cosine Bulb, adding C. (Total power; 2 x 4 = 8)

It has interesting features and it looks different from the original bulbs.

Another possible thing is to do a p4 cosine and p2 sine, or even a power two, then a power four mixed. roll eyes Yes !! "Pretty" images coming soon alien bubble gum
Logged

No sweat, guardian of wisdom!
DarkBeam
Global Moderator
Fractal Senior
******
Posts: 2512


Fragments of the fractal -like the tip of it


« Reply #1 on: February 27, 2017, 05:45:51 PM »

Closeup of the whole bulb; has cool details and interesting features cheesy



Image of a spinal julia set close to (0.6;0.3;-0.3) in inside mode



Closeup of the bulb obtainable doing a power 4 cosine then a sine squaring and adding C:

« Last Edit: February 27, 2017, 06:00:34 PM by DarkBeam » Logged

No sweat, guardian of wisdom!
gannjondal
Forums Freshman
**
Posts: 17


« Reply #2 on: March 03, 2017, 11:35:53 PM »

Really an amazing combination - and interesting pictures!


But I hope that you know that you are in danger, Luca hurt :

Your idea kicked my brain to search for the articles that list all the variants besides sine, and cosine.

So, if you take all 4-2, 2-4, or 2-2-2 combinations of the variants listed at
http://www.fractalforums.com/theory/summary-of-3d-mandelbrot-set-formulas/

or the 512 cos/sin combinations explained at
https://softologyblog.wordpress.com/2011/07/21/new-mandelbulb-variations/
and the related pages

or
http://softology.com.au/gallery/gallerymandelbulb.htm

....

No, I need to stop, I get a headache  vomit; feeling sick

Also MB3D would probably not start with soo many formulas, so that's maybe not a good idea.


Although I love mutations....
Logged
DarkBeam
Global Moderator
Fractal Senior
******
Posts: 2512


Fragments of the fractal -like the tip of it


« Reply #3 on: March 03, 2017, 11:57:56 PM »

Hey my friend wink
I "only" tried to combine the most promising unimplemented bugman formulas mixing them with sine and cosine this leads to four variants each formula total 12.
As for the all other variants - I did not exactly remember all those...
But definitely not all combos are good looking. So ... we need to be a bit choosy
You still can code them into your formulas though. (Using Andreas programmable engine). Remember that you *need* to simplify trigonometric funcs;
Code:
Sin(n aSin a) - Cos(n asin a)
Sin(n acos a) - Cos(n acos a)
Sin(n atan2(a,b)) - Cos(n atan2(a,b))
Each one of those expressions simplify to rational / way simpler expressions for integer n.
That gives a huge boost to render speed.

Side note.

Just to blast to insanity the number of variations. It is possible to use different n for the two kinds of angles you use.
Example use (4;2) for the first and (2;4) for the second to give a different power 8 bulb, even different from the previously listed mixes!!!   horsie riding No, No, No...
Logged

No sweat, guardian of wisdom!
DarkBeam
Global Moderator
Fractal Senior
******
Posts: 2512


Fragments of the fractal -like the tip of it


« Reply #4 on: March 04, 2017, 12:04:35 AM »

Help appreciated for this issue;
Is anyone able to do the following mixing?
1. Calculate pow3 sine bulb
2. Calculate pow5 sine bulb
3. Using a "cosine product" (or whatever) multiply the resulting triplexes.
Note!!!
You should get a continuous formula BUT i get cuts and magnitude is perturbed. Why!!!
4. Add c
Logged

No sweat, guardian of wisdom!
mclarekin
Fractal Senior
******
Posts: 1739



« Reply #5 on: March 04, 2017, 09:06:46 AM »

@ darkbeam. I don't quite understand embarrass I had to google "cross product", I vaguely remember that it was fun at school. smiley
You would have to show me, and then I should get the exactly the same cuts  as you LOL

@ gannjondal
There are so many different ways of combining. Bulbs are a mega-infinity on there own.

I have tested mixing them with msltoes Toroidal, and the  mbulb variations of Bermarte and Kali, using just simple iteration_count based combinations.

Logged
DarkBeam
Global Moderator
Fractal Senior
******
Posts: 2512


Fragments of the fractal -like the tip of it


« Reply #6 on: March 04, 2017, 09:31:52 AM »

mclarekin  afro you did not see the monumental thread Triplex Algebra?

http://www.fractalforums.com/index.php?topic=2062.msg9476#msg9476

Given two triplex you can do a product between them
The product law itself depends on how you define angles.
If you define angles using the Cosine variation the very law changes.
(Also. The azimuthal, reversed ecc. bulbs currently were only tested in sine variants. Using arccos will lead to new variants ...)
Logged

No sweat, guardian of wisdom!
mclarekin
Fractal Senior
******
Posts: 1739



« Reply #7 on: March 05, 2017, 12:27:57 AM »

@ Darkbeam
Quote
you did not see the monumental thread Triplex Algebra?

I have seen it lots of times, and It always looks far too complex for me. shocked

I can actually understand more of it these days, but still not enough. So with bulbs I generally use the time proven method of random trial and error .

You and gannjondal  have managed to side track me away from what I was working on police fiery but as always it is fun A Beer Cup A Beer Cup A Beer Cup



* bulb aaa8 s12.jpg (197.03 KB, 800x580 - viewed 468 times.)
Logged
gannjondal
Forums Freshman
**
Posts: 17


« Reply #8 on: March 05, 2017, 03:09:00 PM »

@DarkBeam: 
Quote
I "only" tried to combine the most promising unimplemented bugman formulas mixing them with sine and cosine this leads to four variants each formula total 12.
As for the all other variants - I did not exactly remember all those...
But definitely not all combos are good looking. So ... we need to be a bit choosy
.....
Agree, not all of the examples I have seen are beautiful (or even useful), and also some of the variants (like positive vs negative variants) may be too equivalent to show good results. Thus you have a good argument to limit the work  wink
You are also right, I should simplify my formulas. Maybe I will check once I find the mood to do so. As of now I like it to have the formulas a bit better readable.
And, ah, I thought optimization is your task  tongue stuck out

Quote
Help appreciated for this issue;
Is anyone able to do the following mixing?
1. Calculate pow3 sine bulb
2. Calculate pow5 sine bulb
3. Using a "cosine product" (or whatever) multiply the resulting triplexes and add c.

Note:  I'm writing my answer here as I think that your question here is almost the same as in 'my' thread...

Ok. Maybe I'm already getting stuck in the mud behind the beautiful surface of the Mandelbulb  wink , but:
Because I know that I usually make too many errors when calculating polynoms I started to think about your question from the perspective of spheric coordinates.
And from a pure spheric perspective I'm not exactly sure what the described mixture of q³ and q⁵ should introduce on new behavior.
I have read a bit in the big triplex thread, especially:  the spheric definition of a multipication in one of the pictures in the begin, and also the discussion between David Makin, Paolo Bonzini, and Timeroot between Jan-19th and 21th 2010.
As a consequence from all that I would say:  As long as one can use pure spheric numbers (and so far I believe to understand now I can do so as long as I make only multiplications of powers) then q³*q⁵=q⁸ , and nothing does change...

I don't really know whether this is still valid if one always calculates with cartesian coordinates to speed up. I assume that it should come to the same result (and would be a good prove for correct programming  smiley) , but I'm not sure. I have tried a bit, but got some mess only right now.

What may make sense would be if one would multiply different bulb types, i.e.
1. Calculate pow n bulb variant 1 (say, sine)
2. Calculate pow (8-n) bulb variant 2 (say, cosine)
3. Multiply the resulting triplexes (by the way:  Did you ever have seen another cartesian triplex multiplication than the sine version that is explained in the triplex math thread?).

@ mclarekin:
Thank you for your own mixture example smiley
You are absolutely right, there are already too many bulb versions out in the world now. And starting to mix them may bring us abroad  alien

To be honest, I also like all this mixing, and mutating etc too much.
However, maybe we should keep only those results which show something really new/amazing ...
Logged
DarkBeam
Global Moderator
Fractal Senior
******
Posts: 2512


Fragments of the fractal -like the tip of it


« Reply #9 on: March 05, 2017, 10:33:28 PM »

Erm...
You did not pay attention to one important detail wink
The two basic bulbs are indeed calculated using the same law, but the PRODUCT law is different  smiley - so you can do two cosine bulbs then multiplicate each other using a product law of a different theory. Bugman gave the product law for sine but it exists one for cosine too. (I am unsure how to find it exactly).
I already tried but I get a wrong result for unknown reason.
I think the product law fails on different power bulbs in simple words. But it should not!
Every bulb and 3D mandelbrot type has a peculiar associated product law.
And of course; ... no. cheesy
Really; (q^5) x (q^3) differs from q^8 because Triplex algebra as a whole is not commutative or associative. smiley (so also the order is important). Neither is (q^2)^4 = q^8. Bugman confirmed those relations in the early days of Mandelbulb.
This further widens the field of possibilities for bulbs though.
« Last Edit: March 05, 2017, 10:47:35 PM by DarkBeam » Logged

No sweat, guardian of wisdom!
gannjondal
Forums Freshman
**
Posts: 17


« Reply #10 on: March 06, 2017, 08:41:07 PM »

Ouch. Seams that it's now me who stucks in the mud.   head banging wall
Even if it may be valid to ask about the differences between the multiplication in spheric, and cartesian coordinates - my list makes not even sense when thinking about speric coordinates. Thus... sorry smiley
It seams that I should remain quiet (or at least as modest as mclarekin, as a minimum) as long as I am not able to calculate everything by my own. Which will be virtually never  secret; zipped mouth

But ok. I have tried your suggestion somehow, using the cartesian methods from the big thread (i.e. sine variant for both, powers, and multiplication).
Also after correcting a few errors I also get something with cuts  sad :
   

You know the thread better than me, so you may know whether there is a point at which one of the rules gets corrected.
But maybe comparing the errors does help.
Thus here's my variant (you can replace the 1 in x1,tmp1,rho1 etc with 3, and the according 2 with 5 to match your own variant; I wanted to remain more general):
Code:
[OPTIONS]
.DEScale = 1
.SIPow = 2
.Version = 9

[SOURCE]
procedure MyFormula(var x, y, z, w: Double; PIteration3D: TPIteration3D);

var
   sq_r, r, sq_rxy: double;
   x1, x2, y1, y2, z1, z2: double;
   rho1, rho2: double;
   tmp1, tmp2, tmp_mult: double;
   sq_x, sq_y, sq_z: double;
   cx, cy, cz: double;

begin

// set c
   cx := PIteration3D^.J1;
   cy := PIteration3D^.J2;
   cz := PIteration3D^.J3;
  
// calculating helper variable for powers
   sq_rxy := x*x + y*y;
   sq_x := x*x;
   sq_y := y*y;
   sq_z := z*z;
  
   tmp1 := 1 - 3*sq_z/sq_rxy;
   tmp2 := 1 + 5*sq_z*(sq_z - 2*sq_rxy)/(sq_rxy*sq_rxy);

// calculating power 3  
   x1 := x*(sq_x - 3*sq_y)*tmp1;
   y1 := y*(3*sq_x - sq_y)*tmp1;
   z1 := z*(3*sq_rxy - sq_z);
  
// calculating power 5  
   x2 := x*(sq_x*sq_x - 10*sq_x*sq_y + 5*sq_y*sq_y)*tmp2;
   y2 := y*(5*sq_x*sq_x - 10*sq_x*sq_y + sq_y*sq_y)*tmp2;
   z2 := z*(sq_z*sq_z - 10*sq_z*sq_rxy + 5*sq_rxy*sq_rxy);

// calculating helper variables for multiplication  
   rho1 := sqrt(x1*x1 + y1*y1);
   rho2 := sqrt(x2*x2 + y2*y2);
   tmp_mult := 1 - (z1*z2)/(rho1*rho2);
  
//multiplicate (sine variant), and add c
   x := (x1*x2 - y1*y2)*tmp_mult + cx;
   y := (x1*y2 + x2*y1)*tmp_mult + cy;
   z := rho1*z2 + rho2*z1 + cz;
  
end;
[END]
« Last Edit: March 06, 2017, 09:02:04 PM by gannjondal » Logged
DarkBeam
Global Moderator
Fractal Senior
******
Posts: 2512


Fragments of the fractal -like the tip of it


« Reply #11 on: March 06, 2017, 11:14:26 PM »

Oh no! It is exactly the result I got. cry
So there is no way to mix bulbs using triplex multiplication in the normal way.
And I don't know why.
I think the operator only works in special conditions.

Also.

I tried to fix the multiplication using different expressions for r1 and r2.
The results look interesting but nothing fixes the troubles.

And do not worry always share your thoughts friend A Beer Cup
« Last Edit: March 06, 2017, 11:25:10 PM by DarkBeam » Logged

No sweat, guardian of wisdom!
DarkBeam
Global Moderator
Fractal Senior
******
Posts: 2512


Fragments of the fractal -like the tip of it


« Reply #12 on: March 13, 2017, 02:26:06 PM »



Render by Pupukuusikko - "CosSinTwoStageInv, inside render, Julia from 'spine' region"

http://www.deviantart.com/art/You-go-first-668337155

 cheesy
Logged

No sweat, guardian of wisdom!
Pages: [1]   Go Down
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
Center Stage Images Showcase (Rate My Fractal) Ross Hilbert 2 1157 Last post November 25, 2010, 07:38:16 PM
by Ross Hilbert
Mixed media - fractal flight (Massage Situation music video) Movies Showcase (Rate My Movie) o0megaZer0o 5 2123 Last post February 26, 2011, 07:32:38 AM
by o0megaZer0o
Mixed In Mandelbulb3D Gallery lenord 0 574 Last post April 06, 2011, 08:32:52 PM
by lenord
Center Stage Mandelbulb3D Gallery dainbramage 0 830 Last post October 07, 2011, 11:40:38 AM
by dainbramage
Stage B Fragmentarium Gallery 3dickulus 0 839 Last post December 06, 2013, 10:36:33 PM
by 3dickulus

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.245 seconds with 28 queries. (Pretty URLs adds 0.01s, 2q)