Create a scene with jsPsych Plugin
This function provides a compatibility layer for using jsPsych plugins within psytask. It handles the integration between jsPsych plugin API and psytask's scene system.
using scene = app.scene(jsPsychStim, { defaultProps: { type: jsPsychHtmlKeyboardResponse, stimulus: 'default', choices: ['f', 'j'], },});await scene.show({ stimulus: 'new' }); // change stimulus Copy
using scene = app.scene(jsPsychStim, { defaultProps: { type: jsPsychHtmlKeyboardResponse, stimulus: 'default', choices: ['f', 'j'], },});await scene.show({ stimulus: 'new' }); // change stimulus
jsPsych Plugin
Create a scene with jsPsych Plugin
This function provides a compatibility layer for using jsPsych plugins within psytask. It handles the integration between jsPsych plugin API and psytask's scene system.