sebastiaan
About
- Username
- sebastiaan
- Joined
- Visits
- 7,303
- Last Active
- Roles
- Administrator
Comments
-
Hi @LouisaB and @lvanderlinden , What if you first make the mouse cursor visible, does the position change then? my_mouse = Mouse() my_mouse.show_cursor(True) my_mouse.set_pos(pos=(0,300)) — Sebastiaan
-
Hi @Fab and @lvanderlinden , I'm not too familiar with all the ways in which extensions such as Privacy Badger (which I use myself too, actually) interfere with loading of remote sources and/ or with JavaScript execution. I suspect that there is no …
-
Hi @GoSugar , You can download older versions of OpenSesame as described here: https://osdoc.cogsci.nl/3.3/download/#older-versions However, I second @lvanderlinden 's suggestion to first see if you can fix the experiment so that it works with the l…
-
Hi @SINE and @eduard , This is strange, because if I type "import pygame" in the debug window, the version of pygame results to be 2.0.1. However, when I run the experiment with the green arrow pygame 1.9.6 "kicks in" and I canno…
-
Hi @iris_ferr , It sounds like the experiment file has been corrupted for some reason. If you open the backup folder under Menu → Tools → Open backup folder, then maybe you have a recent backup that you can revert to? You could also upload the exper…
-
Hi @gerhono , Do you mean that when you change one experiment file, a completely different experiment file is also changed? The only reason I can think of why that might happen is that they're both linked to the same file on the OSF. Then it could h…
-
Hi @afkeve and @lvanderlinden , OSWeb renders the experiment in a central area in the browser window, and the size of this area is determined by the resolution that you've specified in the experiment. The area around it is ignored, also when you go …
-
Hi @marbh , I have to admit that I'm a bit out of my league here, because you're combining three different packages, OSWeb, jsPsych, and JATOS, and I don't know the intricacies of all of them (or of any of them, really). I do see that, looking back …
-
@reversemoonwalk I just discovered that there actually is a way to implement counterbalancing properly. See this discussion: https://forum.cogsci.nl/discussion/comment/22691/#Comment_22691
-
Hi @marbh , I actually wasn't aware of the existence of batch-session data. My understanding is that this is basically persistent data that you can use to communicate between experimental sessions that are part of the same worker batch. Is that corr…
-
Hi @reversemoonwalk and @lvanderlinden There is no way to counterbalance by using the variable subject_nr in a full proof way, right? In OSWeb there isn't, no, because the subject_nr is randomly drawn from the list of possible subject numbers spec…
-
Hi @JasperdeWaard and @lvanderlinden , The text for OSWeb is rendered by PixiJS. There are slight (but not huge) changes in appearance depending at least on the browser, and possibly also on the operating system; for example, I once made an experime…
-
@jmplym Thanks, I was looking for a way to do this myself, actually.
-
@finlay Just a small mistake updating the docs. It's back up now!
-
Hi @gvh and @eduard , Once a plugin is added to the experiment, you can execute it using the items object, like so: items.execute('my_plugin') https://osdoc.cogsci.nl/3.3/manual/python/items/ A plugin can also register objects in the Python workspa…
-
Hi @Wouter , I get the same error, indeed simply when exporting the default template and then importing into the MindProbe JATOS. There's also an error in the browser console, so I posted a screenshot of that so that @kri can take a look at that. As…
-
Hi @SINE , It depends on how you installed OpenSesame, but in most cases OpenSesame will use PyGame 1.9. You can see that when you start an experiment, because PyGame will print out its version to the console. My own test environment actually uses P…
-
I guess the Javascript would run only in the browser. Right, I should have pointed that out. When you start using browser objects like document in an inline_javascript item, then it will no longer run on the desktop, and only in a browser. And tha…
-
Hi @Shreya , This isn't very easy to do, but you can accomplish this behavior by directly listening to mouse events in JavaScript, so basically bypassing the way that OSWeb normally handles mouse responses. I attached an example that illustrates the…
-
Hi @Sannee , OSWeb includes a number of JavaScript packages. In principle, you could edit this list and then rebuild OSWeb to include additional packages. https://github.com/open-cogsci/osweb/blob/1.3/package.json#L39 However, I suspect that this is…
-
@pdias I suspect that your operating system uses display scaling, which is a way to make things look bigger on displays with a very high resolution (on which things would otherwise look tiny). This often doesn't play nice with OpenSesame, and one sy…
-
@thanmour You can follow the instructions posted by @dockasaurusrex above. Or, better yet, update to OpenSesame 3.3.8!
-
Hi @Shreya , This implementation of a consent form uses a sketchpad (so there's no concept of a grid as with the form_consent item). So you have a lot of flexibility in how you want to design the display. And of course you can spread the informati…
-
Hi @Shreya , It's a bit more involved to do this in OSWeb than on the desktop, but you can accomplish the same thing by drawing an Accept button on a sketchpad and then checking whether participants actually clicked that button before moving on wit…
-
Hi @Carlosvandango , If you add some code to my_custom_pause_function() that causes a crash, then OpenSesame will stop when you press Escape. This can be anything, but the most elegant solution is to raise an informative Exception , like so: def my…
-
Hi @gvh , When you change the x coordinate, the stimuli need to be prepared again, which can take some time. However, this would result in a delay when changing the x coordinate, whereas in your case the delay is in the show() itself. And it's also…
-
Hi @DavKzo , Each sample of a sound file has an amplitude, and this amplitude is simply multiplied with the volume parameter of OpenSesame. So no log transformation is involved! (This would distort the sound, and not simply change the volume.) In OS…
-
Hi @mjgreen , I have never tried this myself, but I assume that it should work. Chromebooks use Debian for their Linux environment though, not Ubuntu, and so you won't be able to use the Ubuntu repository. Anaconda should work for Chromebooks with I…
-
Hi @dockasaurusrex , I get the same "Aw snap" error. I haven't seen this very often, but I assume it means that the browser process itself crashes, rather than that the JavaScript code crashes, which would give an informative error message…
-
When running JavaScript on the desktop, OpenSesame uses js2py, which is compatible with ECMAScript 5.1 (where ECMAScript is the official JavaScript specification). The for … of … syntax was introduced in ECMAScript 6, which is why it doesn't work on…