Stimuli that involve complex movements


Author
Message
mji24
mji24
Associate Member (132 reputation)Associate Member (132 reputation)Associate Member (132 reputation)Associate Member (132 reputation)Associate Member (132 reputation)Associate Member (132 reputation)Associate Member (132 reputation)Associate Member (132 reputation)Associate Member (132 reputation)
Group: Forum Members
Posts: 9, Visits: 42
Hi all,

I am trying to design an experiment which the stimuli (multiple dots) engage in complex movements generated from a previous study. The movement trajectories are basically a bunch of x and y positions for each dot. The frequency of these positions are 60Hz (i.e. positions are updated every 16.67ms). Each trial is around 15s and contains 21 dots, and there are around a few hundred trials in total (meaning that I will have somewhere around a few million data points to deal with). The trajectories are different for each dot in each trial. I am wondering about two things:

1. Right now the trajectories are stored as data frames in R. I have seen posts saying that in order for Inquisit to include them is to convert them into plain txt files. Considering the sheer amount of data points I have here (a few million data points containing positional information), is the plain txt method still the best practice? Should I convert the trajectories of each dot for each trial into separate lists and then call the corresponding lists when I generate the stimuli?

2. How do I actually make them move? I found two ways to make this work. One is that using the "animation" property of "shape", but I have not figured out a way to streamline a few thousands of x and y positions into animation. Is this even possible? The other method was that I saw someone mentioned setting the h and v positions of the stimuli at each time point to simulate them moving. They did not provide any sample code and I am very, very new to Inquisit so I do not know how to program this. 

Any help is greatly appreciated!

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
mji24 - 4 Years Ago
Dave - 4 Years Ago
mji24 - 4 Years Ago
Dave - 4 Years Ago
mji24 - 4 Years Ago
                         Re. 1.) No, there isn't any command to make (0,0) the center of the...
Dave - 4 Years Ago
                             Hi Dave, Thanks for the quick reply! I have attached the script.
mji24 - 4 Years Ago
                                 Okay, re. 1.), you've defined a canvas, i.e. you're not using the...
Dave - 4 Years Ago
                                     (1) Great, thanks! I will implement that. (2) Maybe it's because I...
mji24 - 4 Years Ago
                                         Did some quick testng and refactoring. I think if we actually pipe the...
Dave - 4 Years Ago
                                             Great, thanks a lot! I will try it out and get back to you if I have...
mji24 - 4 Years Ago
                                             Hi Dave, Sorry to bother you again. Another problem just popped up....
mji24 - 4 Years Ago
                                                 See attached.
Dave - 4 Years Ago
                                                     Hi Dave, I'm back again. Thanks to you, I have successfully...
mji24 - 4 Years Ago
                                                         No. In short, this is due to how Retina displays work. A good...
Dave - 4 Years Ago
                                                             I see. That makes sense. Do you have any better suggestions to deal...
mji24 - 4 Years Ago
                                                                 Inquisit will take 12.34% or 12.3456% as input, but on a display that...
Dave - 4 Years Ago

Reading This Topic

Explore
Messages
Mentions
Search