Logo by Pauldelbrot - 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. April 25, 2024, 11:29:10 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: alternative power interpolation  (Read 529 times)
0 Members and 2 Guests are viewing this topic.
cKleinhuis
Administrator
Fractal Senior
*******
Posts: 7044


formerly known as 'Trifox'


WWW
« on: February 01, 2015, 01:40:35 AM »

found this on reddit/shadertoy:

http://nl.reddit.com/r/fractals/comments/2u9uo4/figured_out_how_to_transition_between_powers/

and shadertoy
https://www.shadertoy.com/view/lls3D7

smiley
Logged

---

divide and conquer - iterate and rule - chaos is No random!
Dinkydau
Fractal Senior
******
Posts: 1616



WWW
« Reply #1 on: February 02, 2015, 10:42:51 PM »

That's a nice discovery.
Logged

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


Fragments of the fractal -like the tip of it


« Reply #2 on: February 02, 2015, 11:09:36 PM »

Very nice wink
Logged

No sweat, guardian of wisdom!
cKleinhuis
Administrator
Fractal Senior
*******
Posts: 7044


formerly known as 'Trifox'


WWW
« Reply #3 on: February 02, 2015, 11:44:57 PM »

what exactly has he done? removed the "mathematical correct" way to interpolate between powers to a more visual pleasing one ?!
Logged

---

divide and conquer - iterate and rule - chaos is No random!
claude
Fractal Bachius
*
Posts: 563



WWW
« Reply #4 on: February 03, 2015, 11:27:20 AM »

Say you want to interpolate between the result sets from iterations of z \to z^2 + c and z \to z^3 + c.

One way would be to interpolate the power giving z \to z^{2(t-1) + 3t} + c with t from 0 to 1, but then you end up with fractional powers like 2.7123615245 which don't look so great (z^n with n integer wraps around a circle a whole number of times).

The other way presented in the article is to interpolate a sum giving z \to (t-1) z^2 + t z^3 + c, avoiding fractional powers entirely, while still starting and ending at the desired equations.

If it might help, a musical analogy: instead of a slide from C to G going through all microtonal pitches in between, it's like C fading out while G fades in.

Personally I think both methods are equally "mathematically correct", there are a lot of different ways to interpolate, and even with the same method there can be multiple routes (eg: on a sphere you could go the long way round).
Logged
cKleinhuis
Administrator
Fractal Senior
*******
Posts: 7044


formerly known as 'Trifox'


WWW
« Reply #5 on: February 03, 2015, 11:34:08 AM »

ah, i see, its basically the "interpolation hybrid" which interpolates lineary between two outcomes of different formulas, like

 z \to (t-1) (z^2 +c_1) +t (z^3 + c_2)

but using just the exponential term to lineary interpolate
« Last Edit: February 03, 2015, 11:36:04 AM by cKleinhuis » Logged

---

divide and conquer - iterate and rule - chaos is No random!
Pages: [1]   Go Down
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
Faster Alternative to TIA coloring? Programming dbyrne 7 10865 Last post June 26, 2010, 05:53:02 PM
by Duncan C
Smooth iteration alternative - new ? Programming David Makin 6 2424 Last post May 10, 2010, 02:23:36 AM
by reesej2
Alternative rendering Algorithm? General Discussion tomot 1 3836 Last post March 24, 2011, 01:15:02 AM
by David Makin
Alternative spiral Images Showcase (Rate My Fractal) Dinkydau 0 1707 Last post March 01, 2013, 09:51:24 PM
by Dinkydau
Virtualdub alternative question? Mandelbulb 3d Bibby 3 8378 Last post June 29, 2017, 08:21:19 PM
by PieMan597

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.172 seconds with 24 queries. (Pretty URLs adds 0.008s, 2q)