💻 Psychological experiment demos developed with “jsPsych”.
💻 Psychological experiment demos developed with “jsPsych”, a JavaScript library created by Joshua R. de Leeuw for running online/offline behavioral experiments (de Leeuw, 2015). All experiments in this GitHub repository are designed for Chinese participants and so displayed in Chinese.
注:jsPsych是由Joshua R. de Leeuw开发的JavaScript脚本库,用于编写在线/本地心理学实验程序,第1版发布于2012年7月(v1.0),最新版发布于2019年7月(v6.1.0)。本代码库是基于jsPsych开发的心理学在线实验中文示例程序。
例如:
某某某的程序使用了JavaScript脚本库“jsPsych”(https://www.jspsych.org; de Leeuw, 2015),并参考/借鉴了GitHub代码库“jsPsych中文示例程序”(https://github.com/psychbruce/jspsych; 包寒吴霜, 2020)。
Example:
XXX's program was developed with the JavaScript library “jsPsych” (https://www.jspsych.org; de Leeuw, 2015) and partly adapted from the GitHub repository “jsPsych Experiment Demos in Chinese” (https://github.com/psychbruce/jspsych; Bao, 2020).
E-mail: [email protected]
Website: psychbruce.github.io
ResearchGate | GitHub | 知乎
💡 运行实验程序,请使用主流浏览器(Chrome, Edge, Firefox, Opera, Safari等),不要使用Internet Explorer(IE)
* 更多内容,请关注知乎专栏「只求甚解」
✔ 所有代码均可从这里下载:源代码<最新> / 干净版<非最新>
⚠ 注意:复制、修改、使用、分享本代码库,请务必规范引用!
* 为了更高的编程效率和更好的编程体验,强烈建议使用「VS Code」作为代码编辑器,并安装以下插件(从VS Code中的“Extensions”安装):
JS-CSS-HTML Formatter
HTML CSS Support
HTML Snippets
JavaScript (ES6) code snippets
ESLint
Bracket Pair Colorizer 2
Color Highlight
Edit csv
Excel Viewer
vscode-pdf