This Week's Sponsor:

Listen Later

Listen to Articles as Podcasts


Facebook Open-Sources Pop, The Animation Engine Behind Paper

Facebook has open-sourced Pop, the animation engine behind the company’s alternative client for iPhone, Paper. Used to power transitions and animations inspired by real-life physics and interactions, Pop has allowed Facebook to build Paper’s popular gestural controls, which have become one of the app’s marquee features. In Paper, many of Facebook’s functionalities are only available through gestures, as the app focuses on content and stories while removing chrome and other standard UI elements in its reimagination of the classic news feed.

Writing on the Facebook Engineering blog, Kimon Tsinteris (co-founder of Push Pop Press, which Facebook acquired in 2011) has explained the motivation behind Pop and the kind of animations it offers to developers willing to implement the framework in their apps:

When I co-founded Push Pop Press in 2010, our goal was to create a realistic, physics-everywhere experience. We wanted a solution that would allow us to evoke the same delightful experience of UIScrollView throughout the whole application. Pop is the latest manifestation of that vision, allowing us to keep the familiar and powerful programming model of Core Animation while also capturing a gesture’s velocity and better reflecting user intent. Paper has given us the opportunity to further refine both the vision and the animation engine behind it.

“Spring” and “decay” are dynamic animations that help bring Paper to life. “Spring” gives Paper elements their attractive bounce. “Decay” brings movement to an eventual slow halt. Both take velocity as an input and are good candidates for realistically responding to user gestures.

According to Tapity’s Jeremy Olson, Pop can be used to “revolutionize the way you think about animation in your app”; Olson has been testing Pop to create animations for Tapity’s upcoming iPhone app, Hours.

Two weeks ago, members of Facebook’s Paper team shared details on the making of Paper and some of the interface, framework, and user experience decisions behind the app in a developer event available on YouTube (embedded above). Facebook will also integrate Pop in Origami, the free design prototyping toolkit used by the Facebook design team to create interactive mockups without programming.

Pop is the latest entry in Facebook’s library of open-source projects, joining KVOController, Shimmer, and Tweaks. Pop is available now on GitHub.

Unlock More with Club MacStories

Founded in 2015, Club MacStories has delivered exclusive content every week for over six years.

In that time, members have enjoyed nearly 400 weekly and monthly newsletters packed with more of your favorite MacStories writing as well as Club-only podcasts, eBooks, discounts on apps, icons, and services. Join today, and you’ll get everything new that we publish every week, plus access to our entire archive of back issues and downloadable perks.

The Club expanded in 2021 with Club MacStories+ and Club Premier. Club MacStories+ members enjoy even more exclusive stories, a vibrant Discord community, a rotating roster of app discounts, and more. And, with Club Premier, you get everything we offer at every Club level plus an extended, ad-free version of our podcast AppStories that is delivered early each week in high-bitrate audio.

Choose the Club plan that’s right for you:

  • Club MacStories: Weekly and monthly newsletters via email and the web that are brimming with app collections, tips, automation workflows, longform writing, a Club-only podcast, periodic giveaways, and more;
  • Club MacStories+: Everything that Club MacStories offers, plus exclusive content like Federico’s Automation Academy and John’s Macintosh Desktop Experience, a powerful web app for searching and exploring over 6 years of content and creating custom RSS feeds of Club content, an active Discord community, and a rotating collection of discounts, and more;
  • Club Premier: Everything in from our other plans and AppStories+, an extended version of our flagship podcast that’s delivered early, ad-free, and in high-bitrate audio.