image manipolation(book effect)

Hi all, there is a way to make an effect like this http://www.mmkit.com/article.php?sid=334 whit java 2D api?

Its gradients, rotation and clipping. So yea, you could.

but how can i make a bend effect whit gradient rotation and clipping?
There is some algorirthm to do this?

Take a close look… there is no bending. Its “only” clever rotation and clipping and the gradient makes some smoothly shaded break, which only looks like a bend due do the shading.

The *.fla file(this is the source as far as I know) is available for downloading so you can see the algorithm.