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: Visit the official fractalforums.com Youtube Channel
 
*
Welcome, Guest. Please login or register. April 19, 2024, 04:29:57 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] 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: Feature request: Specify seed for initial Z value  (Read 2369 times)
Description: HPDZ Buffalo implementation is incorrect.
0 Members and 1 Guest are viewing this topic.
stardust4ever
Fractal Bachius
*
Posts: 513



« on: May 28, 2016, 11:49:56 PM »

Sorry if this has been discussed before, but concerning fractals with polynomial coeeficients, for instance the HPDZ buffalo:

Z1 = |Z0|^2 - |Z| + C

where |Z| is defined as abs(Zr) + abs(Zi)*i

It was brought up several times that polynomial formula can often have multiple critical points, defined by taking the derivative of the equation and solving for zero. For the HPDZ Buffalo, the critical points are (±0.5 + 0i) which should result in a solid fractal image with minis that do not disintegrate.

Laser Blaster brought this up some time ago here in this post in the Kalles Fraktaler 2.7 thread.
http://www.fractalforums.com/kalles-fraktaler/kalles-fraktaler-2-7/msg77526/#msg77526


On immediate observation of this fractal, it has similar shape to the zero reference starting point, but upon closer observation, one can see the presence of minibrots within the set, and an unbroken western needle that does not decay into cantor dust. So if possible, it would be nice to allow for setting the seed value of Z in software, or at least adding a "Fixed HPDZ Buffalo" formula with a correct seed value of Z0 = (±0.5 + 0i)

Either option would allow fractal explorers to zoom into both variations of the HPDZ Buffalo fractal, since the fractal characteristics of the HPDZ Buffalo, and possibly others as well, are markedly changed by setting the seed value.

Thanks and take care...  wink
Logged
Kalles Fraktaler
Fractal Senior
******
Posts: 1458



kallesfraktaler
WWW
« Reply #1 on: May 29, 2016, 08:46:05 PM »

I made some tests however I cannot find any centered pattern when using seed (0.5,0) or (-0.5,0)
Logged

Want to create DEEP Mandelbrot fractals 100 times faster than the commercial programs, for FREE? One hour or one minute? Three months or one day? Try Kalles Fraktaler http://www.chillheimer.de/kallesfraktaler
http://www.facebook.com/kallesfraktaler
xenodreambuie
Conqueror
*******
Posts: 124



WWW
« Reply #2 on: May 30, 2016, 12:10:25 AM »

I agree with stardust4ever. Using correct critical points is necessary to get a correct Mandelbrot. For the purposes of art or curiosity one isn't limited to what is correct, but I think it preferable to at least include the correct results in the available choices where possible.
Logged

Regards, Garth
http://xenodream.com
TheRedshiftRider
Fractalist Chemist
Global Moderator
Fractal Iambus
******
Posts: 854



WWW
« Reply #3 on: May 30, 2016, 07:31:55 AM »

I agree as well, if there isn't the correct shapestacking does not mean the formula can't be interesting is some way. I thought the same when seeing f(x)=z^2+z+c.
Logged

Motivation is like a salt, once it has been dissolved it can react with things it comes into contact with to form something interesting. nerd
stardust4ever
Fractal Bachius
*
Posts: 513



« Reply #4 on: May 30, 2016, 11:56:59 AM »

I made some tests however I cannot find any centered pattern when using seed (0.5,0) or (-0.5,0)
So it did not look anything like the above render in the OP? Curious.

I agree as well, if there isn't the correct shapestacking does not mean the formula can't be interesting is some way. I thought the same when seeing f(x)=z^2+z+c.
I think the critical points are necessary when using polynomial equations that contain first order terms, but as is the case with the HPDZ buffalo, even with a seed of zero you have an equation with highly unique properties. The plus Z variant seems like it might be interesting as well.

The critical points are always going to be complex solutions to f'(Z)=0. For any formula without a first order term, one of these critical points will always be zero, though more may exist. Oftentimes you get a chaotic fractal as a result of not choosing critical points. The connected version of the HPDZ mini, if the screenshot provided by Lazer Blaster is accurate, the fractal has minibrots, a solid needle, and masts on the west mini with obvious fractal detail. Upon inspection, the west minibrot most closely resembles the perpendicular Buffalo fractal in shape.
Logged
xenodreambuie
Conqueror
*******
Posts: 124



WWW
« Reply #5 on: May 30, 2016, 12:37:20 PM »

... if the screenshot provided by Lazer Blaster is accurate...

FWIW, Jux automatically finds 0.5,0 as the critical point and gets the same shape as that. (-0.5,0 is only a solution for z^2+z+c.)
Logged

Regards, Garth
http://xenodream.com
Kalles Fraktaler
Fractal Senior
******
Posts: 1458



kallesfraktaler
WWW
« Reply #6 on: May 30, 2016, 02:45:40 PM »

I think this image is pretty close smiley


* HDZN Buffalo seed (0.5,0).jpg (216.19 KB, 871x490 - viewed 182 times.)
Logged

Want to create DEEP Mandelbrot fractals 100 times faster than the commercial programs, for FREE? One hour or one minute? Three months or one day? Try Kalles Fraktaler http://www.chillheimer.de/kallesfraktaler
http://www.facebook.com/kallesfraktaler
Kalles Fraktaler
Fractal Senior
******
Posts: 1458



kallesfraktaler
WWW
« Reply #7 on: May 30, 2016, 02:46:33 PM »

For comparison, here is the same with seed=(0,0)


* HDZN Buffalo seed (0,0).jpg (212.07 KB, 871x490 - viewed 259 times.)
Logged

Want to create DEEP Mandelbrot fractals 100 times faster than the commercial programs, for FREE? One hour or one minute? Three months or one day? Try Kalles Fraktaler http://www.chillheimer.de/kallesfraktaler
http://www.facebook.com/kallesfraktaler
stardust4ever
Fractal Bachius
*
Posts: 513



« Reply #8 on: May 30, 2016, 04:12:57 PM »

Yes, that's it! grin

Notice that while both fractals look similar at first glance, there is a notable absence of minis in the zero seed version. Hence your "where's the minibrot?" zoom movie. I think both implementations of this formula should be included in the next version of KF. I would assume the use of non-zero seed value does not adversely impact perturbation calculations?
« Last Edit: May 30, 2016, 04:19:18 PM by stardust4ever » Logged
Kalles Fraktaler
Fractal Senior
******
Posts: 1458



kallesfraktaler
WWW
« Reply #9 on: May 30, 2016, 06:31:28 PM »

I've uploaded an update, version 2.10.1
You can now specify seed values for all fractals smiley


* seed (0.5,0).jpg (52.16 KB, 640x360 - viewed 227 times.)
* HDZN Buffalo seed (0.5,0).kfr (11.46 KB - downloaded 67 times.)
Logged

Want to create DEEP Mandelbrot fractals 100 times faster than the commercial programs, for FREE? One hour or one minute? Three months or one day? Try Kalles Fraktaler http://www.chillheimer.de/kallesfraktaler
http://www.facebook.com/kallesfraktaler
TheRedshiftRider
Fractalist Chemist
Global Moderator
Fractal Iambus
******
Posts: 854



WWW
« Reply #10 on: May 30, 2016, 11:40:11 PM »

Thanks for implementing this. It looks very interesting (just looking at the examples here). Ill have a look at it as soon as I'm home.
Logged

Motivation is like a salt, once it has been dissolved it can react with things it comes into contact with to form something interesting. nerd
Kalles Fraktaler
Fractal Senior
******
Posts: 1458



kallesfraktaler
WWW
« Reply #11 on: May 30, 2016, 11:48:13 PM »

Thanks for implementing this. It looks very interesting (just looking at the examples here). Ill have a look at it as soon as I'm home.
Thanks, unfortunately there is a precision issue when going beyond e30 already in the HPDZ formula with seed (0.5,0)
Logged

Want to create DEEP Mandelbrot fractals 100 times faster than the commercial programs, for FREE? One hour or one minute? Three months or one day? Try Kalles Fraktaler http://www.chillheimer.de/kallesfraktaler
http://www.facebook.com/kallesfraktaler
TheRedshiftRider
Fractalist Chemist
Global Moderator
Fractal Iambus
******
Posts: 854



WWW
« Reply #12 on: May 30, 2016, 11:50:08 PM »

Ok, that probably won't be a big deal. What about the others?
Logged

Motivation is like a salt, once it has been dissolved it can react with things it comes into contact with to form something interesting. nerd
stardust4ever
Fractal Bachius
*
Posts: 513



« Reply #13 on: May 31, 2016, 12:29:29 AM »

I've uploaded an update, version 2.10.1
You can now specify seed values for all fractals smiley
Whoo-hooo!!! grin
Repeating Zooming Self-Silimilar Thumb Up, by Craig

Thanks, unfortunately there is a precision issue when going beyond e30 already in the HPDZ formula with seed (0.5,0)
Could this be the result of using a float value for the seed? Perhaps it should use integer like the coordinate window. Number of digits should be unlimited. For instance, a seed of 1/3 would need at least a thousand "3"s at e1000. Ditto for irrational or arbitrary values, for instance setting the seed to the location of a deep zoomed mini. Number of digits should't be an issue with a value like 0.5 though.
« Last Edit: May 31, 2016, 02:08:19 AM by stardust4ever » Logged
Kalles Fraktaler
Fractal Senior
******
Posts: 1458



kallesfraktaler
WWW
« Reply #14 on: May 31, 2016, 09:54:16 AM »

Could this be the result of using a float value for the seed? Perhaps it should use integer like the coordinate window. Number of digits should be unlimited. For instance, a seed of 1/3 would need at least a thousand "3"s at e1000. Ditto for irrational or arbitrary values, for instance setting the seed to the location of a deep zoomed mini. Number of digits should't be an issue with a value like 0.5 though.
The seed float value is converted to arbitrary precision before the iterations begin.
Code:
CFixedFloat xr = 0, xi = 0;
was simply changed to
Code:
CFixedFloat xr = g_SeedR, xi = g_SeedI;
And then the same code is able to continue unchanged.
The problem is when zooming into a minibrot deeper than something like e30.

The problem lies in the piece of code that is calculating the perturbation.
Perhaps it is the double abs values that are causing this.
a=delta real
b=delta imag
a2 = a*a
b2 = b*b
x=reference real
y=reference imag
Code:
Dnr = (-2*b*y+2*a*x-b2+a2) - lb_abs_db(x,a) + a0;
Dni = lb_abs_db(x*y,x*b+a*y+a*b) * 2.0 - lb_abs_db(y,b) + b0;

It is not possible to see if this would affect other formulas with seed, since using a seed value makes the minibrots disappear in all the other formulas.


* precision error.jpg (122.92 KB, 840x310 - viewed 186 times.)
Logged

Want to create DEEP Mandelbrot fractals 100 times faster than the commercial programs, for FREE? One hour or one minute? Three months or one day? Try Kalles Fraktaler http://www.chillheimer.de/kallesfraktaler
http://www.facebook.com/kallesfraktaler
Pages: [1] 2   Go Down
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
Feature Removal Request Mandelbulb 3d Sockratease 6 1687 Last post January 03, 2012, 10:25:15 AM
by Teena
Another feature request... Mandelbulb 3d TsarveK 4 1658 Last post February 26, 2012, 11:53:43 PM
by Jesse
Yet Another Feature Request! feature request Sockratease 4 1914 Last post July 31, 2012, 02:52:25 AM
by toxic-dwarf
Fragmentarium feature request Fragmentarium JosLeys 14 2698 Last post September 06, 2015, 09:33:34 PM
by 3dickulus
Bug or feature request, but it took me a while to figure out... bug reporting Madman 3 1484 Last post July 05, 2013, 10:41:37 PM
by Jesse

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