KeyframesPlayer

A simple macOS app to preview animations created with Facebook's keyframes framework

Stars
69
Forks
6
Open issues
1
Closed issues
0
Last release
over 6 years ago
Last commit
over 6 years ago
Watchers
69
Total releases
4
Total commits
24
Open PRs
0
Closed PRs
1
Repo URL
Platform
Category
Usecase
Offers premium version?
NO
Proprietary?
NO
About

Keyframes Player

A simple app to preview animations created with Facebook's keyframes framework and export them to Core Animation archives.

⬇️ DOWNLOAD LATEST RELEASE ⬇️

Using the export option Render After Effects animations in your app without external dependencies

CAAR, or Core Animation archives, are files that hold trees of CALayers encoded using NSKeyedArchiver. Since Keyframes uses Core Animation to reconstruct animations created in After Effects, it's possible to export the animations as files that can be read in AppKit or UIKit apps later, without the need to include the Keyframes framework in the shipping app.

After exporting the .caar file, add it to your app's resources and use this code snippet (ObjC) or this one (Swift) to read the animation in your app. To check if the export worked, you can use CAAR Player on macOS to open the archive file. Not all features will work with this method, but I've found this to work with the most common shape and transform animations.

Alternative Projects
No projects found

Subscribe to Open Source Businees Newsletter

Twice a month we will interview people behind open source businesses. We will talk about how they are building a business on top of open source projects.

We'll never share your email with anyone else.