Logo by mjk1093 - 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 24, 2024, 08:35:11 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 3 ... 9   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: An escape time algorithm for Kleinian group limit sets  (Read 67791 times)
0 Members and 1 Guest are viewing this topic.
JosLeys
Strange Attractor
***
Posts: 258


WWW
« on: October 27, 2016, 10:43:02 PM »

Working on a special Mandelbox that generates 3D Kleinian limit sets, I got an idea for an escape-time version of 2D limit sets.
While these limit sets are usually drawn up by a tedious procedure of multiplication of two by two matrices representing Moebius transformations, this algorithm will draw up a finely detailed limit set in seconds.
It even allows deep zooming. The little film below goes up to a magnification of 10^10...

<a href="http://www.youtube.com/v/epK2h-RG4SU&rel=1&fs=1&hd=1" target="_blank">http://www.youtube.com/v/epK2h-RG4SU&rel=1&fs=1&hd=1</a>

Different shapes can be obtained by circle inversions, like the image below...

I'm still fine-tuning the algorithm, so be patient...


* Kleinian_003_LR.jpg (61.87 KB, 555x1024 - viewed 1051 times.)
Logged
KRAFTWERK
Global Moderator
Fractal Senior
******
Posts: 1439


Virtual Surreality


WWW
« Reply #1 on: October 28, 2016, 03:18:07 PM »

Super cool Jos!
Is it possible to get it into 3D space?  afro
Logged

JosLeys
Strange Attractor
***
Posts: 258


WWW
« Reply #2 on: October 28, 2016, 05:58:25 PM »

Working on that also. See http://www.fractalforums.com/3d-fractal-generation/a-mandelbox-that-generates-kleinian-group-fractals/
Logged
DarkBeam
Global Moderator
Fractal Senior
******
Posts: 2512


Fragments of the fractal -like the tip of it


« Reply #3 on: October 29, 2016, 11:08:27 AM »

Don't be cruel we are starving for your formula cry
Post soon plzzz cheesy cheesy
Logged

No sweat, guardian of wisdom!
hobold
Fractal Bachius
*
Posts: 573


« Reply #4 on: October 29, 2016, 10:11:08 PM »

If it were possible to compute good (i.e. fairly accurate) interior distance estimates per pixel, then one could speed this up even more. Basic idea is to fit a cone to a few sampled points to obtain an "interesting" hypothesis (i.e. a candidate with reasonably high probability of being accurate) for one disk. Fitting can be done efficiently with bivariate polynomial regression (using squared distances, so you'd actually fit a 2D quadric and "hope" for it to turn out as a circular paraboloid).
Logged
JosLeys
Strange Attractor
***
Posts: 258


WWW
« Reply #5 on: October 29, 2016, 11:23:41 PM »

I think it would very hard to speed up the 2D code any further, nor would there be an interest :  the image below (with antialiasing) took less than 1 second to produce.
What I'm still struggling with is an efficient distance estimate for the 3D version


* Kleinian_006.jpg (240.04 KB, 800x800 - viewed 1080 times.)
Logged
DarkBeam
Global Moderator
Fractal Senior
******
Posts: 2512


Fragments of the fractal -like the tip of it


« Reply #6 on: October 30, 2016, 10:23:48 AM »

Actually this should not be a problem.
Mb3d uses one unique algo to estimate de for all ifs fractals and it is the normal mandelbox (Buddhi's? I suppose) analytic de. But I never cared as in mb I only write the actual formula and de is auto handled normally. Just difs are different as I have to manually evaluate de.
smiley
Logged

No sweat, guardian of wisdom!
JosLeys
Strange Attractor
***
Posts: 258


WWW
« Reply #7 on: October 30, 2016, 12:45:19 PM »

@Darkbeam.
Do you know how exactly M3D does the distance estimate for a Mandelbox type?
What I'm using now is what I believe M3D uses also, but in this case it is very inefficient, although it does the job in the end.
I'm getting small steps when 'far' from the object, and playing with the fudge factor does not help because then I get overstepping when close to the object.
Logged
DarkBeam
Global Moderator
Fractal Senior
******
Posts: 2512


Fragments of the fractal -like the tip of it


« Reply #8 on: October 30, 2016, 01:59:10 PM »

I am sorry  sad but it is way too complicated for me to get into the source code... but you are much more expert in de methods so I am sure you will find a workaround.
An idea can be to write down a simplified fragmentarium script that people can study and improve? If it is not too complicated (in maths and number of temp variables) I'd love to implement it. Also you can use Mb3d's jit functionality to do preliminary tests. wink
That's all I know sad
Logged

No sweat, guardian of wisdom!
KRAFTWERK
Global Moderator
Fractal Senior
******
Posts: 1439


Virtual Surreality


WWW
« Reply #9 on: October 30, 2016, 06:38:28 PM »


Cool... but it looks like extruded 2d? But I might miss something? huh?
Logged

3dickulus
Global Moderator
Fractal Senior
******
Posts: 1558



WWW
« Reply #10 on: October 30, 2016, 09:32:46 PM »

An idea can be to write down a simplified fragmentarium script that people can study and improve?

In the Fragmentarium/Examples/Knighty Collection there are 3 kleinian related frags and I've collected about 9 from the forum posts, there is a non-DE and a slow-DE version not included with the Fragmentarium distribution.
Logged

Resistance is fertile...
You will be illuminated!

                            #B^] https://en.wikibooks.org/wiki/Fractals/fragmentarium
JosLeys
Strange Attractor
***
Posts: 258


WWW
« Reply #11 on: October 30, 2016, 10:57:01 PM »

@Kraftwerk, yes you are missing something.
Below is another view (with occasional overstepping due to inadequate DE)...and it's not extruded!


* atest17a.jpg (162.82 KB, 800x800 - viewed 1130 times.)
Logged
JosLeys
Strange Attractor
***
Posts: 258


WWW
« Reply #12 on: October 30, 2016, 11:26:55 PM »

@3dickulus
What I'm currently using is very close to one of the DE calculations in Fragmentarium that you mentioned.
Logged
mclarekin
Fractal Senior
******
Posts: 1739



« Reply #13 on: October 31, 2016, 12:08:07 AM »



Here are  three analytic method DE calcs form Mandelbulber

pseudo klienian
double rxy = sqrt(z.x * z.x + z.y * z.y);
out->distance = max(rxy - 0.92784, fabs(rxy * z.z) / r) / (DE);

Mandelbox linear types
out->distance = r / fabs(DE);

Mandelbulb logrithmic types
out->distance = 0.5 * r * log(r) / DE


There is also the slower DeltaDE method for distance estimation, which  we use if the analytic methods are not suitable.

DE tweaks placed inside the formula can also help in some situations.


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


Fragments of the fractal -like the tip of it


« Reply #14 on: October 31, 2016, 12:51:14 AM »

Also read this Knighty script carefully;
http://www.fractalforums.com/other-types/escape-time-kleinian-(sort-of)/
Logged

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

Related Topics
Subject Started by Replies Views Last post
Kleinian Limit Sets Images Showcase (Rate My Fractal) gandreas 9 12465 Last post December 06, 2008, 09:11:43 PM
by _db_
Kleinian Limit Sets Other types fractalrebel 12 13313 Last post December 27, 2009, 09:34:27 PM
by fractalrebel
three more pictures, mandelbrot set, escape time algorithm Images Showcase (Rate My Fractal) Eric B 0 3414 Last post October 23, 2012, 02:03:32 AM
by Eric B
Escape time kleinian (sort of) Other types knighty 8 7451 Last post January 30, 2015, 06:04:50 PM
by knighty
Escape time algorithm defined using the Quotient and remainder functions. (new) Theories & Research mancoast 1 4412 Last post December 06, 2017, 09:50:05 PM
by mancoast

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.183 seconds with 27 queries. (Pretty URLs adds 0.009s, 2q)