From b56e1cc3aaad037a19e99186c59daa46486c00db Mon Sep 17 00:00:00 2001 From: Josh de Leeuw Date: Wed, 12 Feb 2014 17:46:41 -0500 Subject: [PATCH] adding parameter list to header doc --- plugins/jspsych-vsl-animate-occlusion.js | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/plugins/jspsych-vsl-animate-occlusion.js b/plugins/jspsych-vsl-animate-occlusion.js index 58f2cdfa..54c5a06f 100644 --- a/plugins/jspsych-vsl-animate-occlusion.js +++ b/plugins/jspsych-vsl-animate-occlusion.js @@ -11,7 +11,15 @@ * REQUIRES rapaheljs (www.raphaeljs.com) * * parameters: - * + * stimuli: array of paths to images. will be shown in the order declared in array + * timing_cycle: how long for an image to complete an animation cycle + * canvas_size: array [width, height] - how big to draw the area + * image_size: array [width, height] - how big to draw the stimuli + * initial_direction: "left" or "right" - which way to move the first image + * occlude_center: if true, draw a rectangle in the center to occlude the swaps between images + * timing_pre_movement: how long to wait before the first image starts moving + * timing_post_trial: how long to show blank screen after trial + * data: the optional data object * */