Psychophysics in a Web Browser? Comparing Response Times Collected with JavaScript and Psychophysics Toolbox in a Visual Search Task
Overview
Authors
Affiliations
Behavioral researchers are increasingly using Web-based software such as JavaScript to conduct response time experiments. Although there has been some research on the accuracy and reliability of response time measurements collected using JavaScript, it remains unclear how well this method performs relative to standard laboratory software in psychologically relevant experimental manipulations. Here we present results from a visual search experiment in which we measured response time distributions with both Psychophysics Toolbox (PTB) and JavaScript. We developed a methodology that allowed us to simultaneously run the visual search experiment with both systems, interleaving trials between two independent computers, thus minimizing the effects of factors other than the experimental software. The response times measured by JavaScript were approximately 25 ms longer than those measured by PTB. However, we found no reliable difference in the variability of the distributions related to the software, and both software packages were equally sensitive to changes in the response times as a result of the experimental manipulations. We concluded that JavaScript is a suitable tool for measuring response times in behavioral research.
Validation of an online imitation-inhibition task.
Westfal M, Cracco E, Crusius J, Genschow O Behav Res Methods. 2025; 57(2):80.
PMID: 39884989 PMC: 11782408. DOI: 10.3758/s13428-024-02557-3.
Emotional distress and affective knowledge representation one year after the COVID-19 outbreak.
Barca L, Iodice P, Chaigneau A, Lancia G, Pezzulo G PLoS One. 2025; 20(1):e0311009.
PMID: 39823503 PMC: 11741616. DOI: 10.1371/journal.pone.0311009.
Hattab M, Adas N, Ayyoub A, Abualkibash S, Asmar M, Daoud A PLoS One. 2025; 20(1):e0310762.
PMID: 39820798 PMC: 11737765. DOI: 10.1371/journal.pone.0310762.
What do we see behind an occluder? Amodal completion of statistical properties in complex objects.
Cherian T, Arun S Atten Percept Psychophys. 2024; 86(8):2721-2739.
PMID: 39461932 DOI: 10.3758/s13414-024-02948-w.
A jsPsych touchscreen extension for behavioral research on touch-enabled interfaces.
Strittmatter Y, Spitzer M, Ging-Jehli N, Musslick S Behav Res Methods. 2024; 56(7):7814-7830.
PMID: 38995520 PMC: 11549123. DOI: 10.3758/s13428-024-02454-9.