Skip to content

Andre3582/jspsych-p5js-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

jspsych-p5js-plugin

A jsPsych plugin that allows to run p5.js sketches as a jsPsych trial. See 'experiment.html' for some basic to relatively advanced implementations.

In principle, any example (p5js.org/examples) or other sketch can be copy pasted into a trial with minimal changes*.

For convenience I have added the functionality of responding with key presses or buttons.

*You need to prefix any standard p5.js function or constant with p., and top level declarations with p.TLD. (tip: ask ChatGPT to do it for you).

About

A jsPsych plugin that allows to run p5.js sketches

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published