{"id":236,"date":"2014-01-03T16:48:04","date_gmt":"2014-01-03T23:48:04","guid":{"rendered":"http:\/\/heidmann.com\/?p=236"},"modified":"2019-12-05T12:11:28","modified_gmt":"2019-12-05T19:11:28","slug":"fractals","status":"publish","type":"post","link":"https:\/\/heidmann.com\/?p=236","title":{"rendered":"Fractals"},"content":{"rendered":"<p style=\"text-align: center;\"><a href=\"http:\/\/heidmann.com\/?attachment_id=331\" rel=\"attachment wp-att-331\"><img loading=\"lazy\" class=\"alignnone size-full wp-image-331\" src=\"http:\/\/heidmann.com\/wp-content\/uploads\/2014\/01\/fractalTwoZoomed.png\" alt=\"\" width=\"2000\" height=\"2000\"><\/a><\/p>\n<p>This software uses Newton\u2019s method (the one from any first year calculus course) in the complex plane to generate fractals. This code makes use of many of the new C++11 language features, so a newer compiler will be required (I used GCC 4.8.1 running on Opensuse). This code is documented thoroughly with doxygen.<\/p>\n<h2>How it Works<\/h2>\n<p>A rectangular region is first chosen in the complex plane. Then, the fractal is computed row by row (a row is a line with all points on the line having a constant imaginary component \u2013 a horizontal line). Each point on the row is used as the initial guess for Newton\u2019s method. Newton\u2019s method will eventually converge on one of the zeros of the fractal generating function. The color of the associated pixel is chosen by which zero Newton\u2019s method finds. The shading is derived from the number of iterations needed to reach the zero.<\/p>\n<h2>Source and Documentation<\/h2>\n<p style=\"text-align: center;\"><a href=\"http:\/\/heidmann.com\/code\/fractal.tar.bz2\">Here<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This software uses Newton\u2019s method (the one from any first year calculus course) in the complex plane to generate fractals. This code makes use of many of the new C++11 language features, so a newer compiler will be required (I used GCC 4.8.1 running on Opensuse). This code is documented &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"spay_email":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false},"categories":[11,9,12],"tags":[],"jetpack_featured_media_url":"","jetpack_publicize_connections":[],"jetpack_shortlink":"https:\/\/wp.me\/s30iYF-fractals","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/heidmann.com\/index.php?rest_route=\/wp\/v2\/posts\/236"}],"collection":[{"href":"https:\/\/heidmann.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/heidmann.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/heidmann.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/heidmann.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=236"}],"version-history":[{"count":2,"href":"https:\/\/heidmann.com\/index.php?rest_route=\/wp\/v2\/posts\/236\/revisions"}],"predecessor-version":[{"id":333,"href":"https:\/\/heidmann.com\/index.php?rest_route=\/wp\/v2\/posts\/236\/revisions\/333"}],"wp:attachment":[{"href":"https:\/\/heidmann.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=236"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/heidmann.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=236"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/heidmann.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=236"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}