The individual trajectories revealed inflections of direction that were potential spontaneous resets and we created a heuristic to localize them. First, we removed the first and last 4 mm of the trajectory, as well as any short segments on the trajectory at the start and end that went toward the participant (i.e., more than 180° away from the true external motion), to remove any unintended jitters caused by starting and ending the movement. Then, we applied a bidirectional low-pass Butterworth filter with a cutoff frequency of 1.5 Hz. However, because participants draw at very different speeds, we resample them at 30 Hz using linear interpolation, giving 90 samples for the three-second trajectories and 120 samples for the four-second trajectories. After filtering, we detected the first inflection point in these summary trajectories using only the x coordinates (local maximum of x). This could put the reset point too late for saturation or “hit-the-wall” resets, so that we moved back to get the previous sample at 95% of the x coordinate at the inflection point. Then, we located the sample in the raw trajectory that was closest to this point. We then excluded a few reset points that were less than 5 mm, within the expected quadrant. Those that were very close to y < 5 mm are unlikely resets because they either have extremely high illusion strength, or not enough room or time for actual accumulation of illusory drift. Those that were very close to the veridical path (x < 5 mm) likely don't have any illusory drift and were probably random wiggles in an attempt to make a vertical tracing. Of 1296 trials, the heuristic identified reset points in 827 (∼64%). This heuristic likely yielded some misses and some false alarms, and although changing the algorithm may improve performance, there is no ground truth to evaluate this. All raw trajectories and the detected reset points could be found on the OSF repository.
The X coordinates of the detected reset points give the deviation from the vertical path and are used as the spatial offset of the reset. We also need the time of the reset. The Gabor moves at a uniform speed along the Y axis so distance along Y denotes the elapsed time for the physical path. However, the illusory path of the Gabor does not have to stay in alignment with its physical location on the Y axis. If it did, its speed and path length would have to increase for larger illusion angles: for example, 41% faster and farther for a 45° illusion, 73% faster and farther for a 60° illusion. Observers have not reported these increases in speed or path length compared to the control with no internal motion. Moreover, in a recent unpublished study we directly measured the perceived path length of the illusion. The path length was always fixed proportion of the physical path (around 70%) for all illusion strengths, Gabor speeds and physical path lengths. This means that the perceived speed along the illusory path must be a fixed proportion of the physical speed as well and therefore, in the tracings, it is the distance along the traced path (the radius in our diagrams) that tells us the time since the trial began—not the distance along the physical path (the Y axis).
To facilitate modeling, the horizontal (illusory deviation) and vertical (straight ahead) coordinates of the reset points are kept isometric by giving them in centimeters. The distance from origin can then be converted to time as 1 cm = 4/13.5 seconds in the four-second condition and 1 cm = 3/13.5 seconds in the three-second condition. A probability density function is used to estimate each model's likelihood and the variable that is used (X or T) is divided by its median value so that each of their probability densities are on a comparable scale.
Apart from reset points, we also extracted a measure of illusion strength. We took a trajectory sample at half the distance between the starting point and the detected reset point. We then used the angular difference between the Gabor’s real trajectory and a straight line drawn through that point and the start of the trajectory as a measure of illusion strength.