Colour of the stimuli
I am implementing Stroop task. Therefore I need to consider a special color for the stimuli ( only for choice 1). Therefore, I have the excel file as follow:
choice1 choice2 choice 3 color_choice1 Red Blue Red BLUE Green blue Red RED . . . .
I have the part of code as below:
t = expyriment.design.Trial() stim1 = expyriment.stimuli.TextLine(text=trial, position=(0,200), text_size=32, text_colour=trial) stim2 = expyriment.stimuli.TextLine(text=trial, position=(-230,-230), text_size=32) stim3 = expyriment.stimuli.TextLine(text=trial, position=(230,-230), text_size=32) canvas = expyriment.stimuli.Canvas(size=(600, 600))
I expected as trial="BLUE", it prints stim1 as Red with blue color. But it does not work. Do you have any comment please, how to fix it?