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!
|