A Python desktop application that generates and displays Gabor patches in a grid-based matching game. The project demonstrates how to procedurally generate parametric visual stimuli and embed them in an interactive GUI using Tkinter, NumPy, and Matplotlib.
- Procedural generation of Gabor patches
- Multiple difficulty levels with different stimulus parameter ranges
- Configurable grid sizes
- Full-screen, resolution-adaptive UI
- Memory-style matching gameplay
- Real-time score and timer tracking
- Colormap selection for visual customization
- Python 3.8+
- Python packages
pip install numpy matplotlib opencv-python pillow(tkinter is included with most standard Python installations.)
From the project directory:
python gabor_game.py
The application launches in full-screen mode and begins at the start menu.
- Start Screen
- Select color map
- Select grid size
- Select difficulty
- Start the game
- Game Screen
- Gabor patches are displayed in a grid
- Click two patches to attempt a match
- Matches increase score; mismatches decrease score
- Timer runs continuously
- End Screen
- Displays final score and total time
- Option to restart the game