Shamay / dotmotion

Princeton University, Cohen Lab, Javascript implementation of dotmotion task

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dot-motion

jsPsych-based implementation of the Dot Motion task. It integrates with psiTurk to interface with Amazon Mechanical Turk.

This document thoroughly describes the motivation and thinking behind the experiment.

Key files:

  • template/exp.html - this is the html file that is launched, contains references to all the scripts and modules used.
  • static/js/task.js - this is the jsPsych script file that details the experimental flow.
  • static/js/jspsych-6.0.5/plugins/jspsych-RDK.js - custom RDK plugin to support cued task-switching.

Tutorials

The jsPsych website is an excellent resource for getting started on experimental design and to understand this code better.

The psiTurk website is an excellent resource for getting started on interfacing jsPsych experiments with Amazon MTurk.

We model our file structure after this example experiment that demonstrates how to use the jsPsych library with psiTurk.

About

Princeton University, Cohen Lab, Javascript implementation of dotmotion task


Languages

Language:JavaScript 80.2%Language:HTML 18.7%Language:CSS 0.6%Language:Python 0.5%Language:Procfile 0.0%