URL of experiment: Pavlovia
Description of the problem: Tried two seperate browsers so I know it’s not a browser issue, but I have been running this experiment with no display issues in PsychoPy v2020.1.3, pushed it to Pavlovia via Builder, and have been using the Web IDE to make edits directly to the script. This has been working pretty well, alongside using my browser’s dev tools to pinpoint errors. However, when doing a pilot run, I had the dev tool sidepane open when my image did not display. When I went to adjust my sidepane, the image displayed and quickly went away. I have inserted a gif below to demonstrate…
I read a similar post that mentioned it could be an opacity issue, so just in case I have also included code for both my visual.rect
and visual.ImageStim
below and respectively:
solid4p = new visual.Rect ({
win: psychoJS.window, name: 'solid4p',
width: [1.3, 0.2][0], height: [1.3, 0.2][1],
ori: 0, pos: [0, 0.6],
lineWidth: undefined, lineColor: new util.Color(undefined),
fillColor: new util.Color(1.0),
opacity: 1, depth: -2, interpolate: true,
});
stripe3p = new visual.Rect ({
win: psychoJS.window, name: 'stripe3p',
width: [1.3, 0.2][0], height: [1.3, 0.2][1],
ori: 0, pos: [0, 0.4],
lineWidth: undefined, lineColor: new util.Color(undefined),
fillColor: new util.Color(1.0),
opacity: 1, depth: -3, interpolate: true,
});
picturesPractice = new visual.ImageStim({
win : psychoJS.window,
name : 'picturesPractice', units : undefined,
image : undefined, mask : undefined,
ori : 0, pos : [0, 0], size : [1.2, 1.3],
color : new util.Color([1, 1, 1]), opacity : 1,
flipHoriz : false, flipVert : false,
texRes : 128, interpolate : true, depth : -9.0
});
This is a really interesting issue, please let me know if I have overlooked anything!