This plugin displays a Random Dot Kinematogram (RDK) and allows the participant to report the primary direction of motion by pressing a key on the keyboard. The stimulus can be displayed until a keyboard response is given or until a certain duration of time has passed. The RDK is fully customizable (see documentation below) and can display multiple apertures at the same time, each with its own parameters.
<script src="https://unpkg.com/@jspsych-contrib/plugin-rdk@2.0.0"></script>
npm install @jspsych-contrib/plugin-rdk
import jsPsychRdk from '@jspsych-contrib/plugin-rdk';
jsPsych v8.0. For compatibility with jsPsych v7.0, use version 1.1.0 of this plugin.
See documentation
Created by Sivananda Rajananda, Hakwan Lau, and Brian Odegaard. Modified by the jsPsych core team for 7.0 compatibility.
We would appreciate it if you cited this paper when you use the RDK plugin.
Rajananda, S., Lau, H. & Odegaard, B., (2018). A Random-Dot Kinematogram for Web-Based Vision Research. Journal of Open Research Software. 6(1), p.6. doi:10.5334/jors.194