Contents

Contents

The Circle Illusion: The Perceptual Phenomenon of Size Around a Central Circle

Contents

This article discusses the circle illusion, where two identical central circles appear different in size due to surrounding visual context. Built with LaTeX TikZ, this article provides a complete explanation of the code structure and perceptual science behind it.


In the realm of visual perception, the human brain often processes size relatively rather than absolutely. One of the most well-known examples of this is the Ebbinghaus Illusion, or Circle Illusion, in which two identical circles appear to be of different sizes due to the surrounding shapes. This article demonstrates the phenomenon using LaTeX TikZ, providing a detailed explanation of each code component and the scientific concept behind it.

Below is the complete LaTeX code to generate two orange central circles that appear different in size due to variations in the surrounding blue circles.

\documentclass{standalone}

\usepackage{tikz}

\begin{document}
\begin{tikzpicture}[baseline=(X.base)]
    \node[circle,fill=orange,draw=orange,minimum size=2cm] (X) at (0,0) {};
    \foreach \i in {0,60,...,330}{
        \filldraw[blue!50!white]  (\i:3.4) circle (1.6);}
\end{tikzpicture}
\hspace{1cm}
\begin{tikzpicture}[baseline=(X.base)]
    \node[circle,fill=orange,draw=orange,minimum size=2cm] (X) at (0,0) {};
    \foreach \i in {0,45,...,360}{
        \filldraw[blue!50!white]  (\i:1.5)  circle (.4);}
\end{tikzpicture}
\end{document}

The output produced:

ilusi
Orange circles are the same size or different

\documentclass{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[baseline=(X.base)]
\node[circle,fill=orange,draw=orange,minimum size=2cm] (X) at (0,0) {};
  • Creates a 2 cm diameter orange circle at the coordinate (0,0).
  • (X) labels the node for reference.
  • Acts as the central reference circle for the illusion.

\foreach \i in {0,60,...,330}{
    \filldraw[blue!50!white] (\i:3.4) circle (1.6);}
  • Draws six large blue circles spaced 60° apart.
  • Each is 3.4 cm away from the center and has a radius of 1.6 cm.
  • Color: a 50% mix of blue and white for visual softness. Result: The orange center appears smaller due to large outer circles.

\hspace{1cm}
\begin{tikzpicture}[baseline=(X.base)]
\node[circle,fill=orange,draw=orange,minimum size=2cm] (X) at (0,0) {};
\foreach \i in {0,45,...,360}{
    \filldraw[blue!50!white]  (\i:1.5)  circle (.4);}
  • Draws eight small blue circles, each spaced 45° apart.
  • Each is 1.5 cm from the center and has a radius of only 0.4 cm. Result: The central orange circle now appears larger.

\end{document}
FigureSurrounding Circle SizeDistance from CenterPerceived Effect
LeftLarge (1.6 cm radius)3.4 cmCentral circle looks smaller
RightSmall (0.4 cm radius)1.5 cmCentral circle looks larger
Even though both orange circles are identical, the brain interprets size contextually, not absolutely.

  1. Contextual Comparison — The brain interprets object size relative to surrounding objects.
  2. Visual Normalization — Perceptual systems normalize differences to simplify spatial processing.
  3. Environmental Cues — Large surroundings shrink perception; small surroundings enlarge it.

Modify the following parameters in the TikZ code to explore different effects:

ParameterPurposeVisual Effect
3.4 / 1.5Distance from centerChanges overall spacing
1.6 / 0.4Surrounding circle sizeStrengthens or weakens illusion
ColorChange blue!50!whiteAlters color contrast and depth
Circle countChange 60° / 45° stepsAffects density and symmetry
Example variation:
\foreach \i in {0,30,...,330}{
    \filldraw[green!40!white] (\i:2.5) circle (.8);}

The circle illusion bridges psychology, geometry, and art. It provides valuable insights and applications in:

  • Cognitive psychology — understanding size perception and context.
  • Design & UI/UX — using space and contrast for visual emphasis.
  • Mathematical art — visualizing relationships between symmetry and illusion.

  1. Ebbinghaus, H. (1897). Über eine neue Methode zur Prüfung geistiger Fähigkeiten und ihre Anwendung bei Schulkindern.
  2. Coren, S., & Girgus, J. S. (1978). Seeing is Deceiving: The Psychology of Visual Illusions. Lawrence Erlbaum.
  3. Gregory, R. L. (1997). Eye and Brain: The Psychology of Seeing. Oxford University Press.
  4. PGF/TikZ Manual, Version 3.1.10 (2023).

Written by: Aan Triono License: CC BY-SA 4.0

Related Content