Literature DB >> 30276629

Best practices: Two Web-browser-based methods for stimulus presentation in behavioral experiments with high-resolution timing requirements.

Pablo Garaizar1, Ulf-Dietrich Reips2.   

Abstract

The Web is a prominent platform for behavioral experiments, for many reasons (relative simplicity, ubiquity, and accessibility, among others). Over the last few years, many behavioral and social scientists have conducted Internet-based experiments using standard web technologies, both in native JavaScript and using research-oriented frameworks. At the same time, vendors of widely used web browsers have been working hard to improve the performance of their software. However, the goals of browser vendors do not always coincide with behavioral researchers' needs. Whereas vendors want high-performance browsers to respond almost instantly and to trade off accuracy for speed, researchers have the opposite trade-off goal, wanting their browser-based experiments to exactly match the experimental design and procedure. In this article, we review and test some of the best practices suggested by web-browser vendors, based on the features provided by new web standards, in order to optimize animations for browser-based behavioral experiments with high-resolution timing requirements. Using specialized hardware, we conducted four studies to determine the accuracy and precision of two different methods. The results using CSS animations in web browsers (Method 1) with GPU acceleration turned off showed biases that depend on the combination of browser and operating system. The results of tests on the latest versions of GPU-accelerated web browsers showed no frame loss in CSS animations. The same happened in many, but not all, of the tests conducted using requestAnimationFrame (Method 2) instead of CSS animations. Unbeknownst to many researchers, vendors of web browsers implement complex technologies that result in reduced quality of timing. Therefore, behavioral researchers interested in timing-dependent procedures should be cautious when developing browser-based experiments and should test the accuracy and precision of the whole experimental setup (web application, web browser, operating system, and hardware).

Keywords:  Browser; Experimental software; High-resolution timing; Web animations; iScience

Mesh:

Year:  2019        PMID: 30276629     DOI: 10.3758/s13428-018-1126-4

Source DB:  PubMed          Journal:  Behav Res Methods        ISSN: 1554-351X


  9 in total

1.  A new jsPsych plugin for psychophysics, providing accurate display duration and stimulus onset asynchrony.

Authors:  Daiichiro Kuroki
Journal:  Behav Res Methods       Date:  2021-02

2.  Precise display time measurement in JavaScript for web-based experiments.

Authors:  Gáspár Lukács; Andreas Gartus
Journal:  Behav Res Methods       Date:  2022-05-17

3.  Can we measure individual differences in cognitive measures reliably via smartphones? A comparison of the flanker effect across device types and samples.

Authors:  Thomas Pronk; Rebecca J Hirst; Reinout W Wiers; Jaap M J Murre
Journal:  Behav Res Methods       Date:  2022-06-16

4.  Running Online Behavioral Experiments Using R: Implementation of a Response-Time Decision Making Task as an R-Shiny App.

Authors:  Agustín Perez Santangelo; Guillermo Solovey
Journal:  J Cogn       Date:  2022-01-07

5.  Empirica: a virtual lab for high-throughput macro-level experiments.

Authors:  Abdullah Almaatouq; Joshua Becker; James P Houghton; Nicolas Paton; Duncan J Watts; Mark E Whiting
Journal:  Behav Res Methods       Date:  2021-03-29

6.  Mental chronometry in the pocket? Timing accuracy of web applications on touchscreen and keyboard devices.

Authors:  Thomas Pronk; Reinout W Wiers; Bert Molenkamp; Jaap Murre
Journal:  Behav Res Methods       Date:  2020-06

7.  Conceptual fluency in inductive reasoning.

Authors:  Michael Dantlgraber; Tim Kuhlmann; Ulf-Dietrich Reips
Journal:  PLoS One       Date:  2019-11-21       Impact factor: 3.240

8.  A new type of pictorial database: The Bicolor Affective Silhouettes and Shapes (BASS).

Authors:  Claudia Kawai; Gáspár Lukács; Ulrich Ansorge
Journal:  Behav Res Methods       Date:  2021-05-07

9.  Realistic precision and accuracy of online experiment platforms, web browsers, and devices.

Authors:  Alexander Anwyl-Irvine; Edwin S Dalmaijer; Nick Hodges; Jo K Evershed
Journal:  Behav Res Methods       Date:  2020-11-02
  9 in total

北京卡尤迪生物科技股份有限公司 © 2022-2023.