JasperdeWaard
About
- Username
- JasperdeWaard
- Joined
- Visits
- 274
- Last Active
- Roles
- Member
Comments
-
Thanks, that worked! I'm not sure why though, because I installed it yesterday.
-
Since the title of this topic says it is solved, is it actually solved now? I couldn't find the Github issue. I have also been having this problem since forever, and just had it again on 3.3.10 I have the feeling that it often happens when I save an…
-
You'll have to convert it to js or make it work without the script, there is no other solution. Good luck!
-
So I think I got a solution that actually works quite nicely :) I use a sequence with a sketchpad and an inline javascript that repeats 1000 times The sketchpad is shown 1 ms (i.e. one screen refresh) The location of the mask in the sketchpad is det…
-
My apologies. I see this question has already been asked and answered. Jasper
-
Hi Pascal, Assuming mousetrap isn't OSweb ready yet, are there any plans for a javascript version? I'd say this kind of tool is especially useful in online experiments. Regards, Jasper
-
I think what @lvanderlinden was trying to say is that you can also use java inline scripting to achieve the same thing ;) You can use while and for loops and math functions in the java codeblock, no problem. It might not work sometimes within OS, bu…
-
All credits go to @Yavor for figuring this out btw!
-
Hello @lvanderlinden @sebastiaan I'll have a look at PixiJS. My suspicion is that emoji's might look different (they are not part of the font one specifies, but are drawn from a kind of system-font), but text will look identical (i.e. same font = …
-
Just add the following code to a java codeblock in your experiment: var prolific_id = jatos.urlQueryParameters.prolific_pid; vars.prolific_id = prolific_id; and make sure to save the variable 'prolific_id' in your logger. Then, when you input the e…
-
Glad I could help :)
-
Alright, good to know!
-
https://forum.cogsci.nl/uploads/007/095KSYUAX4L4.osexp Sure! For some reason it won't let me upload the latest version, but this should give you an idea. In the 'vars' code block, the first function works fine, the second doesn't. The difference, I …
-
Have you seen this?
-
"I've got a bunch of single-row single-column loops in an experiment that works fine in the latest version, without any nested loops. I just made a variable called 'empty_var' with the single value 0, maybe that helps?" Ah wait, it works b…
-
I've got a bunch of single-row single-column loops in an experiment that works fine in the latest version, without any nested loops. I just made a variable called 'empty_var' with the single value 0, maybe that helps?
-
You can add an inline_javascript block. That's why that code follows the java syntax :)
-
Maybe try something like this: var RanNum = jatos.urlQueryParameters.RanNum; vars.RanNum = RanNum; And then show them in the sketchpad using: Your number is [RanNum]
-
That sounds like a smart idea :)
-
I know that this is not what you are asking for, but be aware that fonts are not as simple as they seem. Well-designed ttf fonts have 'hinting' information that tells the computer precisely how to convert the font's outlines to pixels. Without this …
-
Hi Eduard, Thanks for the detailed explanation! I think I understand the logic of it, and I agree that creating the list in javascript won't be the problem. I was just hoping to avoid the creation of 96 separate dots, each with its own x and y varia…
-
Hi Lotje, No problem, I enjoy it :) And yeah, I was afraid you would say that. For the time being, I think I'll just show the target on its own and use a background image for distraction. Cheers, Jasper
-
I'm now on the latest version btw, and it just happened again.
-
I've noticed now, across different versions of OS, that the filepool is sometimes suddenly empty, while I'm sure that I didn't empty it, and I also didn't move any files around. It's hard to reproduce the bug though, since I really can't tell when i…
-
So your experiment is working in OpenSesame but not in the browser? In the browser, look for the javascript console (might be under developer tools) to see what is happening there. You can print messages to the console by using: console.log('Your me…
-
I think you could use a 'repeat_cycle' item in the experiment structure and add a condition to its run-if statement in the sequence item. E.g. run if: [repeat] == 1. Good luck!
-
Shouldn't = be ==?
-
That's great! Thanks @sebastiaan :)
-
I'm thinking it might be related to this issue, which is supposedly fixed in the latest version. However, the latest version has a different problem related to allowed keyboard responses.
-
I'm having a similar problem, but I'm not on the latest version of OSweb. What version are you using?