-
Hello, I haven't dug too deep into this yet, but I was wondering if anyone has successfully used both jsPsych and p5.js libraries to create an experiment? The experiment I am programming requires displaying images and animating a spinning wheel based on the user's input. I am thinking about using p5.js for displaying the images and animation and jsPsych for the user interactions and timeline. Alternatively, does anyone happen to know how to animate/move images in jsPsych? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hi @rmtham , Maybe you can check @kurokida 's psychophysics plugin Example: https://www.hes.kyushu-u.ac.jp/~kurokid/jspsychophysics/demos/mouse_event.html |
Beta Was this translation helpful? Give feedback.
-
Hey, Not sure if it is relevant to you anymore, but I have just created a jsPsych plugin that allows you to copy paste any p5.js sketch into a jsPsych experiment as a trial. I came across your question when looking for the same thing, but as I couldn't find it I did it myself ;) see the repo here: https://github.com/Andre3582/jspsych-p5js-plugin |
Beta Was this translation helpful? Give feedback.
Hi @rmtham ,
Maybe you can check @kurokida 's psychophysics plugin
Example: https://www.hes.kyushu-u.ac.jp/~kurokid/jspsychophysics/demos/mouse_event.html