[solved] color wheel in psychopy
Hi,
I got a question concerning psychopy. I programmed a color wheel that consists of 360 colors (defined in RGB values).
When I run the script in legacy mode the wheel looks perfect. However, I would like to run the experiment with the psychopy legacy. In psychopy the wheel consists of 3 dull colors. Do you have any idea what might cause this problem?

Comments
Never mind, if I change the RGB values to Hex values it works.
Hi,
For future reference: your problem probably occurred with self coded RGB-guns between 0 and 255, right? PsychoPy uses RGB guns with values between -1 and 1. So PyGame (255,0,0) would be PsychoPy (1,-1,-1), as PyGame (128,128,128) would be PsychoPy (0,0,0).
Using hex values is a good solution, since your bypassing the gun value difference.
Hi Dirk,
The issue is as Edwin says. However, OpenSesame would ideally handle this color conversion for you, so you can switch from one back-end to another without having to worry about the correct color notation. Would you mind sharing your code so that I can take a look at where this goes wrong?
Cheers,
Sebastiaan
Check out SigmundAI.eu for our OpenSesame AI assistant!
Hi dirk.
I'm an undergraduate student.
I also wanted to view your color-wheel codes using PsychoPy. Actually, I am trynna make continuous-wheel based experiment but have no idea with how can I calculate the response error in each trial with random condition.
Can you share your code so that novices can study with it?
Regards,
Hio-Been
hi,
could you please share you "color-wheel" code.
it will save me time