As a not quite middle aged dude, I only just now figured out how to see magic eye stuff. I tried a couple times in elementary school but didn’t get it so I stopped. Had a few drinks earlier, stumbled on some magic eye pic that I could see clear as day and it blew my mind a little

    • ℕ𝕖𝕞𝕠@slrpnk.net
      link
      fedilink
      arrow-up
      3
      ·
      1 day ago

      You need a repeating visual pattern, a fairly busy one. Then you need a greyscale image of what you want the “magic” picture to be. You deform the repeating pattern by the intensity of the greyscale image.

      When your two eyes overlay the background images, your brain highlights the distortions and interprets them as depth… at least if your eyes are good enough to give your brain that information in the first place.

      If you want to know more, the algorithm to do this is public, and you can set it up in eg. javascript in an afternoon.