How to do a JavaScript HTML 5 Canvas image “page flip” like you commonly see in Flash?

后端 未结 9 1128
自闭症患者
自闭症患者 2021-01-30 06:00

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 J

9条回答
  •  爱一瞬间的悲伤
    2021-01-30 06:21

    This is better done with SVG's 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.

提交回复
热议问题