I haven't looked at the code yet, but I've been curious how they do this. I am not a mathematician, but my understanding is that the affine transform only lets you scale, rotate, and skew the whole image at a time.<p>Is the page curl effect some kind of custom non-affine transform? Or am I missing a simple way to do this using a single linear transformation?