Contents

Contents

White Dot Illusion: Perceptual Contrast in a Dark Grid Pattern

Contents

This article discusses the visual illusion of white dots appearing in a dark grid pattern, where the brain creates contrast perceptions that are not physically present. Built using LaTeX PSTricks, it provides a complete explanation of the code structure and the perceptual mechanisms behind it.


Note
Note: This article was generated with the help of AI technology and has been manually reviewed to ensure accuracy and clarity.

Optical illusions reveal how the human brain interprets visual information beyond mere physical reality. One fascinating example is the Hermann Grid Illusion, also known as the White Dot Illusion, where white or gray dots appear and disappear at the intersections of dark grid lines. This phenomenon occurs due to lateral inhibition in the retina — a neural mechanism that enhances contrast but also leads to perceptual distortions. In this article, we recreate this effect using LaTeX PSTricks and explain the structure of the code along with the underlying perceptual science.

Below is the complete LaTeX source used to visualize the illusion:

\documentclass[pstricks,border=12pt]{standalone}
\newpsstyle{gridstyle}
{
    gridlabels=0,
    gridwidth=6pt,
    subgriddiv=1,
    gridcolor=gray,
}
\begin{document}
\begin{pspicture}(8,8)
    \psframe*(8,8)
    \psgrid[style=gridstyle]
    \psset{linecolor=white}
    \multips(0,1)(0,1){7}{\multips(1,0)(1,0){7}{\qdisk(0,0){4.242pt}}}
\end{pspicture}
\end{document}

The output produced:

ilusi titik
White Dot Illusion

\documentclass[pstricks,border=12pt]{standalone}
\newpsstyle{gridstyle}
{
    gridlabels=0,
    gridwidth=6pt,
    subgriddiv=1,
    gridcolor=gray,
}

Defines a new drawing style named gridstyle:

  • gridlabels=0 disables coordinate labels.
  • gridwidth=6pt sets grid line thickness.
  • gridcolor=gray colors the grid lines gray.
  • subgriddiv=1 ensures no subgrid divisions are drawn.

\begin{pspicture}(8,8)
\psframe*(8,8)
\psgrid[style=gridstyle]
  • \psframe*(8,8) draws a solid black square background.
  • \psgrid[style=gridstyle] overlays a gray grid on top of the background using the defined style.

\psset{linecolor=white}
\multips(0,1)(0,1){7}{\multips(1,0)(1,0){7}{\qdisk(0,0){4.242pt}}}

Draws the pattern of white dots forming the grid illusion:

  • The first \multips repeats the inner pattern vertically 7 times.
  • The inner \multips repeats horizontally 7 times per row.
  • \qdisk(0,0){4.242pt} draws a small white circular dot of radius ≈ 4.24pt at each grid intersection.

\end{pspicture}
\end{document}
ObservationNeural Explanation
Dots vanish at intersectionsLateral inhibition reduces local contrast
Dots reappear when stared at directlyFocused vision minimizes surround inhibition

You can adjust the parameters in the code to explore perceptual effects:

ParameterPurposeVisual Effect
gridwidthGrid line thicknessAlters strength of illusion
gridcolorGrid colorAffects contrast intensity
Dot size (\qdisk)Controls dot visibilityLarger dots reduce illusion
Number of repetitionsChanges grid densityMore intersections strengthen illusion
Example modification:
\psgrid[style=gridstyle,gridcolor=lightgray]
\qdisk(0,0){3pt}

The Hermann Grid Illusion bridges visual neuroscience, mathematics, and art. It demonstrates how simple geometry can expose deep insights into human perception. Applications include:

  • Cognitive psychology — studying spatial inhibition and lightness perception.
  • Visual design — understanding how contrast guides attention.
  • Mathematical art — turning perceptual science into geometric beauty.

  1. Hermann, L. (1870). Eine Erscheinung simultanen Contrastes. Pflügers Archiv für die gesamte Physiologie.
  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. PSTricks User Manual, Version 3.1.8 (2023).

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

Related Content