I have issues with using “win.color = ANY_COLOR”, specifically in online experiments. It immediately turns the screen black even when the color is meant to be set to white, lightgray, or anything else. The second I remove the part of the code responsible for changing colors the experiment runs as normal but at the color change step it just defaults to black. It is one line of code making the difference apparently.
Try
win.color = new util.color([1,1,-1]);
in a Both component or define your colours as per my Crib Sheet
I changed the color configuration according to your crib sheet and it works. However, it only works on computers other than my M1 2020 Macbook Pro. I have looked for a solution but there doesn’t seem to be one according to forums: Can’t run experiments on M1 2020 Macbook Pro
Would you happen to know how I could approach this issue? Thank you!