{"id":486,"date":"2012-04-30T20:54:33","date_gmt":"2012-04-30T19:54:33","guid":{"rendered":"http:\/\/www.nobugs.org\/blog\/?p=486"},"modified":"2012-04-30T20:58:45","modified_gmt":"2012-04-30T19:58:45","slug":"hilbert-curves","status":"publish","type":"post","link":"https:\/\/www.nobugs.org\/blog\/archives\/2012\/04\/30\/hilbert-curves\/","title":{"rendered":"Hilbert curves"},"content":{"rendered":"<p>In an attempt to further harass postscript printers, I hacked the <a href=\"http:\/\/nobugs.org\/developer\/lsys\/lsys.ps.txt\">postscript l-system<\/a> which I wrote, err, a long time ago, so that instead of trees it draws <a href=\"http:\/\/nobugs.org\/developer\/lsys\/hilbert.ps.txt\">hilbert curves<\/a>.  Then it occured to me to animate it, starting from a straight-ish line, and gradually folding it in, increasing the turn angle until it reaches 90 degrees.  Kinda pretty.  Makes me wonder how long the piece of string gets when it&#8217;s straightened out; might hack the postscript file to tell me that later.<\/p>\n<p><iframe loading=\"lazy\" width=\"420\" height=\"315\" src=\"http:\/\/www.youtube.com\/embed\/fdql4YYZo6A\" frameborder=\"0\" allowfullscreen><\/iframe><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In an attempt to further harass postscript printers, I hacked the postscript l-system which I wrote, err, a long time ago, so that instead of trees it draws hilbert curves. Then it occured to me to animate it, starting from a straight-ish line, and gradually folding it in, increasing the turn angle until it reaches [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-486","post","type-post","status-publish","format-standard","hentry","category-general"],"_links":{"self":[{"href":"https:\/\/www.nobugs.org\/blog\/wp-json\/wp\/v2\/posts\/486","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.nobugs.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.nobugs.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.nobugs.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.nobugs.org\/blog\/wp-json\/wp\/v2\/comments?post=486"}],"version-history":[{"count":4,"href":"https:\/\/www.nobugs.org\/blog\/wp-json\/wp\/v2\/posts\/486\/revisions"}],"predecessor-version":[{"id":490,"href":"https:\/\/www.nobugs.org\/blog\/wp-json\/wp\/v2\/posts\/486\/revisions\/490"}],"wp:attachment":[{"href":"https:\/\/www.nobugs.org\/blog\/wp-json\/wp\/v2\/media?parent=486"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.nobugs.org\/blog\/wp-json\/wp\/v2\/categories?post=486"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.nobugs.org\/blog\/wp-json\/wp\/v2\/tags?post=486"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}