2.0.0 • Published 8 months ago

@jspsych-contrib/plugin-vsl-animate-occlusion v2.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

vsl-animate-occlusion plugin

Overview

The VSL (visual statistical learning) animate occlusion plugin displays an animated sequence of shapes that disappear behind an occluding rectangle while they change from one shape to another. This plugin can be used to replicate the experiments described in:

Fiser, J., & Aslin, R. N. (2002). Statistical learning of higher-order temporal structure from visual shape sequences. Journal of Experimental Psychology: Learning, Memory, and Cognition, 28(3), 458.

Loading

In browser

<script src="https://unpkg.com/snapsvg@0.5.1/dist/snap.svg-min.js"></script>
<script src="https://unpkg.com/@jspsych-contrib/plugin-vsl-animate-occlusion@2.0.0"></script>

Via NPM

npm install @jspsych-contrib/plugin-vsl-animate-occlusion
import jsPsychVslAnimateOcclusion from '@jspsych-contrib/plugin-vsl-animate-occlusion';

Compatibility

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

Documentation

See documentation

Author / Citation

This plugin was created as part of the core jsPsych codebase, but moved to jspsych-contrib because of its specialized nature. There is no additional citation for its use.