Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

A online interactive color wheel with CIELab or HSV color space

edited June 2020 in OSWeb

Here's a working implementation of a color wheel for OSWeb (>= 1.3.5). It shows a color circle in either CIELab or HSV color space, and the participant can select up to four colors. This can be useful for visual-working-memory experiments.

Update June 18, 2020: Color circle now randomly rotates (6 possible rotations).

Enjoy!

Comments

  • Hi Sebastiaan,

    This is great. However, it only seems to work if you run the experiment in quick run mode, and not if you run it in browser mode (at least not on my computer: Macbook). I ran into the same problem, when I tried to program some feedback specifying how far of (in degrees) participants are from the correct location. The problem (I believe) is that despite specifying uniform coordinates, in browser mode (0,0) is nevertheless the top left of the screen such that the exact center coordinates differs a function of the resolution of the experiment window (i.e., different coordinates if you for example do or do not run the experiment full screen).

    For now, as a workaround, I ask participants to click on the centre of the screen and base all my calculations on those coordinates. However, it would be nice if this was not necessary.


    Cheers,


    Dirk

  • Hi Dirk,

    You need to update to OSWeb 1.3.5. In older versions there was indeed a bug with mouse coordinates!

    Cheers,

    Sebastiaan

  • Hi sebastiaan,

    Ah ok, I downloaded a new version from OpenSesame yesterday so I thought I was up to date :) But I am indeed running osweb 1.3.3.

    Can I update OSWeb without downloading a new version of OpenSesame? I cannot seem to find this information on the website.

    Cheer,

    Dirk

  • Sorry should have been more clear. If I follow the online instructions and run from within Opensesame:

    import pip._internal

    pip._internal.main(['install', 'opensesame-extension-osweb'])

    it outputs

    Requirement already satisfied: opensesame-extension-osweb in /Applications/OpenSesame.app/Contents/Resources/lib/python2.7/site-packages (1.3.3.0)

  • Sorry again, a long quarantine day. I forgot --upgrage. Anyway it works now, this is awesome!

Sign In or Register to comment.