Hi! I need some help or guidance with the way I want to collect the responses for my experiment:
OS: Win 10 PsychoPy version: 2023.1.3 What are you trying to achieve?: So, in the experiment, I am showing people a set of 7 circles of different sizes for a very short time. Then, I ask them to guess the average circle size of the set. To do that, I want to present a slider with which people can modify the diameter of a shown circle so that I can record their choice. I am unsure how to use the slider to change an image’s size continuously, or whether a slider is the right component to use – maybe people can change the image’s size directly?? I need some guidance.
What did you try to make it work?: I don’t know where to start
I would suggest adding a code component and have something like the following:
Begin Routine
circle_size = 0.5 # the start size of the circle
Each frame tab:
if slider.rating: # where "slider" is the name of your slider, checks a rating has been made
circle_size = slider.rating # uses the slider rating to update the circle size, note the tick marks on your slider probably want to be between 0 and 1 if using height units with a granularity of 0
Then in your circle component in the size field you can use circle_size with the drop down set to each frame.
Not that this may wait for the mouse to be lifted to register a rating on your slider. If you want something dynamic you might want to use slider.markerPos instead of slider.rating