{"id":730,"date":"2023-08-22T10:02:16","date_gmt":"2023-08-22T17:02:16","guid":{"rendered":"https:\/\/eldri.tech\/blog\/?p=730"},"modified":"2023-08-26T00:31:24","modified_gmt":"2023-08-26T07:31:24","slug":"latoo-v2","status":"publish","type":"post","link":"https:\/\/eldri.tech\/blog\/latoo-v2","title":{"rendered":"Lat\u00f6\u00f6carfian Dream Generator v2.0"},"content":{"rendered":"\n<p>I recently updated some old Processing code for generating Lat\u00f6\u00f6carfian dream images <em>\u00e0 la<\/em> Clifford Pickover&#8217;s <em>Chaos in Wonderland<\/em>, like the ones I made for <em><a href=\"https:\/\/eldri.tech\/blog\/vehicles\">Vehicles of \u00c6therial Fire<\/a><\/em>. I shared the code as a <a href=\"https:\/\/gist.github.com\/tchnmncr\/37d7fff4a05a235fe9d75e83c80fc101\">GitHub Gist<\/a>. Perhaps one day I will make an Esper-like voice interface: &#8220;Magnify 2000 times. Pan left 300 pixels. Save that.&#8221; Might also add the ability to <a href=\"https:\/\/jnystad.no\/post\/high-resolution-rendering-with-processing-part-1\">render at a printable DPI<\/a>, so I can say, &#8220;Give me a hardcopy right there.&#8221; Meanwhile, here are some images of zooming into the &#8220;Serpent Horizon&#8221; dream. The thumbnails hide a lot of detail; click each one to view full-size.<\/p>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/eldri.tech\/blog\/wp-content\/uploads\/2023\/08\/2023_08_14_15_31_17.png\" target=\"_blank\" rel=\"noreferrer noopener\"><img loading=\"lazy\" decoding=\"async\" width=\"700\" height=\"700\" data-id=\"736\" src=\"https:\/\/eldri.tech\/blog\/wp-content\/uploads\/2023\/08\/2023_08_14_15_31_17-700x700.png\" alt=\"\" class=\"wp-image-736\" srcset=\"https:\/\/eldri.tech\/blog\/wp-content\/uploads\/2023\/08\/2023_08_14_15_31_17-700x700.png 700w, https:\/\/eldri.tech\/blog\/wp-content\/uploads\/2023\/08\/2023_08_14_15_31_17-300x300.png 300w, https:\/\/eldri.tech\/blog\/wp-content\/uploads\/2023\/08\/2023_08_14_15_31_17-150x150.png 150w, https:\/\/eldri.tech\/blog\/wp-content\/uploads\/2023\/08\/2023_08_14_15_31_17-768x768.png 768w, https:\/\/eldri.tech\/blog\/wp-content\/uploads\/2023\/08\/2023_08_14_15_31_17.png 1080w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/eldri.tech\/blog\/wp-content\/uploads\/2023\/08\/2023_08_14_15_32_29.png\" target=\"_blank\" rel=\"noreferrer noopener\"><img loading=\"lazy\" decoding=\"async\" width=\"700\" height=\"700\" data-id=\"737\" src=\"https:\/\/eldri.tech\/blog\/wp-content\/uploads\/2023\/08\/2023_08_14_15_32_29-700x700.png\" alt=\"\" class=\"wp-image-737\" srcset=\"https:\/\/eldri.tech\/blog\/wp-content\/uploads\/2023\/08\/2023_08_14_15_32_29-700x700.png 700w, https:\/\/eldri.tech\/blog\/wp-content\/uploads\/2023\/08\/2023_08_14_15_32_29-300x300.png 300w, https:\/\/eldri.tech\/blog\/wp-content\/uploads\/2023\/08\/2023_08_14_15_32_29-150x150.png 150w, https:\/\/eldri.tech\/blog\/wp-content\/uploads\/2023\/08\/2023_08_14_15_32_29-768x768.png 768w, https:\/\/eldri.tech\/blog\/wp-content\/uploads\/2023\/08\/2023_08_14_15_32_29.png 1080w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/eldri.tech\/blog\/wp-content\/uploads\/2023\/08\/2023_08_14_15_33_02.png\" target=\"_blank\" rel=\"noreferrer noopener\"><img loading=\"lazy\" decoding=\"async\" width=\"700\" height=\"700\" data-id=\"738\" src=\"https:\/\/eldri.tech\/blog\/wp-content\/uploads\/2023\/08\/2023_08_14_15_33_02-700x700.png\" alt=\"\" class=\"wp-image-738\" srcset=\"https:\/\/eldri.tech\/blog\/wp-content\/uploads\/2023\/08\/2023_08_14_15_33_02-700x700.png 700w, https:\/\/eldri.tech\/blog\/wp-content\/uploads\/2023\/08\/2023_08_14_15_33_02-300x300.png 300w, https:\/\/eldri.tech\/blog\/wp-content\/uploads\/2023\/08\/2023_08_14_15_33_02-150x150.png 150w, https:\/\/eldri.tech\/blog\/wp-content\/uploads\/2023\/08\/2023_08_14_15_33_02-768x768.png 768w, https:\/\/eldri.tech\/blog\/wp-content\/uploads\/2023\/08\/2023_08_14_15_33_02.png 1080w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/eldri.tech\/blog\/wp-content\/uploads\/2023\/08\/2023_08_14_15_33_36.png\" target=\"_blank\" rel=\"noreferrer noopener\"><img loading=\"lazy\" decoding=\"async\" width=\"700\" height=\"700\" data-id=\"739\" src=\"https:\/\/eldri.tech\/blog\/wp-content\/uploads\/2023\/08\/2023_08_14_15_33_36-700x700.png\" alt=\"\" class=\"wp-image-739\" srcset=\"https:\/\/eldri.tech\/blog\/wp-content\/uploads\/2023\/08\/2023_08_14_15_33_36-700x700.png 700w, https:\/\/eldri.tech\/blog\/wp-content\/uploads\/2023\/08\/2023_08_14_15_33_36-300x300.png 300w, https:\/\/eldri.tech\/blog\/wp-content\/uploads\/2023\/08\/2023_08_14_15_33_36-150x150.png 150w, https:\/\/eldri.tech\/blog\/wp-content\/uploads\/2023\/08\/2023_08_14_15_33_36-768x768.png 768w, https:\/\/eldri.tech\/blog\/wp-content\/uploads\/2023\/08\/2023_08_14_15_33_36.png 1080w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/eldri.tech\/blog\/wp-content\/uploads\/2023\/08\/2023_08_14_15_56_37.png\" target=\"_blank\" rel=\"noreferrer noopener\"><img loading=\"lazy\" decoding=\"async\" width=\"700\" height=\"700\" data-id=\"740\" src=\"https:\/\/eldri.tech\/blog\/wp-content\/uploads\/2023\/08\/2023_08_14_15_56_37-700x700.png\" alt=\"\" class=\"wp-image-740\" srcset=\"https:\/\/eldri.tech\/blog\/wp-content\/uploads\/2023\/08\/2023_08_14_15_56_37-700x700.png 700w, https:\/\/eldri.tech\/blog\/wp-content\/uploads\/2023\/08\/2023_08_14_15_56_37-300x300.png 300w, https:\/\/eldri.tech\/blog\/wp-content\/uploads\/2023\/08\/2023_08_14_15_56_37-150x150.png 150w, https:\/\/eldri.tech\/blog\/wp-content\/uploads\/2023\/08\/2023_08_14_15_56_37-768x768.png 768w, https:\/\/eldri.tech\/blog\/wp-content\/uploads\/2023\/08\/2023_08_14_15_56_37.png 1080w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/eldri.tech\/blog\/wp-content\/uploads\/2023\/08\/2023_08_14_16_02_33.png\" target=\"_blank\" rel=\"noreferrer noopener\"><img loading=\"lazy\" decoding=\"async\" width=\"700\" height=\"700\" data-id=\"741\" src=\"https:\/\/eldri.tech\/blog\/wp-content\/uploads\/2023\/08\/2023_08_14_16_02_33-700x700.png\" alt=\"\" class=\"wp-image-741\" srcset=\"https:\/\/eldri.tech\/blog\/wp-content\/uploads\/2023\/08\/2023_08_14_16_02_33-700x700.png 700w, https:\/\/eldri.tech\/blog\/wp-content\/uploads\/2023\/08\/2023_08_14_16_02_33-300x300.png 300w, https:\/\/eldri.tech\/blog\/wp-content\/uploads\/2023\/08\/2023_08_14_16_02_33-150x150.png 150w, https:\/\/eldri.tech\/blog\/wp-content\/uploads\/2023\/08\/2023_08_14_16_02_33-768x768.png 768w, https:\/\/eldri.tech\/blog\/wp-content\/uploads\/2023\/08\/2023_08_14_16_02_33.png 1080w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><\/a><\/figure>\n<\/figure>\n\n\n\n<p>One of the big changes I made was to use Java&#8217;s <code>double<\/code> data type instead of Processing&#8217;s native <code>float<\/code>, which greatly improves the pixel density.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"700\" height=\"700\" src=\"https:\/\/eldri.tech\/blog\/wp-content\/uploads\/2023\/08\/processing_pixel_density-700x700.png\" alt=\"\" class=\"wp-image-746\" srcset=\"https:\/\/eldri.tech\/blog\/wp-content\/uploads\/2023\/08\/processing_pixel_density-700x700.png 700w, https:\/\/eldri.tech\/blog\/wp-content\/uploads\/2023\/08\/processing_pixel_density-300x300.png 300w, https:\/\/eldri.tech\/blog\/wp-content\/uploads\/2023\/08\/processing_pixel_density-150x150.png 150w, https:\/\/eldri.tech\/blog\/wp-content\/uploads\/2023\/08\/processing_pixel_density-768x768.png 768w, https:\/\/eldri.tech\/blog\/wp-content\/uploads\/2023\/08\/processing_pixel_density.png 1080w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><\/figure>\n<\/div>\n\n\n<p>&nbsp;<\/p>\n\n\n\n<p>Here is a comparison of the &#8220;Shark Tooth&#8221; dream I made for <em>Vehicles<\/em> vs. v2 of the same dream:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" src=\"https:\/\/eldri.tech\/img\/vehicles\/tooth.png\" alt=\"\"\/><\/figure>\n<\/div>\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"768\" height=\"768\" src=\"https:\/\/eldri.tech\/blog\/wp-content\/uploads\/2023\/08\/shark_tooth_new.png\" alt=\"\" class=\"wp-image-752\" srcset=\"https:\/\/eldri.tech\/blog\/wp-content\/uploads\/2023\/08\/shark_tooth_new.png 768w, https:\/\/eldri.tech\/blog\/wp-content\/uploads\/2023\/08\/shark_tooth_new-300x300.png 300w, https:\/\/eldri.tech\/blog\/wp-content\/uploads\/2023\/08\/shark_tooth_new-700x700.png 700w, https:\/\/eldri.tech\/blog\/wp-content\/uploads\/2023\/08\/shark_tooth_new-150x150.png 150w\" sizes=\"auto, (max-width: 768px) 100vw, 768px\" \/><\/figure>\n\n\n\n<p>&nbsp;<\/p>\n\n\n\n<p>I also moved the trig out of the <code>draw()<\/code> function, so I can now render 10 million frames in just under ten seconds, instead of waiting several hours to draw them at 30 or 60 frames per second.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I recently updated some old Processing code for generating Lat\u00f6\u00f6carfian dream images <i>\u00e0 la<\/i> Clifford Pickover&#8217;s <i>Chaos in Wonderland<\/i><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"class_list":["post-730","post","type-post","status-publish","format-standard","hentry","category-works"],"_links":{"self":[{"href":"https:\/\/eldri.tech\/blog\/wp-json\/wp\/v2\/posts\/730","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/eldri.tech\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/eldri.tech\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/eldri.tech\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/eldri.tech\/blog\/wp-json\/wp\/v2\/comments?post=730"}],"version-history":[{"count":11,"href":"https:\/\/eldri.tech\/blog\/wp-json\/wp\/v2\/posts\/730\/revisions"}],"predecessor-version":[{"id":754,"href":"https:\/\/eldri.tech\/blog\/wp-json\/wp\/v2\/posts\/730\/revisions\/754"}],"wp:attachment":[{"href":"https:\/\/eldri.tech\/blog\/wp-json\/wp\/v2\/media?parent=730"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/eldri.tech\/blog\/wp-json\/wp\/v2\/categories?post=730"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/eldri.tech\/blog\/wp-json\/wp\/v2\/tags?post=730"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}