Skip to content

Releases: kurokida/jspsych-psychophysics

Bug fix concerning the text_stimulus class

15 Mar 06:27
Compare
Choose a tag to compare

Bug Fix

Fixed the problem the text content is not vertically aligned when the line feed (\n) is used.

Masking and filtering images

10 Mar 09:51
Compare
Choose a tag to compare

Implementation of gabor patches

v2.0 is released.

18 Dec 05:47
Compare
Choose a tag to compare

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

11 Nov 06:00
Compare
Choose a tag to compare

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

24 Oct 06:59
Compare
Choose a tag to compare

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

17 Oct 06:54
Compare
Choose a tag to compare

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.

15 Sep 00:56
Compare
Choose a tag to compare

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

29 Jul 06:04
Compare
Choose a tag to compare

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.

06 Jun 02:51
Compare
Choose a tag to compare

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.