{"id":3836,"date":"2026-03-20T23:51:48","date_gmt":"2026-03-21T03:51:48","guid":{"rendered":"https:\/\/patorjk.com\/blog\/?p=3836"},"modified":"2026-03-23T14:18:09","modified_gmt":"2026-03-23T18:18:09","slug":"chromostereopsis","status":"publish","type":"post","link":"https:\/\/patorjk.com\/blog\/2026\/03\/20\/chromostereopsis\/","title":{"rendered":"Chromostereopsis"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Chromostereopsis is an optical illusion most people experience where red appears closer than blue. Most of the time your brain corrects for it, but you can trigger the effect with certain types of images. I made a game of <a href=\"https:\/\/patorjk.com\/games\/chromostereopsis-lights-out\/\">Lights Out<\/a> around the illusion, which is a game where you try and turn off all of the squares by clicking them. To me it looks like the squares get pushed back, it&#8217;s kind of trippy. Though the effect is stronger for people with glasses that correct for myopia, which I wear.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The idea to experiment with the effect came to me back in December, when Loic Cressot (author of a few FIGlet fonts) emailed me with the idea to add a chromostereopsis filter to <a href=\"https:\/\/patorjk.com\/software\/taag\/\">TAAG<\/a>. I did so and I think it makes for a neat output, though in practice I&#8217;m not sure how useful this will be.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/patorjk.com\/blog\/wp-content\/uploads\/2026\/03\/chromostereopsis.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1920\" height=\"1080\" src=\"https:\/\/patorjk.com\/blog\/wp-content\/uploads\/2026\/03\/chromostereopsis.png\" alt=\"\" class=\"wp-image-3838\" srcset=\"https:\/\/patorjk.com\/blog\/wp-content\/uploads\/2026\/03\/chromostereopsis.png 1920w, https:\/\/patorjk.com\/blog\/wp-content\/uploads\/2026\/03\/chromostereopsis-300x169.png 300w, https:\/\/patorjk.com\/blog\/wp-content\/uploads\/2026\/03\/chromostereopsis-1024x576.png 1024w, https:\/\/patorjk.com\/blog\/wp-content\/uploads\/2026\/03\/chromostereopsis-768x432.png 768w, https:\/\/patorjk.com\/blog\/wp-content\/uploads\/2026\/03\/chromostereopsis-1536x864.png 1536w\" sizes=\"auto, (max-width: 1920px) 100vw, 1920px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">I also thought it could make for a fun youtube video topic. At the time I was working on the <a href=\"https:\/\/patorjk.com\/image-glitcher\/\">Image Glitcher<\/a> stuff, but figured I would circle back to it. You can check out the video below.<\/p>\n\n\n\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: Why Does Red Look Closer Than Blue? (Chromostereopsis Effect)\" width=\"474\" height=\"267\" src=\"https:\/\/www.youtube.com\/embed\/udpEnJXVWEk?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\">The video isn&#8217;t really computer science related and I was worried it might flop with my audience. I was also a little worried about how it would do since it seems like around 30% of people don&#8217;t experience this illusion. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It seems to have done fine though. However, the most popular aspect seems to be the game of Lights Out that I created using the effect. I kind of wish I&#8217;d lead with that. When constructing the script, I had no idea where to place that part, so I just stuck it at the end.  <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Anyway, if you like it please give it a like or a hype! It definitely helps with the algorithm. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Chromostereopsis is an optical illusion most people experience where red appears closer than blue. Most of the time your brain corrects for it, but you can trigger the effect with certain types of images. I made a game of Lights Out around the illusion, which is a game where you try and turn off all &hellip; <a href=\"https:\/\/patorjk.com\/blog\/2026\/03\/20\/chromostereopsis\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Chromostereopsis<\/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":[26,56],"tags":[],"class_list":["post-3836","post","type-post","status-publish","format-standard","hentry","category-web-apps","category-youtube"],"_links":{"self":[{"href":"https:\/\/patorjk.com\/blog\/wp-json\/wp\/v2\/posts\/3836","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=3836"}],"version-history":[{"count":1,"href":"https:\/\/patorjk.com\/blog\/wp-json\/wp\/v2\/posts\/3836\/revisions"}],"predecessor-version":[{"id":3839,"href":"https:\/\/patorjk.com\/blog\/wp-json\/wp\/v2\/posts\/3836\/revisions\/3839"}],"wp:attachment":[{"href":"https:\/\/patorjk.com\/blog\/wp-json\/wp\/v2\/media?parent=3836"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/patorjk.com\/blog\/wp-json\/wp\/v2\/categories?post=3836"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/patorjk.com\/blog\/wp-json\/wp\/v2\/tags?post=3836"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}