Logo by stereoman - 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. March 29, 2024, 12:06:42 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: Inversion Ellipse Fold Transformation  (Read 730 times)
0 Members and 3 Guests are viewing this topic.
thomas314
Guest
« on: April 24, 2012, 06:40:03 PM »

Hi,
the next logical step of a circle fold, i thought, is an elliptic fold of
the z plane. If the 2 axis of the ellipse are equal then the formula behaves
exactly like the circle fold i've done in this thread:

http://www.fractalforums.com/new-theories-and-research/kalis-inversion-circle-fold/msg46047/#msg46047;

Link for ellipse formulas
http://en.wikipedia.org/wiki/Ellipse#Equations

The UF
Code:
class THMInvEllipseFold(common.ulb:UserTransform){
public:
import "common.ulb"

  func THMInvEllipseFold(Generic pparent)
  UserTransform.UserTransform(pparent)
  endfunc
 
  func Init(complex pz)
  UserTransform.Init(pz)
  rot=(0,1)^(@angle/90.0)
  endfunc

  complex func Iterate(complex pz)
    pz=pz*rot                           ;rotate pz
    pz=real(pz)/@a+flip(imag(pz)/@b)    ;Center equation of ellipse
    smz=|pz|                            ;Kalis Inverse Circle Fold {
    if smz<@k
      pz=pz/smz*@k
    endif
    pz=pz*@m+@o                         ; }
    return pz
  endfunc
  private:
    complex rot
default:
  title="InverseEllipseFold"
  float param angle
    caption = "angle"
    default = 0.0
  endparam
  float param a
    caption = "Radius a"
    default = 1.0
  endparam
  float param b
    caption = "Radius b"
    default = 1.0
  endparam
  float param k
    caption = "x/a+y/b"
    default = 1.0
  endparam
  param m
    caption = "faktor z"
    default = (1,0)
  endparam
  param o
    caption = "offset z"
    default = (0,0)
  endparam
}

After this pre-transformation i simply use a Mandelbrot.
Code:
pz=pz^p+c

Some pictures:

Mandelbrot with p= -2.0, 0.0i, Radius a=Radius b, all other parameter have default values



and some Julias with different parameter:







The last 2 ones are rendered with 2 merged elliptic transformations prior the mandel formula like this:

Loop:
z=transformation1(z)
z=transformation2(z)
z=z^p+c
 
The parameter p (power) for this examples are all integer real numbers. If complex floating point numbers are used then
this formula causes symmetry fractures(ugly).
But i found a workaround for that. How?
I'll show that in the next thread (if you want)  smiley
Logged
Alef
Fractal Supremo
*****
Posts: 1174



WWW
« Reply #1 on: April 24, 2012, 07:06:05 PM »

IMHO 4th pics is the best.
Just are waiting for this being uploaded to UF database;)
Logged

fractal catalisator
tit_toinou
Iterator
*
Posts: 192


« Reply #2 on: April 24, 2012, 09:54:46 PM »

Good idea and good pictures.
In the 4th picture we can see in the upper left corner a discontinuity..

And yeah I want to know your workaround your discontinuity  smiley !
Logged

s31415
Conqueror
*******
Posts: 110



WWW
« Reply #3 on: April 24, 2012, 11:38:19 PM »

You can add a mirror on top of the branch cut to get rid of the discontinuity and still get the same type of fractals. The same trick works with logarithms, see this post for instance:
http://algorithmic-worlds.net/blog/blog.php?Post=20110227

Concerning using "elliptic inversion", I find it a bit less desirable, because it stretches the patterns, what ultimately hides the self-similarity. (Although this is not so apparent on your pictures because you probably use an ellipse which is close to be a circle.) The stretching is due to the fact that unlike the circle inversion, it is not a conformal transformation. My personal taste for unstretched patterns makes me stick to conformal transformations with this type of fractals..

Best,

Sam
Logged

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


Fragments of the fractal -like the tip of it


« Reply #4 on: April 25, 2012, 10:54:04 AM »

Stretching can be cool, I love not-exactly-regular figures A Beer Cup
Logged

No sweat, guardian of wisdom!
tit_toinou
Iterator
*
Posts: 192


« Reply #5 on: April 26, 2012, 02:03:23 PM »

But maybe the beauty of this kind of fractal is to compose the non-complex-differentiable-but-continuous folding function (mirrors) with complex-differentiable functions...
Logged

element90
Strange Attractor
***
Posts: 298



WWW
« Reply #6 on: May 06, 2012, 02:32:00 PM »

I been using inverse fold in, inverse fold out and inverse reflect for a while now. All use circles (special case of the ellipse). The following was produced using Mars and Phobos.

z = (inversefold(z))^1.5 + 0.2



As the formula with out "inverse fold in" is the glynn formula there is no surprise that glynns are present here. The image is the same when "circle fold in" is used instead (checked using Saturn & Titan).
Logged

Elelemt90 Fractals blog www.element90.wordpress.com
tit_toinou
Iterator
*
Posts: 192


« Reply #7 on: May 06, 2012, 04:06:25 PM »

Woah. Good finding smiley .
Logged

element90
Strange Attractor
***
Posts: 298



WWW
« Reply #8 on: May 08, 2012, 04:14:09 PM »

Referring back to the original post, I got this in September 2011 which is similar in structure to the second Julia.



For the parameters go to the deviantArt page here http://fav.me/d4a74tn
Logged

Elelemt90 Fractals blog www.element90.wordpress.com
Pages: [1]   Go Down
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
Inversion Fractal Fun msltoe 0 1294 Last post April 30, 2010, 04:45:27 PM
by msltoe
Kalis Inversion Circle Fold (new) Theories & Research thomas314 8 689 Last post April 24, 2012, 06:16:01 PM
by Alef
3-fold symmetry Still Frame Kalles Fraktaler 0 1187 Last post May 08, 2014, 05:02:44 PM
by Kalles Fraktaler
Infinitized (Sierpinski) fold using bitwise operators (new) Theories & Research DarkBeam 7 596 Last post February 06, 2015, 12:56:01 AM
by DarkBeam
Sphere inversion transformation in M3D Programming JosLeys 13 7813 Last post August 04, 2016, 06:30:40 AM
by mclarekin

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