{"id":3691,"date":"2025-01-08T23:42:57","date_gmt":"2025-01-09T03:42:57","guid":{"rendered":"https:\/\/patorjk.com\/blog\/?p=3691"},"modified":"2025-12-30T17:19:24","modified_gmt":"2025-12-30T21:19:24","slug":"if-you-pause-it-will-disappear","status":"publish","type":"post","link":"https:\/\/patorjk.com\/blog\/2025\/01\/08\/if-you-pause-it-will-disappear\/","title":{"rendered":"If you pause, it will disappear&#8230;"},"content":{"rendered":"\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"Illusion: If You Pause, The Image Will Disappear\" width=\"474\" height=\"267\" src=\"https:\/\/www.youtube.com\/embed\/ZqGfb_Vlrig?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">So I randomly came across a video on youtube where a person made an image inside of static by having some static stay the same from frame-to-frame. It was really trippy and I suddenly got an idea &#8211; I could do the same thing, but with a real image. It&#8217;s hard to describe, but if you watch the above video (done by me), you&#8217;ll see what I&#8217;m talking about.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I coded the whole thing up this past weekend (available on github here: <a href=\"https:\/\/github.com\/patorjk\/image-quilter\">Image Quilter<\/a>). The code is really rough, but I knew if I didn&#8217;t finish it fast, it would be something that just fell to the wayside. In fact, sitting here now the whole thing seems a little silly, but it&#8217;s kind of a neat illusion. In place of static, I used texture generated from a texture synthesis algorithm. It&#8217;s from a <a href=\"https:\/\/people.eecs.berkeley.edu\/~efros\/research\/quilting\/quilting.pdf\">paper<\/a> I read 20 years ago. I came across it in one of my college classes.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Amusingly I wound up having to implement Dijstra&#8217;s algorithm to get it working. I remember learning about that in school &#8211; and in the past 20 years I&#8217;ve never had to use it. But it was cool to finally break it out for something.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Also, I don&#8217;t think I&#8217;ve ever recorded a voice over before, so sorry if I sound wooden. I think everyone thinks their voice sounds weird and I wasn&#8217;t totally happy with it, but it was either my real voice or text on the screen, and I&#8217;m not a fan of the latter type of video.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Approved comments<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In other news, I hadn&#8217;t checked the spam filter for this blog in a long time and there were a lot of real comments caught in it for some reason. I went in and approved all of the non-spam ones that I saw. Sorry if you had a comment that didn&#8217;t displayed until now. If you still don&#8217;t see your comment just shoot me an email (see the <a href=\"https:\/\/patorjk.com\/blog\/about\/\">contact<\/a> page).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>So I randomly came across a video on youtube where a person made an image inside of static by having some static stay the same from frame-to-frame. It was really trippy and I suddenly got an idea &#8211; I could do the same thing, but with a real image. It&#8217;s hard to describe, but if &hellip; <a href=\"https:\/\/patorjk.com\/blog\/2025\/01\/08\/if-you-pause-it-will-disappear\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">If you pause, it will disappear&#8230;<\/span> <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":{"footnotes":""},"categories":[31,21,56],"tags":[],"class_list":["post-3691","post","type-post","status-publish","format-standard","hentry","category-development-thoughts","category-javascript","category-youtube"],"_links":{"self":[{"href":"https:\/\/patorjk.com\/blog\/wp-json\/wp\/v2\/posts\/3691","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/patorjk.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/patorjk.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/patorjk.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/patorjk.com\/blog\/wp-json\/wp\/v2\/comments?post=3691"}],"version-history":[{"count":1,"href":"https:\/\/patorjk.com\/blog\/wp-json\/wp\/v2\/posts\/3691\/revisions"}],"predecessor-version":[{"id":3692,"href":"https:\/\/patorjk.com\/blog\/wp-json\/wp\/v2\/posts\/3691\/revisions\/3692"}],"wp:attachment":[{"href":"https:\/\/patorjk.com\/blog\/wp-json\/wp\/v2\/media?parent=3691"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/patorjk.com\/blog\/wp-json\/wp\/v2\/categories?post=3691"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/patorjk.com\/blog\/wp-json\/wp\/v2\/tags?post=3691"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}