Displays a random-dot stereogram (RDS) — a pair of dot patterns that, when fused binocularly (by crossing or diverging the eyes), reveals a 3-D shape that is invisible in either image alone.
This example demonstrates the stimuli.RandomDotStereogram stimulus type.
sudo apt install libsdl3-dev on Ubuntu/Debian)# Fullscreen
go run main.go
# Windowed (development / testing)
go run main.go -d
| Flag | Default | Description |
|---|---|---|
-d |
off | Development mode: windowed 1024×768 |
Place the screen at a comfortable distance. Relax your eyes as if looking through the screen (diverge) or cross them slightly until the two dot patterns merge into one. A shape will appear to float in front of or behind the background.
This is a demonstration. No data file is written.