views:

8110

answers:

3

Has anyone tried recreating the page flip effect with images like you commonly see in Adobe Flash with JavaScript and HTML 5's canvas tag?

Are there any frameworks or JQuery plug-ins that do this type of effect?

The page flip in Flash allows you to grab a corner of the simulated book page and flip the page like you would flip a real book's page.

I really want to learn how to do this with JavaScript and HTML 5's canvas tag, but not sure where to start nor what formulas would be necessary.

Example page flip in flash

+2  A: 

You can try jFlip, it's a jQuery Plugin, It's not IE-compliant but I guess it's not a problem for you since you are asking for HTML5.

Soufiane Hassou
A: 

This is better done with SVG's <foreignObject> element and SVG transforms. This blog post by Mark Finkle has some info on rotating stuff as you would need to do in a "page flip/turn" effect. As far as I know, only Gecko 1.9+ and WebKit support this.

Eli Grey
+5  A: 

Hi guys you might have a look at another (nice one) implementation of HTML5-based page flipper: http://jpageflipper.codeplex.com/

It's really nice and it's implemented as a jQuery plugin

Ivan Suhinin
The expected flip effect is much better than jFlip's demo because it shows an image on the page back.
Dr. Zim