Originally posted by pottsman
It's a visual thing that's been going on on change of possession forever, basically. Happens every punt, too.
It doesn't affect the play, so Bort's never bothered to track it down for good.
Converting from 10fps to 20fps requires the position of a player from two frames to be averaged together to create the intermediate frame. But, the order of the players in the play_data array changes when possession changes occur. Bort checks for occasions when the player id's differ, but the code to fix the problem doesn't work. So, the player's position in one frame is being averaged with a position from an entirely different player which results in a one frame teleport.
replay.js :
// Odd, half frame
69 var data = play_data[cf][ i ];
70 var data2 = play_data[cf + 1][ i ];
71 if (data2.id != data.id) {
72 if (i >= 11) {
73 data2 = play_data[cf + 1][i - 11];
74 }
75 else {
76 data2 = play_data[cf + 1][i + 11];
77 }
78 }
79 updatePlayer(data.id, (data.x + data2.x) / 2, (data.y + data2.y) / 2, data.p && data.p != data2.p ? 2 : data.p);
80