top of page

Implementing Page Turn Effect

  • Writer: Yi Yin
    Yi Yin
  • Apr 24, 2018
  • 1 min read

Updated: May 3, 2018


This article was carelessly deleted by me. So let me rewrite it again.


When I worked on a productivity app - an electronic notebook - for iOS, the customer requested a feature "page turn effect", which is an animation like this:

ree
Page Turn Effect

There is a common rule of thumb for this kind of problems: do NOT start coding until you have thought it over and everything is clear on paper. Therefore, let's do some high school geometry:

ree
Fig. 1: when A is a single point

Take a look at figure 1. The user's finger is at point P. She sees page 1's front, page 2's front, page 2's back, and page 3's front, among which, the triangle "page 2 back" and "page 3 front" are identical. That is the first situation.


The second situation is as below:

ree
Fig. 2: when "A" is a group of points

We have 3 point As: A, A1, and A2. This is a little bit complicated, but we can prove that if we extend line CA, BA1, and PA2, they will converge, making two identical triangles.




Comments


YI YIN
Austin, Texas

Personal Email - if you like me

*Please replace "_at_" with "@"

kthtes_at_gmail.com

Studio's Email - if you like our games

*Please replace "_at_" with "@"

286studio_at_gmail.com

©2017 BY YI YIN

bottom of page