PaperStack Alpha Source Code
PaperStack is an iOS Page Curl filter. After iOS 5 release (introducing PageViewController and Book Applications) PaperStack team decided to convert the "Books" project in something more interesting and portable. Anyway, we decided to release our alpha source code to reveal the geometry and math behind the Page Curl filter to everyone. Hope this helps!
Join Paperstack Team
Would you like to join our next PaperStack project? Feel free to contact us on twitter.
Info & Credits
The code is open source then GitHub forks and pull requests are really appreciated. This code was released because around 200 developers around the world ask for it in the last weeks. The scope is to share the conical dynamic deformation, finger tracking, shadow casting, page constrain logic and texture mapping. It means that it's not yet ready to be used in a commercial project.
If you decide to use this code or part of it for your own project, please do not forget people that spent time and passion on it. Here is the list of people to thanks:
- Mutado Mobile API & PaperStack team for the dynamic conical deformation and finger tracking
- W. Dana Nuon for the "basic" conical algorithm mesh deformation and source
- Jeff LaMarche for his extensive and incredibly helpful OpenGL ES from the ground up tutorials
License
Copyright (c) 2011 Mutado, http://mutado.com
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON INFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.