
The reason for this is that when PsychoPy puts your experiments online, they are no longer in Python. For the experiment I was trying to run, it didn’t have the capabilities I needed, although I did manage it with their coding library. This severely limits the options of what you can do. However, whilst PsychoPy advertise that you can put your studies online using their software, this is only true if you use the visual/graphical Builder view of their program. Python is incredibly easy to use, and there is a library of functions called PsychoPy that is set up to make running psychology experiments fairly easy.

I don’t know anything about MATLAB so I’m not going into that here, but it might be an option you’d want to look in to. I’m aware of two main options here: Python and JavaScript. Creating an interactive cognitive task: Programming languages I’d love for this to become a comprehensive account of the different options available - I’m sure the specific needs of each experiment will be slightly different. If anything on this page is in error or could use some improvements or clarification, or you have anything to add that worked for you, please feel free to email me at - I’m also happy to help out anyone who is stuck. This page is a work in progress and will be updated as I learn more about these processes. The majority of this article, then, is just links to other tutorials and resources I used to create my own experiment, some of which took a while to find - hopefully this will save you the time and provide easier entry point for coding. This guide is written for someone with no coding knowledge, as I was before I started this project.

I’ll go through the methods using more standard approaches first, but the bulk of this article will be with a more DIY method, and I would recommend checking that out.

#Psychopy to javascript for free#
The emphasis will be on doing this for free or as low cost as possible.
#Psychopy to javascript how to#
This guide will detail how to build an interactive cognitive test, how to upload this online, and how integrate each method with Qualtrics in case you need to use it to manage participants in a longitudinal study. I thought I’d share how I did this with the hopes it could help anyone attempting something similar. The design for my recent study, a 14-day mindfulness course with an interactive cognitive experiment in my pre/post surveys, posed several issues. The demand for easy ways to upload interactive cognitive studies online will have increased with the pandemic. Online Cognitive Experiments How to Run Interactive Cognitive Experiments Online (for free)
