Releases: kurokida/jspsych-psychophysics
Bug fix concerning the text_stimulus class
Bug Fix
Fixed the problem the text content is not vertically aligned when the line feed (\n) is used.
Masking and filtering images
New feature
You can apply masking/filtering to image files.
This version is compatible with jsPsych 6.3.0. Note that the way to preload image and audio files has been changed.
Implementation of gabor patches
v2.0 is released.
The code has been rewritten based on the object-oriented programming.
The stepFunc has been deprecated. Please use the raf_func instead.
The code 'jsPsych.currentTrial().stimuli' must be changed to the code jsPsych.currentTrial().stim_array
jsPsych v6.2.0 is supported.
v1.4.2 is released
Bug fix
Fixed a bug which occured when the use_webaudio property was false.
New feature
Added the trial_ends_after_audio property.
Change attributes
Bug fix
Fixed a bug that causes when the stimuli is not specified.
New feature
You can change the attributes of the object dynamically. See the demos/change_attributes.html.
v1.4 is released
New Features
Button response
Participants’ responses can be captured using buttons in addition to the mouse and keyboard. Set the response_type
property as 'button'.
Event handlers
You can specify the mouse/keyboard event handler. For example, you can make a program in which a participant change the luminance of a stimulus pressing the ArrowUp/ArrowDown key, and finish the trial pressing the space key.
clear_canvas property
If true (default), the canvas is cleared every frame. There are not many cases where this should be false, but if you want to draw the trajectory of the mouse, for example, you need to set it false.
Bug is fixed.
This release fixed the issue discussed at jspsych/jsPsych#1031
The problem had been occurred when the stimulus was used over and over in a same trial.
The origin can be changed to the center of the window
Changes
The origin of the coordinate is the top left of the canvas, but the origin can be changed to the center of the window using the origin_center
property. Please see the demos/origin_center.html
Bug is fixed.
The keyboard Listener is canceled properly.
jsPsych.pluginAPI.cancelKeyboardResponse(keyboardListener);
Below v1.0, it is not canceled properly due to the scope of the keyboardListener variable.