MouseView.js: Reliable and valid attention tracking in web-based experiments using a cursor-directed aperture
- PMID: 34590288
- PMCID: PMC8480466
- DOI: 10.3758/s13428-021-01703-5
MouseView.js: Reliable and valid attention tracking in web-based experiments using a cursor-directed aperture
Abstract
Psychological research is increasingly moving online, where web-based studies allow for data collection at scale. Behavioural researchers are well supported by existing tools for participant recruitment, and for building and running experiments with decent timing. However, not all techniques are portable to the Internet: While eye tracking works in tightly controlled lab conditions, webcam-based eye tracking suffers from high attrition and poorer quality due to basic limitations like webcam availability, poor image quality, and reflections on glasses and the cornea. Here we present MouseView.js, an alternative to eye tracking that can be employed in web-based research. Inspired by the visual system, MouseView.js blurs the display to mimic peripheral vision, but allows participants to move a sharp aperture that is roughly the size of the fovea. Like eye gaze, the aperture can be directed to fixate on stimuli of interest. We validated MouseView.js in an online replication (N = 165) of an established free viewing task (N = 83 existing eye-tracking datasets), and in an in-lab direct comparison with eye tracking in the same participants (N = 50). Mouseview.js proved as reliable as gaze, and produced the same pattern of dwell time results. In addition, dwell time differences from MouseView.js and from eye tracking correlated highly, and related to self-report measures in similar ways. The tool is open-source, implemented in JavaScript, and usable as a standalone library, or within Gorilla, jsPsych, and PsychoJS. In sum, MouseView.js is a freely available instrument for attention-tracking that is both reliable and valid, and that can replace eye tracking in certain web-based psychological experiments.
Keywords: Attention; JavaScript; cyberpsychology; eye tracking; online experiments; open-source.
© 2021. The Author(s).
Conflict of interest statement
All authors would benefit from the publication of this manuscript in the sense that it would increase their competitiveness for academic jobs and grants. Author Anwyl-Irvine was previously under part-time employment at Cauldron. This company maintains the Gorilla experiment builder, and can potentially stand to gain from the open-source software presented in this manuscript. It should be noted that this benefit exists for every company that operates within the same industry, as the software presented in this manuscript is released under the MIT license, and therefore freely available for commercial use, modification, and distribution.
Figures
References
-
- Armstrong, T., Stewart, J. G., Dalmaijer, E. S., Rowe, M., Danielson, S., Engel, M., Bailey, B., & Morris, M. (2020). I’ve seen enough! Prolonged and repeated exposure to disgusting stimuli increases oculomotor avoidance. Emotion. 10.1037/emo0000919 - PubMed
Publication types
MeSH terms
Grants and funding
LinkOut - more resources
Full Text Sources
Miscellaneous
