OS (e.g. Win10): OS X 11.2.1
PsychoPy version (e.g. 1.84.x): 2021.1.2
Standard Standalone? (y/n) If not then what?: y
What are you trying to achieve?:
I want to be able to create stimuli using the Code Component of the Builder, and then show the stimuli.
(More precisely, what I really want is to show a cloud of radial gratings whose positions are fixed and generated by code, at each trial (it’s not a random dot kinematogram)).
What did you try to make it work?:
It does not seem that I can do that using any of the Stimuli Components that are in the Builder (I don’t think the Dots one is appropritae. It is not made for what I want (I don’t want RDK) and it does not let me choose the positions, and I’m not sure it can show radial gratings. Am I wrong?).
The problem is that if I create a stimulus in code, then it is not added to the “
trialComponents” list (and I cannot add it to it at a proper place in code), and I cannot set
continueRoutine to True.
I guess I could hack my way into achieving what I want, but I was wondering if there was a “correct” way to do this. It seems to me that creating one’s own stimulus should be a pretty common use case, even if using the Builder.