The following Matlab function generates the visualizations of gaze target sequences used in:
Rothkopf, C. A., Ballard, D. H., & Hayhoe, M. M. (2007). Task and context determine where you look. Journal of vision, 7(14), 16-16.
The article can be found online at the Journal of Vision:
https://doi.org/10.1167/7.14.16
The idea is to generate a visualization that is a two-dmensional image from the three-dimensional image cube of a sequence of gaze targets. The two spatial dimensions are reduced to a single dimension, the vertical direction, by spiraling outward from the gaze target. The horizontal dimension corresponds to time.
Figure 2 of the orignal paper was obtained using the Matlab function spiral_map.m.