Rotating fractals

Fractals like z=z2+c and z=z3+c are easy to draw because they just involed complex addition and multiplication. What happens if we try to generalize these sorts of fractals to non-integer powers?

We can do this using the identities
zw = (elog z / log e)w = ew log z / log e
ex+iy = ex(cos y + i sin y)
log z / log e = log |z| / log e + i(arg z + 2nπ)

The trouble is, we have to pick a value for n. Given a parameter θ we can pick n such that θ – π <= arg(x+iy) + 2nπ < θ + π (i.e. choose a branch cut of constant argument and a sheet of the Riemann surface): n = ⌊((θ - arg(x+iy))/π + 1)/2⌋.

Then as we gradually vary θ the fractal we get will change. For w = u+iv, v ≠ 0, increasing θ will cause zw to “spiral in” from infinity towards the origin (v<0) or out (v>0). When v = 0, increasing θ will have a periodic effect, which will cause the fractal to appear to “rotate” in fractally sort of ways with a period of 2π/u.

It would be interesting to plot these as 3D images (like these with θ on the z axis. These would look sort of helical (or conical, for v ≠ 0.

Using u<0 poses some additional problems – the attractor isn’t bound by any circle of finite radius about the origin so it’s more difficult to tell when a point escapes and when it is convergent but just currently very far out. Clearly some further thought is necessary to plot such fractals accurately – perhaps there are other escape conditions which would work for these.

One Response to “Rotating fractals”

  1. [...] year, I wrote about a way to make rotating fractals. I implemented this and here is the [...]

Leave a Reply