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

dc.contributor.authorGaraizar, Pablo
dc.contributor.authorReips, Ulf-Dietrich
dc.date.accessioned2019-06-19T08:50:48Z
dc.date.available2019-06-19T08:50:48Z
dc.date.issued2019-06eng
dc.description.abstractThe 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).eng
dc.description.versionpublishedeng
dc.identifier.doi10.3758/s13428-018-1126-4eng
dc.identifier.pmid30276629eng
dc.identifier.ppn1698262086
dc.identifier.urihttps://kops.uni-konstanz.de/handle/123456789/46046
dc.language.isoengeng
dc.rightsterms-of-use
dc.rights.urihttps://rightsstatements.org/page/InC/1.0/
dc.subjectWeb animations, Experimental software, High-resolution timing, iScience, Browsereng
dc.subject.ddc150eng
dc.titleBest practices : Two Web-browser-based methods for stimulus presentation in behavioral experiments with high-resolution timing requirementseng
dc.typeJOURNAL_ARTICLEeng
dspace.entity.typePublication
kops.citation.bibtex
@article{Garaizar2019-06pract-46046,
  year={2019},
  doi={10.3758/s13428-018-1126-4},
  title={Best practices : Two Web-browser-based methods for stimulus presentation in behavioral experiments with high-resolution timing requirements},
  number={3},
  volume={51},
  issn={1554-351X},
  journal={Behavior Research Methods},
  pages={1441--1453},
  author={Garaizar, Pablo and Reips, Ulf-Dietrich}
}
kops.citation.iso690GARAIZAR, Pablo, Ulf-Dietrich REIPS, 2019. Best practices : Two Web-browser-based methods for stimulus presentation in behavioral experiments with high-resolution timing requirements. In: Behavior Research Methods. 2019, 51(3), pp. 1441-1453. ISSN 1554-351X. eISSN 1554-3528. Available under: doi: 10.3758/s13428-018-1126-4deu
kops.citation.iso690GARAIZAR, Pablo, Ulf-Dietrich REIPS, 2019. Best practices : Two Web-browser-based methods for stimulus presentation in behavioral experiments with high-resolution timing requirements. In: Behavior Research Methods. 2019, 51(3), pp. 1441-1453. ISSN 1554-351X. eISSN 1554-3528. Available under: doi: 10.3758/s13428-018-1126-4eng
kops.citation.rdf
<rdf:RDF
    xmlns:dcterms="http://purl.org/dc/terms/"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:bibo="http://purl.org/ontology/bibo/"
    xmlns:dspace="http://digital-repositories.org/ontologies/dspace/0.1.0#"
    xmlns:foaf="http://xmlns.com/foaf/0.1/"
    xmlns:void="http://rdfs.org/ns/void#"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema#" > 
  <rdf:Description rdf:about="https://kops.uni-konstanz.de/server/rdf/resource/123456789/46046">
    <dcterms:abstract xml:lang="eng">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).</dcterms:abstract>
    <dc:rights>terms-of-use</dc:rights>
    <dcterms:rights rdf:resource="https://rightsstatements.org/page/InC/1.0/"/>
    <dspace:isPartOfCollection rdf:resource="https://kops.uni-konstanz.de/server/rdf/resource/123456789/43"/>
    <dc:language>eng</dc:language>
    <dcterms:available rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime">2019-06-19T08:50:48Z</dcterms:available>
    <bibo:uri rdf:resource="https://kops.uni-konstanz.de/handle/123456789/46046"/>
    <dc:creator>Reips, Ulf-Dietrich</dc:creator>
    <dcterms:isPartOf rdf:resource="https://kops.uni-konstanz.de/server/rdf/resource/123456789/43"/>
    <void:sparqlEndpoint rdf:resource="http://localhost/fuseki/dspace/sparql"/>
    <dcterms:hasPart rdf:resource="https://kops.uni-konstanz.de/bitstream/123456789/46046/1/Garaizar_2-5i1fwmub8rem3.pdf"/>
    <dc:contributor>Reips, Ulf-Dietrich</dc:contributor>
    <dc:creator>Garaizar, Pablo</dc:creator>
    <dc:date rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime">2019-06-19T08:50:48Z</dc:date>
    <foaf:homepage rdf:resource="http://localhost:8080/"/>
    <dc:contributor>Garaizar, Pablo</dc:contributor>
    <dcterms:title>Best practices : Two Web-browser-based methods for stimulus presentation in behavioral experiments with high-resolution timing requirements</dcterms:title>
    <dspace:hasBitstream rdf:resource="https://kops.uni-konstanz.de/bitstream/123456789/46046/1/Garaizar_2-5i1fwmub8rem3.pdf"/>
    <dcterms:issued>2019-06</dcterms:issued>
  </rdf:Description>
</rdf:RDF>
kops.description.openAccessopenaccessgreen
kops.flag.isPeerReviewedtrueeng
kops.flag.knbibliographytrue
kops.identifier.nbnurn:nbn:de:bsz:352-2-5i1fwmub8rem3
kops.sourcefieldBehavior Research Methods. 2019, <b>51</b>(3), pp. 1441-1453. ISSN 1554-351X. eISSN 1554-3528. Available under: doi: 10.3758/s13428-018-1126-4deu
kops.sourcefield.plainBehavior Research Methods. 2019, 51(3), pp. 1441-1453. ISSN 1554-351X. eISSN 1554-3528. Available under: doi: 10.3758/s13428-018-1126-4deu
kops.sourcefield.plainBehavior Research Methods. 2019, 51(3), pp. 1441-1453. ISSN 1554-351X. eISSN 1554-3528. Available under: doi: 10.3758/s13428-018-1126-4eng
relation.isAuthorOfPublication10de7423-bec5-4bea-99c1-dff3e543da0b
relation.isAuthorOfPublication.latestForDiscovery10de7423-bec5-4bea-99c1-dff3e543da0b
source.bibliographicInfo.fromPage1441eng
source.bibliographicInfo.issue3eng
source.bibliographicInfo.toPage1453eng
source.bibliographicInfo.volume51eng
source.identifier.eissn1554-3528eng
source.identifier.issn1554-351Xeng
source.periodicalTitleBehavior Research Methodseng

Dateien

Originalbündel

Gerade angezeigt 1 - 1 von 1
Vorschaubild nicht verfügbar
Name:
Garaizar_2-5i1fwmub8rem3.pdf
Größe:
192.99 KB
Format:
Adobe Portable Document Format
Beschreibung:
Garaizar_2-5i1fwmub8rem3.pdf
Garaizar_2-5i1fwmub8rem3.pdfGröße: 192.99 KBDownloads: 394