LaTeX templates and examples — Optical Illusions
If you don't quite believe your eyes, you're not the only one! Yes, LaTeX can be used to create (and recreate) a huge variety of optical illusions, such as those shown in the examples below. Many make use of the excellent TikZ drawing package, and if you're looking for further inspiration you can find other TikZ examples in the gallery at TeXample.net.
Recent

A tikz tribute to Monument Valley (the game by ustwogames) and Escher's impossible architecture with the Penrose triangle.

Optical illusion: Do you look from the cylinder from the right or from the left?

A variant and a combination of Hering's and Zöllner's illusion. The red grid is completely straight all the time. Submitted as an answer to the Showcase of Optical Illusions question on TeX SX. Click the Illusions tag below to see more!

The perpendicular lines that do not match row to row create an illusion of the lines between them being not parallel. Submitted as an answer to the Showcase of Optical Illusions question on TeX SX. Click the Illusions tag below to see more!

Submitted as an answer to the Showcase of Optical Illusions question on TeX SX. Click the Illusions tag below to see more!

Submitted as an answer to the Showcase of Optical Illusions question on TeX SX. Click the Illusions tag below to see more!

A drawing in TikZ. The first picture draws an impossible brick, which induces an optical illusion similar to that triggered by Escher's impossible cube. The second picture draws a Penrose triangle, another similar optical illusion.

Submitted as an answer to the Showcase of Optical Illusions question on TeX SX. Click the Illusions tag below to see more!
\begin
Discover why 18 million people worldwide trust Overleaf with their work.