{"id":469,"date":"2008-05-22T16:02:39","date_gmt":"2008-05-22T23:02:39","guid":{"rendered":"https:\/\/www.reenigne.org\/blog\/?p=469"},"modified":"2021-08-04T08:12:36","modified_gmt":"2021-08-04T07:12:36","slug":"rotating-fractals","status":"publish","type":"post","link":"https:\/\/www.reenigne.org\/blog\/rotating-fractals\/","title":{"rendered":"Rotating fractals"},"content":{"rendered":"<p>Fractals like <img src='https:\/\/s0.wp.com\/latex.php?latex=z%3Dz%5E2%2Bc&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='z=z^2+c' title='z=z^2+c' class='latex' \/> and <img src='https:\/\/s0.wp.com\/latex.php?latex=z%3Dz%5E3%2Bc&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='z=z^3+c' title='z=z^3+c' class='latex' \/> are easy to draw because they just involve complex addition and multiplication. What happens if we try to generalize these sorts of fractals to non-integer powers?<\/p>\n<p>We can do this using the identities<br \/>\n<img src='https:\/\/s0.wp.com\/latex.php?latex=%5Cdisplaystyle+z%5Ew+%3D+%28e%5E%7B%5Cfrac%7B%5Clog+z%7D%7B%5Clog+e%7D%7D%29%5Ew+%3D+e%5E%7Bw%5Cfrac%7B%5Clog+z%7D%7B%5Clog+e%7D%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\\displaystyle z^w = (e^{\\frac{\\log z}{\\log e}})^w = e^{w\\frac{\\log z}{\\log e}}' title='\\displaystyle z^w = (e^{\\frac{\\log z}{\\log e}})^w = e^{w\\frac{\\log z}{\\log e}}' class='latex' \/><br \/>\n<img src='https:\/\/s0.wp.com\/latex.php?latex=%5Cdisplaystyle+e%5E%7Bx%2Biy%7D+%3D+e%5Ex%28%5Ccos+y+%2B+i+%5Csin+y%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\\displaystyle e^{x+iy} = e^x(\\cos y + i \\sin y)' title='\\displaystyle e^{x+iy} = e^x(\\cos y + i \\sin y)' class='latex' \/><br \/>\n<img src='https:\/\/s0.wp.com\/latex.php?latex=%5Cdisplaystyle+%5Cfrac%7B%5Clog+z%7D%7B%5Clog+e%7D+%3D+%5Cfrac%7B%5Clog+%7Cz%7C%7D%7B%5Clog+e+%2B+i%28%5Carg+z+%2B+2n%5Cpi%29%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\\displaystyle \\frac{\\log z}{\\log e} = \\frac{\\log |z|}{\\log e + i(\\arg z + 2n\\pi)}' title='\\displaystyle \\frac{\\log z}{\\log e} = \\frac{\\log |z|}{\\log e + i(\\arg z + 2n\\pi)}' class='latex' \/><\/p>\n<p>The trouble is, we have to pick a value for <img src='https:\/\/s0.wp.com\/latex.php?latex=n&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='n' title='n' class='latex' \/>. Given a parameter <img src='https:\/\/s0.wp.com\/latex.php?latex=%5Ctheta&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\\theta' title='\\theta' class='latex' \/> we can pick <img src='https:\/\/s0.wp.com\/latex.php?latex=n&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='n' title='n' class='latex' \/> such that <img src='https:\/\/s0.wp.com\/latex.php?latex=%5Ctheta+-+%5Cpi+%5Cleq+%5Carg%28x%2Biy%29+%2B+2n%5Cpi+%3C+%5Ctheta+%2B+%5Cpi&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\\theta - \\pi \\leq \\arg(x+iy) + 2n\\pi &lt; \\theta + \\pi' title='\\theta - \\pi \\leq \\arg(x+iy) + 2n\\pi &lt; \\theta + \\pi' class='latex' \/> (i.e. choose a branch cut of constant argument and a sheet of the Riemann surface): <img src='https:\/\/s0.wp.com\/latex.php?latex=%5Cdisplaystyle+n+%3D+%5Clfloor%5Cfrac%7B1%7D%7B2%7D%28%5Cfrac%7B%5Ctheta+-+%5Carg%28x%2Biy%29%7D%7B%5Cpi%7D+%2B+1%29%5Crfloor&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\\displaystyle n = \\lfloor\\frac{1}{2}(\\frac{\\theta - \\arg(x+iy)}{\\pi} + 1)\\rfloor' title='\\displaystyle n = \\lfloor\\frac{1}{2}(\\frac{\\theta - \\arg(x+iy)}{\\pi} + 1)\\rfloor' class='latex' \/>. Then as we gradually vary <img src='https:\/\/s0.wp.com\/latex.php?latex=%5Ctheta&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\\theta' title='\\theta' class='latex' \/> the fractal we get will change. For <img src='https:\/\/s0.wp.com\/latex.php?latex=w+%3D+u%2Biv&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='w = u+iv' title='w = u+iv' class='latex' \/>, <img src='https:\/\/s0.wp.com\/latex.php?latex=v+%5Cne+0&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='v \\ne 0' title='v \\ne 0' class='latex' \/>, increasing <img src='https:\/\/s0.wp.com\/latex.php?latex=%5Ctheta&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\\theta' title='\\theta' class='latex' \/> will cause <img src='https:\/\/s0.wp.com\/latex.php?latex=z%5Ew&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='z^w' title='z^w' class='latex' \/> to \"spiral in\" from infinity towards the origin (<img src='https:\/\/s0.wp.com\/latex.php?latex=v%3C0&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='v&lt;0' title='v&lt;0' class='latex' \/>) or out (<img src='https:\/\/s0.wp.com\/latex.php?latex=v%3E0&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='v&gt;0' title='v&gt;0' class='latex' \/>). When <img src='https:\/\/s0.wp.com\/latex.php?latex=v+%3D+0&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='v = 0' title='v = 0' class='latex' \/>, increasing <img src='https:\/\/s0.wp.com\/latex.php?latex=%5Ctheta&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\\theta' title='\\theta' class='latex' \/> will have a periodic effect, which will cause the fractal to appear to \"rotate\" in fractally sort of ways with a period of <img src='https:\/\/s0.wp.com\/latex.php?latex=%5Cdisplaystyle+%5Cfrac%7B2%5Cpi%7D%7Bu%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\\displaystyle \\frac{2\\pi}{u}' title='\\displaystyle \\frac{2\\pi}{u}' class='latex' \/>.<\/p>\n<p>It would be interesting to plot these as 3D images (like <a href=\"http:\/\/graphics.cs.uiuc.edu\/svn\/kcrane\/web\/project_qjulia.html\">these<\/a> with <img src='https:\/\/s0.wp.com\/latex.php?latex=%5Ctheta&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\\theta' title='\\theta' class='latex' \/> on the z axis. These would look sort of helical (or conical, for <img src='https:\/\/s0.wp.com\/latex.php?latex=v+%5Cne+0&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='v \\ne 0' title='v \\ne 0' class='latex' \/>.)<\/p>\n<p>Using <img src='https:\/\/s0.wp.com\/latex.php?latex=u+%3C+0&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='u &lt; 0' title='u &lt; 0' class='latex' \/> 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.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Fractals like and are easy to draw because they just involve 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 The trouble is, we have to pick a value for . Given a parameter we can pick such that [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[18],"tags":[],"class_list":["post-469","post","type-post","status-publish","format-standard","hentry","category-fractals"],"_links":{"self":[{"href":"https:\/\/www.reenigne.org\/blog\/wp-json\/wp\/v2\/posts\/469","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.reenigne.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.reenigne.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.reenigne.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.reenigne.org\/blog\/wp-json\/wp\/v2\/comments?post=469"}],"version-history":[{"count":4,"href":"https:\/\/www.reenigne.org\/blog\/wp-json\/wp\/v2\/posts\/469\/revisions"}],"predecessor-version":[{"id":2122,"href":"https:\/\/www.reenigne.org\/blog\/wp-json\/wp\/v2\/posts\/469\/revisions\/2122"}],"wp:attachment":[{"href":"https:\/\/www.reenigne.org\/blog\/wp-json\/wp\/v2\/media?parent=469"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.reenigne.org\/blog\/wp-json\/wp\/v2\/categories?post=469"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.reenigne.org\/blog\/wp-json\/wp\/v2\/tags?post=469"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}