The psychophysics plugin supported the presentation of gabor patches #1531
kurokida
started this conversation in
Show and tell
Replies: 2 comments 5 replies
-
Are there any plans to make the jspsych-psychophysics plugin an official part of jsPsych? |
Beta Was this translation helpful? Give feedback.
2 replies
-
Is there a way to add multiple objects that only vary on one or two parameters? What I do currently is make a for loop, make a copy of a template object, add the desired parameters for that iteration, and then add it to a list that will be given as "stimuli" to the plugin, but that is a little clunky. It would be great to be able to say: "I want 10 circles, this color, but with varying x and y positions and radii", say. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Dear jsPsych users,
You can present gabor patches using the jspsych-psychophysics plugin.
The calculation method for drawing is almost the same as the one used by the Psychtoolbox, although my plugin doesn’t use the procedural texture mapping and WebGL. I also have referenced the gaborgen-js code.
You can choose either the numeric.js or the math.js for the calculation library. The numeric.js is considerably faster than the math.js, but the latter is being developed more aggressively than the former. The default is the numeric.js.
There is still the issue of display calibration. Unfortunately, my plugin does not provide a solution to this problem.
Demonstration
Beta Was this translation helpful? Give feedback.
All reactions