Anyway, I rebuilt the entire experiment in the latest version of PsychoPy. clickables = įor (var clickable, _pj_c = 0, _pj_a = clickables, _pj_b = _pj_a. I’m not sure what you meant by your last comment (upload to Pavlovia, or here). yellow = new util.Color() Įach frame (PsychoJS) Use fillColor instead of Color e.g. In the routine where the colour-changing effect takes place:īegin Experiment (PsychoJS): set colour as variable name, e.g. Written by its creator, this book walks you through the steps of building experiments in PsychoPy, from using images to discovering lesser-known features, and from analysing data to debugging your experiment. I can see scattered advice and seen the emotional stroop JS example which. The base experiment was working flawlessly both offline and online. These experiments were built using PsychoPy v2021.1.3. Everything is working well locally using Python. For example, instead of updating the text based on what was clicked, it just fills it with ‘Hello World’. The experiment is a save as of a previous experiment. Just to provide a summary here to the solution here, in case anyone else finds it helpful - the problem lied with translating Python into Javascript (Psychopy → PsychoJS) PsychoPy is an open-source software package for creating rich, dynamic experiments in psychology, neuroscience and linguistics. Online, a click will end the routine, but it will not recognize what component has been clicked to update the next routine.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |