Welcome to Fractal Forums

Fractal Software => Fractal eXtreme => Topic started by: simon.snake on March 09, 2012, 01:48:52 PM




Title: Another FractInt formula I like
Post by: simon.snake on March 09, 2012, 01:48:52 PM
I've written another FractInt formula:

simon0026b {
  z = c = pixel:
  z = abs((-1,0.5)*(z * z) + z-c*c)
  |z| < 400
}

Which produces the following:

(http://www.needanother.co.uk/uploads/fract113.gif)

This looks like another candidate for conversion to Fractal eXtreme (panzerboy, are you up to the challenge?).  Your various attempts to get it right are interesting in themselves, and show you're learning this complex arithmetic as you go and understanding it (which is more than I am able to do).

Simon


Title: Re: Another FractInt formula I like
Post by: panzerboy on March 14, 2012, 11:49:19 AM
Had an interesting time with the large bailout value.
In fractal extreme you'd want to set the bailout to 20 as it internally squares this value to 400.
Though I've found a bailout of 2.5 looks the same.

The usual 32bit, 64bit and source code are in my mediafire folder.
http://www.mediafire.com/?kkqdg8djtsbci

32bit http://www.mediafire.com/?rnzgvx1191qzzet
64bit http://www.mediafire.com/?dk55u27b1fdnsar
Source code http://www.mediafire.com/?sd9oa8smj56m5hj


Title: Re: Another FractInt formula I like
Post by: simon.snake on March 14, 2012, 03:26:48 PM
panzer, I have to take my hat off to you sir!

A wonderful job on this.

I have a number of other formulae which I can upload and let you do your magic on.  I was going to try to compile them on my own, but I really don't understand yet how the formulae are converted to c++ code.

Would you be willing to write a guide on how you do it?  Maybe include the steps all the way from running c++ and what you do there, right to how you work out how to convert the formula?

I would certainly find that a useful aid.

Simon


Title: Re: Another FractInt formula I like
Post by: panzerboy on March 03, 2013, 01:44:44 AM
I've updated the plugin for this formula and now placed it on sourceforge.

sourceforge.net/projects/s6bfxplugin/files/

This new version like the Simon30a plugin implements smooth shading and mandelbrot, burning ship and celtic variants.
The original formula being called a buffalo version.
The code for dealing with large bailouts should be better in this version.

Here are thumbnails for Mandelbrot, Mandelbrot Julia, Burning Ship and Burning Ship Julia.


Title: Re: Another FractInt formula I like
Post by: panzerboy on March 03, 2013, 01:46:17 AM
And Celtic, Celtic Julia, Buffalo (Your original Formula) and Buffalo Julia thumbnails.


Title: Re: Another FractInt formula I like
Post by: simon.snake on March 03, 2013, 08:51:24 AM
Hi Panzer

Looked on the Sourceforge website but the files are not being displayed (and therefore can't be downloaded).  Any ideas?


Title: Re: Another FractInt formula I like
Post by: panzerboy on March 03, 2013, 10:10:58 AM
When I log into my sourceforge account the files show 'pending' status (after 9 hours!).
I guess the files need to be copied to various mirror sites.
The upload was strange the files didin't show, so I uploaded again, again didint show so I again uploaded but only 1 sowed duplicate.
Perhaps I've confused Sourceforge.
I've now uploaded them to mediafire.

32bit dll
http://www.mediafire.com/download.php?os78896x8s69bpw

64bit dll
http://www.mediafire.com/download.php?0vhn95g96vr6x21

Source code
http://www.mediafire.com/download.php?sd9oa8smj56m5hj

Now I've logged out of sourceforge, the files seem to be showing there now?!!
Perhaps I didnt' log off cleanly, or it takes 9 hours to show?


Title: Re: Another FractInt formula I like
Post by: simon.snake on March 20, 2013, 11:31:57 PM
Hi Panzerboy

I've noticed that with the simon26b buffalo smooth if you zoom over 42 times the image blanks.

Probably something straightforward, just thought I'd mention it.

Simon


Title: Re: Another FractInt formula I like
Post by: panzerboy on March 21, 2013, 01:24:44 AM
Doh!
Yeah a pretty simple oversight.
I'd defined the inner iteration logic as c macros because I needed to call it 4 times but didn't want the overhead of a c function call.
When the buffalo version switched to high precision (42 zooms) it was calling the celtic code instead of the buffalo code.

It took a while for the files to show up on Sourceforge that last time I uploaded but these files seem to be there straight away.

http://sourceforge.net/projects/s6bfxplugin/files/?

Interesting to play around with the bailout value once you get to the fixed precision level.
Bailouts of 2, 6, 10 gives a smooth picture. in between these values give a fingerprint like affect in the smooth areas.
The attached picture has bailouts from left to right of 5,4 and 3 below that are bailouts of 6 and 2.