Psychopy
If you haven't already download the standalone Psychopy application from here:
www.psychopy.org
This download includes Python.
Programs to download
Each program is associated with one of the Chapters in the book
- Kanizsa.py: Kanizsa Square (Ch 4)
KanizsaNoLoop.py - Ponzo.py: Ponzo illusion (Ch 5)
- Delboeuf.py: Delboeuf illusion (Ch 6)
- Ebbinghaus.py: Ebbinghaus illusion (Ch 7)
- CafeWall.py: Münsterberg and Café Wall illusion (Ch 8)
CafeWallExtraFlipping.py - White.py: Brightness contrast and White illusion (Ch 9)
- NeonColourSpreading.py: Neon colour spreading (Ch 10)
- Honeycomb.py: Honeycomb illusion (Ch 11)
- BreathingSquare.py: Breathing square illusion (Ch 12)
BreathingSquareTexture.py - SteppingFeet.py: Stepping feet illusion (Ch 13)
- Lilac.py: Lilac Chaser illusion (Ch 14)
- HMO.py: Hierarchical motion organisation (Ch 15)
HMOface.py
HMOfunction.py - KanizsaDialog.py: Kanizsa Square with example of dialog box (Ch 16)
Example image: marco.png
The programs were written and tested in PsychoPy v1.84.02. This is what is described in the book. However I have now tested all programs with PsychoPy v1.85.2 (more recent version) and everything works fine, without any change needed.