See Shin'ya Nishida / basicExperimentTestMitchell · GitLab
I have created a simple experiment to test things out. In the experiment a grating stimuli is presented. The Phase (in cycles) is set to phaseVariable
, which is defined in Python at “Begin Routine” as: phaseVariable = random.random()
* and for the JS version I use phaseVariable = Math.random();
Furthermore, I log the phaseVariable
at “end Routine”.
When running locally everything works as expected. The grating shows each trial and the phaseVariable
is correctly logged. However, when running it on Pavlovia the grating stimuli does not display. Everything else (text, key responses, timing, data logging) works as expected.
There are no errors logged in the browser console.
Why is the grating stimuli not showing? How can I display it correctly?
*
I import the random package only in the Python version. In the JS version I use the standard Math package instead