[open] How to randomly choose two positions from eight?
I need to randomly choose two positions from eight to add green.png, and the other six positions to add red.png, so that the sketchpad has two greens and six reds. how to achieve this ? The eight positions are changeless, for instance,
{0 128.0; 90.5 90.5; 128 0; 90.5 -90.5; 0 -128; -90.5 -90.5; -128 0; -90.5 90.5}.
Thank you.
Comments
Hi,
You could determine the red and green positions at the beginning of every trial by placing something like the following in the Prepare phase tab of an inline_script item, appended to the beginning of your trial sequence:
Does this help?
Best,
Lotje
Did you like my answer? Feel free to
