/2015-jspsych-cogsci-tutorial

Content for tutorial on using jspsych at the 2015 Cognitive Science Society meeting

Primary LanguageJavaScript

Programming Online Experiments with jsPsych

Tutorial presented at the 2015 Annual Meeting of the Cognitive Science Society

I'm still updating the content of this repository, so a few things might be missing at the moment

This repository contains materials for the tutorial on jspsych at the 2015 CogSci meeting. The materials are intended to accompany the presentation, but you might find them useful even if you didn't attend the session.

Presentation Slides

The tutorial slides can be viewed on Google Drive.

Repository Contents

hello-world

This folder contains a working copy of the hello-world example from the jsPsych documentation.

lexical-decision

The lexical decision task example. There are three versions of the experiment in this folder.

  • experiment-instructions-only.html contains a truncated version of the experiment with only the instructions trial.
  • experiment.html contains the full version of the experiment as covered in the tutorial.
  • experiment-with-mean-rt.html is an extended version of the experiment that shows how to access data generated by the participant to compute a mean response time for each condition and an overall accuracy score. These values are then displayed to the participant at the end of the experiment.

plugin-development

This folder contains the random-number plugin example and a simple experiment that uses the plugin.

advanced-design-patterns

Working examples of the "advanced design patterns" covered in the tutorial. These are examples that highlight different programming strategies for getting jspsych to do more advanced tasks.

Other helpful links

jsPsych project

github.com/jodeleeuw/jsPsych

jsPsych documentation

docs.jspsych.org

jsPsych support forum

https://groups.google.com/forum/#!forum/jspsych