{"id":1984,"date":"2007-06-10T17:42:33","date_gmt":"2007-06-11T01:42:33","guid":{"rendered":"http:\/\/www.ogre.nu\/wp\/?p=1984"},"modified":"2008-05-20T08:42:09","modified_gmt":"2008-05-20T16:42:09","slug":"four-million-colors","status":"publish","type":"post","link":"https:\/\/bendwavy.org\/wp\/?p=1984","title":{"rendered":"four million colors"},"content":{"rendered":"<p>You may know from <i>The Art of Computer Programming<\/i> &sect;4.1 (citing W. Penney, 1965) that, just as any positive real number can be represented by a bit string in base 2, any complex number can be represented by a bit string in base &ndash;1&plusmn;i.  Here I express the bits of that representation as bits of color values.<\/p>\n<p align=center><img decoding=\"async\" src=\"\/doodle\/dragonsample.png\"><\/p>\n<p>This is only an arbitrary crop of an image consisting of 2<sup>18<\/sup> pixels; <a href=\"\/doodle\/dragonb.png\">get 2<sup>22<\/sup> colors (png, 373 KB)<\/a>.  The full 24-bit version will have to wait for me to get cleverer about use of memory.  (Later: <a href=\"?p=1992\">Success<\/a>.)<\/p>\n<p>When I say I make <a href=\"\/doodle\/\">mathematical pictures<\/a>, the response often is: &#8220;Like fractals?&#8221;  Some of my designs have chaotic reflections, but this is my first fractal in many years.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>You may know from The Art of Computer Programming &sect;4.1 (citing W. Penney, 1965) that, just as any positive real number can be represented by a bit string in base 2, any complex number can be represented by a bit &hellip; <a href=\"https:\/\/bendwavy.org\/wp\/?p=1984\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16,12],"tags":[],"class_list":["post-1984","post","type-post","status-publish","format-standard","hentry","category-eye-candy","category-mathematics"],"_links":{"self":[{"href":"https:\/\/bendwavy.org\/wp\/index.php?rest_route=\/wp\/v2\/posts\/1984","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bendwavy.org\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bendwavy.org\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bendwavy.org\/wp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/bendwavy.org\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1984"}],"version-history":[{"count":0,"href":"https:\/\/bendwavy.org\/wp\/index.php?rest_route=\/wp\/v2\/posts\/1984\/revisions"}],"wp:attachment":[{"href":"https:\/\/bendwavy.org\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1984"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bendwavy.org\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1984"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bendwavy.org\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1984"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}