goxpyriment

Kanizsa Illusory Square (goxpyriment)

This example reproduces the classic Kanizsa square illusion: four “pacman” disks on a uniform background with a central square mask that induces the perception of an illusory contour.

Usage

From the repository root:

cd examples/kanizsa-square
go run . -d

Flags

Example:

go run . -d -r 60 -w 250

Behavior