The codes are shared under Creative Commons license: Attribution-NonCommercial 4.0 International (CC BY-NC 4.0).
An example of the perceptual learning module: DEMO
This example uses pictures downloaded from wikipedia. No data/responses are stored, but you get feedback (correct/chosen image + total %-correct).
If you want to use this version on your on own website, you can download it from here: demo.zip
An example of the perceptual learning module (without pictures): NOPICS
If you use our code, please cite our article:
Salava, A. and Salmela, V. (2022), Perceptual learning modules in undergraduate dermatology teaching. Clin Exp Dermatol. https://doi.org/10.1111/ced.15201
and/or: Salava, A. & Salmela, V. (2023). Perceptual learning in dermatology - a Finnish cohort study of undergraduate medical students. Journal of the European Academy of Dermatology and Venereology, 37. https://doi.org/10.1111/jdv.19058
And please site also: de Leeuw, J. R. (2015). jsPsych: A JavaScript library for creating behavioral experiments in a web browser. Behavior Research Methods, 47(1), 1-12. https://doi.org/10.3758/s13428-014-0458-y
To use the code with your own images, just dowload the zip file:
or nopics.zip
And replace images in the stims-folder (filename D = diagnosis, T = target, D = distractor (A,B,C...G)) And modify the instructions/text in the index.html file if needed.