Apple's iBooks Dynamic Page Curl
来源:互联网 发布:作息时间表软件 编辑:程序博客网 时间:2024/05/18 01:36
http://blog.steventroughtonsmith.com/2010/02/apples-ibooks-dynamic-page-curl.html
A week ago at NSConference I decided to try and figure out how Apple performed the page curl animation shown in the iPad announcement keynote.
It ended up being pretty easy to implement, and the page curl code has been in the OS since the beginning (although it's currently a private class - I've filed a radar asking to open the API that you can dupe if you'd like. rdar://problem/7616859). Basically you have to add in the finger angle tracking code and figure out the basic physics to make it believable. My code is pretty rough but it gives you a basic idea of how to get this working.
Here's hoping it's opened up because if it's not, then the iBooks app (distributed through the App Store) will be provably using private APIs which doesn't help anyone.
Here's a sample project that you should be able to build and run which shows the effect in action; the samplecode currently works for iPhone 3.0 and above.
Download Sample Code- Apple's iBooks Dynamic Page Curl
- Implementing iBooks page curling using a conical deformation algorithm
- Yahoo's dynamic page generator with Shared Memory technology (Yahoo's patent)
- Dynamic Page Loading for PhoneGap
- Apple's OpenCL
- Apple's OpenGL
- Google's Page Creator
- Google's Page Creator
- Sliverlight : dynamic Create page by parameter
- Page and Form for dynamic Loading Control
- [Java Web] Web服务器&&Dynamic Page
- tomcat's admin page and manager page
- App Store-safe Page Curl animations
- 关于page curl的一点记录
- Spiderman’s workout (dynamic programming)
- it's a test page
- Dynamic Prompt Table for Record Field on PeopleSoft Page
- “MacTalk 跨越边界” iBooks.
- 程序员推荐图书
- 使用gdb调试运行时的程序小技巧
- 实战BULK COLLECT(成批聚合类型)和数组集合type类型is table of 表%rowtype index by binary_integer .
- 网络游戏开发流程管理
- stagefright + omx小结
- Apple's iBooks Dynamic Page Curl
- android ListView常见问题解决方法(滚动背景变黑,去除滑动时阴影,拖动时Item图片不显示)
- linux后端服务程序之信号处理
- Android ListView
- linux下获得时间差,精确到微秒级别
- DDD调试opencore/stagefright
- Flex读取XML文件的两种方法
- Padding也要小心
- linux异步IO编程实例分析