{"id":48,"date":"2012-11-04T23:34:23","date_gmt":"2012-11-04T23:34:23","guid":{"rendered":"http:\/\/www.entropic.ch\/blog\/?p=48"},"modified":"2013-01-11T21:44:07","modified_gmt":"2013-01-11T21:44:07","slug":"fractals-via-c","status":"publish","type":"post","link":"https:\/\/www.entropic.ch\/blog\/uncategorized\/fractals-via-c\/","title":{"rendered":"Fractals via C++"},"content":{"rendered":"<p>I have written a very basic executable for rendering of a Mandelbrot<a title=\"Fractals\" href=\"http:\/\/www.entropic.ch\/blog\/fractals\/\"> fractal<\/a> using the\u00a0 <a title=\"Cairo\" href=\"http:\/\/http:\/\/cairographics.org\/documentation\/\" target=\"_blank\">cairo<\/a> graphics library. Even with a completely primitive algorithm simply scanning every point of the image, calculation is significantly faster than with povray. Apparently, povray is not optimized for the handling of very large numbers of primitives. I&#8217;m wondering how fast the C++ code will get when optimized&#8230;<\/p>\n<p><a href=\"http:\/\/www.entropic.ch\/blog\/wp-content\/uploads\/2012\/11\/mandel.png\"><img loading=\"lazy\" class=\"aligncenter size-medium wp-image-50\" title=\"Mandelbrot\" src=\"http:\/\/www.entropic.ch\/blog\/wp-content\/uploads\/2012\/11\/mandel-300x300.png\" alt=\"\" width=\"300\" height=\"300\" srcset=\"https:\/\/www.entropic.ch\/blog\/wp-content\/uploads\/2012\/11\/mandel-300x300.png 300w, https:\/\/www.entropic.ch\/blog\/wp-content\/uploads\/2012\/11\/mandel-150x150.png 150w, https:\/\/www.entropic.ch\/blog\/wp-content\/uploads\/2012\/11\/mandel.png 1000w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have written a very basic executable for rendering of a Mandelbrot fractal using the\u00a0 cairo graphics library. Even with a completely primitive algorithm simply scanning every point of the image, calculation is significantly faster than with povray. Apparently, povray &hellip; <a href=\"https:\/\/www.entropic.ch\/blog\/uncategorized\/fractals-via-c\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.entropic.ch\/blog\/wp-json\/wp\/v2\/posts\/48"}],"collection":[{"href":"https:\/\/www.entropic.ch\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.entropic.ch\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.entropic.ch\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.entropic.ch\/blog\/wp-json\/wp\/v2\/comments?post=48"}],"version-history":[{"count":4,"href":"https:\/\/www.entropic.ch\/blog\/wp-json\/wp\/v2\/posts\/48\/revisions"}],"predecessor-version":[{"id":52,"href":"https:\/\/www.entropic.ch\/blog\/wp-json\/wp\/v2\/posts\/48\/revisions\/52"}],"wp:attachment":[{"href":"https:\/\/www.entropic.ch\/blog\/wp-json\/wp\/v2\/media?parent=48"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.entropic.ch\/blog\/wp-json\/wp\/v2\/categories?post=48"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.entropic.ch\/blog\/wp-json\/wp\/v2\/tags?post=48"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}