Hello,
I have an image stimulus with vertical line orientations.
When I rotate the image to 45 degrees (setting the orientation to 45) locally, the image is rotated 45 degrees clockwise.
When I run the code on Pavlovia, the image is rotated 45 degrees counter-clockwise.
I was wondering, is that a feature?
URL of my experiment is - https://pavlovia.org/run/OLeticevscaia/wm-protection/html/.
Thanks,
Olga
Not exactly a feature but at least a consistent behavior. I’m going to flag it on the GitHub page for PsychoPy so the developers are aware of it.
Hi Folks,
I just wanted to confirm that I am seeing this too. Using Pyschopy (2021.2.3).
It would appear that visual objects are rotated in one direction locally, and in the opposite direction when running on-line.
D.
What I do is use a Both code component with “direction = 1” on the Python side and “direction = -1” on the JavaScript side and then multiply any angles by direction.
Ah. Cool. Good workaround.
Thanks @wakecarter.
D.