Curl animation

Anyone know where I can find a good tutorial on creating a curl animation to an image. Pretty much the same as the “page curl” effect, except I don’t want to use interaction or flip a whole page. Just a simple loop effect with the corner curling up and down.