I am currently experimenting with the effect of a page freezing on Android using OpenGL ES. This is a pretty sketch in fact, but perhaps gives some insight into how to implement page curl for your needs. If you are interested in implementing a flip page of a 3D page that is.
As for the formula you are talking about, I tried it and I didn’t really like the result. I would say that it simply does not fit the small screen very well and began to make out a simpler solution.
The code can be found here: https://github.com/harism/android_page_curl/
While writing this, I hastened to decide how to implement “fake” soft shadows, and whether to create a suitable application to show the waving effect of this page. Also, this is almost one of the few OpenGL implementations I have ever done, and it should not be taken too much as a good example.
harism Apr 11 2018-11-11T00: 00Z
source share