@jspsych-contrib/plugin-rdk
TypeScript icon, indicating that this package has built-in type declarations

2.0.0 • Public • Published

rdk plugin

Overview

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.

Loading

In browser

<script src="https://unpkg.com/@jspsych-contrib/plugin-rdk@2.0.0"></script>

Via NPM

npm install @jspsych-contrib/plugin-rdk
import jsPsychRdk from '@jspsych-contrib/plugin-rdk';

Compatibility

jsPsych v8.0. For compatibility with jsPsych v7.0, use version 1.1.0 of this plugin.

Documentation

See documentation

Author / Citation

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

Readme

Keywords

none

Package Sidebar

Install

npm i @jspsych-contrib/plugin-rdk

Weekly Downloads

4

Version

2.0.0

License

MIT

Unpacked Size

535 kB

Total Files

13

Last publish

Collaborators

  • bjoluc
  • jodeleeuw