Releases: kurokida/jspsych-psychophysics
V3.7.0 verified accuracy
This version was used to verify accuracy. According to my observation, presentation times should be specified in terms of frames not milliseconds, and the use of Firefox should be avoided for experiments with brief presentation times of less than 50 ms/3 frames.
Changes
Add new properties "pixi_angle" and "pixi_rotation" to the text object
New demo program
pixi_mental_rotation.html This uses PixiJS library to rotate the stimulus charactor.
NPM package
Thanks to @bjoluc, the jspsych-psychophysics plugin supports the NPM package from this version.
New demo
change_image_size_by_keypress.html
change_image_size_by_keypress2.html
Changes
The default method to calculate the gaussian filter is the 'numeric' library, but you can select the 'ml-matrix' library instead. The 'math' library is no longer supported since this version. See the help of the method at https://jspsychophysics.hes.kyushu-u.ac.jp/objectProperties/#obj_type-gabor.
Version 3.5.0
Compatible with jsPsych 7.3.1
New features related to Pixi.js
- Image rotation See demos/pixi_scale_rotate.html
- Masks and Filters See pixi_image_mask_filters.html
New features related to Canvas
- The remain_canvas property. If this is true, the main canvas remains for the next trial. This is useful to present complex stimuli using multiple psychophysics objects. Note that this property doesn’t work in the Pixi mode.
Compatible with jsPsych 7.3.0
This release is compatible with jsPsych 7.3.0, and includes the jsPsych library.
Simulation modes are supported
New features
The plugin supports simulation modes
See the following demos
Changes
The response property has a proper value when a button is clicked as a response.
See help on data generated.
Compatibility with jsPsych
The plugin includes jsPsych version 7.2.1.
PixiJS is supported
Version 3.1.0
New properties
The image width/height can be specified in pixels.
See https://jspsychophysics.hes.kyushu-u.ac.jp/objectProperties/#obj_type-image
The contrastPreMultiplicator property is added.
See https://jspsychophysics.hes.kyushu-u.ac.jp/objectProperties/#obj_type-gabor and CreateProceduralGabor.
Compatible with jsPsych V7.
This release is now compatible with jsPsych V7.
This release includes jsPsych 7.1.2.
Note for users of previous versions.
At first, please see Migrating an experiment to v7.x
- Write
const jsPsych = initJsPsych({})
at the begging of the script. - Write
type: jsPsychPsychophysics
in a trial object. - Pass the trial object as an argument as follows
jsPsych.run([instruction, trial])
Support for retina display
In higher resolution displays, such as retina displays, stimuli are now presented more clearly.
See jspsych/jsPsych#2097
Bug fix concerning the compatibility with the fullscreen plugin.
Fixed the canvas to be fullscreen when using the fullscreen plugin.
With this change, the canvas_offsetX and canvas_offsetY properties have been added.