Logo by Fractal Ken - 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: Visit us on facebook
 
*
Welcome, Guest. Please login or register. April 25, 2024, 07:06:12 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: Non-uniform "power" and the full derivative  (Read 4444 times)
0 Members and 1 Guest are viewing this topic.
David Makin
Global Moderator
Fractal Senior
******
Posts: 2286



Makin' Magic Fractals
WWW
« on: May 24, 2010, 04:44:34 PM »

Hi all, am just implimenting the White/Nylander Mandelbulb (and others) as class-based plug-ins for a new 3D+ Ultra Fractal formula.
I want to make the formulas for the various Mandelbulbs as versatile as possible and to this end would like to know if there's a sensible answer to the following:

Taking the White/Nylander as an example, if we split the power into 3 different values, powermagnitude, powerphi and powertheta such that in the calculations the magnitude is raised to powermagnitude, the phi angle is scaled by powerphi and the theta angle by powertheta then we have a system with much more variety than the standard Mandelbulb and raising a given triplex to a (triple) power is straightforward.

My question is how does this affect calculation of the full derivative value  - normally power*dz*z^(power-1) ?

I would assume that calculating q=z^(power-1) would be done by subtracting one from powermagnitude and powerphi and powertheta (or just from powermagnitude???) and the constant "power" would be powermagnitude - but I can't work out the "correct" way to do "dz*q" using such a triplex of powers.

I realise that doing it without the derivative (i.e. using delta DE) or using the magnitude-only version of the derivative are both possible but I'd like to include the full derivative version too.
Logged

The meaning and purpose of life is to give life purpose and meaning.

http://www.fractalgallery.co.uk/
"Makin' Magic Music" on Jango
David Makin
Global Moderator
Fractal Senior
******
Posts: 2286



Makin' Magic Fractals
WWW
« Reply #1 on: May 24, 2010, 05:08:26 PM »

Just to add I was thinking that using 3 separate powers then a multiplication normally:

phi = phi1 + phi2
th = th1 + th2
mag = mag1*mag2

Is instead:

phi = (phi1+phi2)*powerphi/powermagnitude
th = (th1+th2)*powertheta/powermagnitude
mag = mag1*mag2
Logged

The meaning and purpose of life is to give life purpose and meaning.

http://www.fractalgallery.co.uk/
"Makin' Magic Music" on Jango
kram1032
Fractal Senior
******
Posts: 1863


« Reply #2 on: May 24, 2010, 08:12:20 PM »

Hmm, well, looking at complex numbers, you'd substract one from the real part, not quite from the magnitude or the angle... So I guess, you'd have to do the same for triplex, substracting 1 from the real part?
Logged
David Makin
Global Moderator
Fractal Senior
******
Posts: 2286



Makin' Magic Fractals
WWW
« Reply #3 on: May 24, 2010, 08:38:56 PM »

Hmm, well, looking at complex numbers, you'd substract one from the real part, not quite from the magnitude or the angle... So I guess, you'd have to do the same for triplex, substracting 1 from the real part?

Hmmmm - you mean you think treating powermagnitude, powerphi and powertheta as a triplex in polar form and converting it to cartesian, subtracting 1 and then converting back would do it ?
Effectively I think that gives us triplex^triplex maths if it works ?

Based on that then I assume a multiplication would just be done normally i.e. changing the powers doesn't alter the natural multiplication rules in the way I was thinking ?

« Last Edit: May 24, 2010, 08:41:57 PM by David Makin » Logged

The meaning and purpose of life is to give life purpose and meaning.

http://www.fractalgallery.co.uk/
"Makin' Magic Music" on Jango
kram1032
Fractal Senior
******
Posts: 1863


« Reply #4 on: May 24, 2010, 09:19:37 PM »

Really, I'm no expert and triplex algebra behaves strangely anyways but d/dx x^(complex power)  = complex power * x^(complex power - 1)
I don't really see, why that would change for triplex... However, only trying it out would show, right?
Logged
trafassel
Fractal Bachius
*
Posts: 531


trafassel
« Reply #5 on: May 27, 2010, 10:07:33 AM »

For this video i replaced the angles in the Mandelbulb formula (White variant) with the 3 angles you suggested. In the corresponding Juliabulb  there are regions which not fit.

<a href="http://www.youtube.com/v/4l1Fk0yYObM&rel=1&fs=1&hd=1" target="_blank">http://www.youtube.com/v/4l1Fk0yYObM&rel=1&fs=1&hd=1</a>
Logged
kram1032
Fractal Senior
******
Posts: 1863


« Reply #6 on: May 27, 2010, 05:40:28 PM »

hmmm

well, as x^n is generally different for triplex than x*x*.....*x*x (n times), you might have to special-case it in a way. Most likely, that's not quite a trivial problem.

In most cases, the renders seemed to work fine smiley
That shader is great when it's animated, btw cheesy
Logged
Pages: [1]   Go Down
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
"19th Hole Terraces" fractal zoom in HD (XviD and H.264) Movies Showcase (Rate My Movie) ericbigas 4 8646 Last post January 05, 2007, 04:19:43 AM
by Zoom
"True 3D" Mamdelbrot, solid based on orbit trapping animation 3D Fractal Generation David Makin 5 20907 Last post September 02, 2009, 10:23:26 PM
by David Makin
"Spherical Power" function? Mandelbulb Implementation JColyer 2 8591 Last post December 06, 2009, 11:18:27 AM
by Paolo Bonzini
"Dual-power" formula pictures Theory FrozenOwl 0 3653 Last post October 04, 2010, 10:18:32 PM
by FrozenOwl
"mercator" vs "power of two" Programming DustyMonkey 4 9752 Last post December 27, 2013, 09:46:49 PM
by SeryZone

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.181 seconds with 26 queries. (Pretty URLs adds 0.006s, 2q)