Skip to content

Releases: kurokida/jspsych-psychophysics

V3.7.0 verified accuracy

27 Jun 07:51
Compare
Choose a tag to compare

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

17 Apr 02:27
Compare
Choose a tag to compare

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

03 Dec 08:32
Compare
Choose a tag to compare

Compatible with jsPsych 7.3.1

New features related to Pixi.js

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

12 Sep 09:44
Compare
Choose a tag to compare

This release is compatible with jsPsych 7.3.0, and includes the jsPsych library.

Simulation modes are supported

23 May 01:35
Compare
Choose a tag to compare

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

06 Apr 07:42
Compare
Choose a tag to compare

New features

Starting with version 3.2.0, the psychophysics plugin can present visual stimuli using PixiJS functionality. See this page in detail.

Bug fixes

Visual stimuli are properly presented on very large resolution displays.

Version 3.1.0

11 Jan 03:08
Compare
Choose a tag to compare

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.

05 Jan 09:10
Compare
Choose a tag to compare

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

31 Aug 02:08
Compare
Choose a tag to compare

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.

25 Aug 08:17
Compare
Choose a tag to compare

Fixed the canvas to be fullscreen when using the fullscreen plugin.
With this change, the canvas_offsetX and canvas_offsetY properties have been added.