This is an example of how to record an object's movements to an array, and "play" the array in reverse to achieve a rewind effect similar to Braid. The example also leverages delta-time when recording and rewinding in an attempt to be frame-rate independent.
Demo