Code that generates stimuli for various psychophysical experiments