Thanks for the link.
Really nice tutorial, unfortunately the way of the origin's change is not explained in there.