Demonstrates PresentStreamOfImages: a high-precision RSVP (Rapid Serial Visual Presentation) loop that presents PNG images frame-by-frame, VSYNC-locked, with sub-millisecond timing accuracy.
Timing logs are written to verify that actual onset and offset times match the requested durations.
sudo apt install libsdl3-dev on Ubuntu/Debian)go run main.go
Data are saved to goxpy_data/ as a .xpd file (CSV with a metadata header):
| Column | Description |
|---|---|
image_index |
Position in the stream |
filename |
Image filename |
target_on_ms |
Requested onset time (ms) |
actual_onset_ms |
Measured onset time (ms) |
actual_offset_ms |
Measured offset time (ms) |
This is a technical test for timing verification. It is mainly useful for framework developers.