Hi There,
Yes this is a tricky bug that should be fixed in the new release of PsychoPy it is this “rotatePoint” method (but it isn’t out yet unfortunately so you will need a temporary patch!) visual/ShapeStim: rotate vertices not sprite by thewhodidthis · Pull Request #282 · psychopy/psychojs · GitHub to implement the patch try the following:
- send your experiment to runner view
- select “debug” in runner
- that will add a “lib” folder to your directory - rename it “custom-lib”
- Add the rotatePoint method to your util.js file and in your visual module replace the corresponding lines of the ShapeStim class.
- when you sync your experiment to pavlovia set export html to manual so that you can change the first few lines of your javascript experiment to import from “custom-lib” instead of “lib” then sync.
It is a bit pernickety for now but will be fixed in the new release - if you need further help please do share the link to your github project !
Hope this helps,
Becca