mirror of
https://github.com/jspsych/jsPsych.git
synced 2025-05-10 11:10:54 +00:00
Create behavioral experiments in a browser using JavaScript
![]() // core.progress returns an object with the following properties // total_blocks: the number of total blocks in the experiment // total_trials: the number of total trials in the experiment // current_trial_global: the current trial number in global terms // i.e. if each block has 20 trials and the experiment is // currently in block 2 trial 10, this has a value of 30. // current_trial_local: the current trial number within the block. // current_block: the current block number. Useful for showing user progress through the experiment. Planning to add an option to show a progress bar in the future. |
||
---|---|---|
jspsych-animation.js | ||
jspsych-call-function.js | ||
jspsych-categorize-animation.js | ||
jspsych-categorize-feedback.js | ||
jspsych-categorize-unknown.js | ||
jspsych-html.js | ||
jspsych-paint.js | ||
jspsych-samedifferent.js | ||
jspsych-similarity.js | ||
jspsych-storybook.js | ||
jspsych-text.js | ||
jspsych-xab-touch.js | ||
jspsych-xab.js | ||
jspsych.js | ||
README.md |
jsPsych
jsPsych is a javascript library for running behavioral experiments in a web browser. It uses a modular structure so that new experiment types can be written as plugins to the core library. It was created by Josh de Leeuw and Drew Hendrickson at Indiana University.
Documentation
We are actively documenting the library in our GitHub wiki. The documentation is still a work in progress, and we welcome suggestions about how to make it more useful.
Can I run my experiment with this?
jsPsych can run a variety of experiment types, and experienced coders should have no problem writing a plugin for experiments that don't exist.
Contact
email Josh at jodeleeu@indiana.edu