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.