I have made progress – I’ve initialized two squares as dots. To generate a match/mismatch case (indicated by the csv), I’ve reserved squares 1 and 2 as dots. I initially show square 1 and hide square 2. When we get to the mismatch case, I hide square 1 and show square 2 to flip the positions of 2 dots while making the total number of dots the same. There is an issue here – the hidden stimuli don’t have the 1 pixel gray border and make the grid look strange.
I’m trying to do a similar thing with words. I’m going to show a word list then present them with a match/mismatch condition. I think that the best way to do this is to read in a csv row with #elements + 1, then hide/unhide two words to switch them
Do you have thoughts?
My new link: https://upenn.pcibex.net/r/NfPXvD/