Description of the problem:
Hi everyone,
I hope someone can help me.
I created an experiment about Grapheme-Color-Synesthesia in PsychoPy. The Experiment runs in rgb color space but for my colorslider component I needed the hsv color space. Offline everything works perfectly fine but when I uploaded it to Pavlovia my color slider didn’t work anymore. It is colored red (normally light grey) and there is no marker anymore. I can click on it but nothing happens and the color of my picture component is not changing anymore.
As I said offline in PsychoPy everything works fine…
It seems as if there is no translation of the color space in JS.
This is the Python code component that works offline:
Hue = visual.Slider(win=win, name='Hue',
startValue=None, size=(0.8, 0.05), pos=(0, -0.15), units=None,
labels=['Farbton', 'Farbton'], ticks=(0, 1), granularity=0.0,
style='slider', styleTweaks=(), opacity=None,
color=[0,0,0.5], fillColor='Red', borderColor=[0,0,0.5], colorSpace='hsv',
font='Open Sans', labelHeight=0.015,
flip=False, depth=-1, readOnly=False)
and this is what PsychoPy translates when in JS:
Hue = new visual.Slider({
win: psychoJS.window, name: 'Hue',
size: [0.8, 0.05], pos: [0, (- 0.15)], units: 'height',
labels: ["Farbton", "Farbton"], ticks: [0, 1],
granularity: 0.0, style: ["SLIDER"],
color: new util.Color([0, 0, 0.5]), markerColor: new util.Color('Red'), lineColor: new util.Color([0, 0, 0.5]),
fontFamily: 'Open Sans', bold: true, italic: false, depth: -1,
flip: false,
});
Is there an easy solution for this problem?
Thank you in advance!