It is not clear how an equation you are looking for actually represents the transformation. What exactly are you building the equation from? Is it the content of a pixel at (x, y) at time n based on pixels at time 0?

Also, it would help if you posted a series of pictures you described.