I did an engine overhaul to make it properly do the warping of the image. I do not know how similar my method is to the original one, but I haven't bothered with reverse engineering that.