TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Keyframes: Delivering scalable, high-quality animations to mobile clients

393 pointsby theelfismikeover 8 years ago

18 comments

lozzleover 8 years ago
Hey, everyone!<p>I&#x27;m one of the developers at Facebook who worked on this library since its conception! Really excited to be able to share this library today! I&#x27;ll be checking up here periodically and can help answer any technical questions that you have!
评论 #13015405 未加载
评论 #13015620 未加载
评论 #13015408 未加载
评论 #13015500 未加载
评论 #13015780 未加载
评论 #13016068 未加载
评论 #13015580 未加载
评论 #13018561 未加载
echelonover 8 years ago
This is really slick, and I&#x27;m going to investigate using it for the Donald Trump animation on jungle.horse.<p>The license [1] doesn&#x27;t look to be as encumbered as some of Facebook&#x27;s other open source licenses, but does include a clause I found to be strange:<p>&gt; provided Your Software does not consist solely of the Software<p>So if I&#x27;m reading this correctly, it means only Facebook can redistribute this software? Wat.<p>[1] <a href="https:&#x2F;&#x2F;github.com&#x2F;facebookincubator&#x2F;Keyframes&#x2F;blob&#x2F;master&#x2F;LICENSE.md" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;facebookincubator&#x2F;Keyframes&#x2F;blob&#x2F;master&#x2F;L...</a>
评论 #13015313 未加载
评论 #13016018 未加载
评论 #13015213 未加载
评论 #13015221 未加载
评论 #13015596 未加载
评论 #13023304 未加载
zigzigzagover 8 years ago
I was totally down with this - a tight, efficient vector graphics format with After Effects integration, super - up until the point they said these animations were JSON files.<p>Huh?<p>Didn&#x27;t I just read a whole blog post saying that one of their requirements was fast loading from disk, small bandwidth usage, etc? And that&#x27;s what justified creating an entirely new image format from scratch, not something the internet is really suffering a shortage of already?<p>I know JSON is fashionable but that ending just seems kind of ridiculous. What&#x27;s wrong with a binary format? Use Cap&#x27;n&#x27;Proto and mmap it! Saying numbers <i>represented as text</i> compresses well was the icing on the cake. No shit!
评论 #13016223 未加载
评论 #13015962 未加载
评论 #13016272 未加载
评论 #13016622 未加载
dharma1over 8 years ago
tl;dr - A plugin&#x2F;library for exporting vector animations from After Effects and using them easily in iOS&#x2F;Android apps.<p>Previous options were exporting SVG animations, rendering to bitmap spritesheets or png sequences - or having to write a spec for the AE animation and recreate it in iOS&#x2F;Android.
wiradikusumaover 8 years ago
Correct me if I&#x27;m wrong. It sounds like Keyframes is like &quot;Flash runtime&quot;, the differences are you author your animation in After Effects, and the output is JSON (instead of SWF).
评论 #13015809 未加载
评论 #13015306 未加载
valineover 8 years ago
This is a powerful idea. I&#x27;ve looked for tools to do this exact thing. I&#x27;m the sole animator on a team of software developers and currently when I want to create an animation in an iOS app I usually start by mocking up the animation in a tool like after effects, and then recreate that animation using my graph editor as reference in core animation. Svg works well for storing shapes. Having a similar standard for storing animation curves is really powerful.
评论 #13015206 未加载
sschuellerover 8 years ago
Why can&#x27;t this just be MIT licensed?
mareck16over 8 years ago
I&#x27;ve made the exact same thing, basically. A tool to convert AE animations to iOS. Has some other features, but it&#x27;s also AE -&gt; JSON -&gt; code: <a href="http:&#x2F;&#x2F;www.squall.no" rel="nofollow">http:&#x2F;&#x2F;www.squall.no</a> Cool to see what the folks at FB came up with!
评论 #13020605 未加载
kylehotchkissover 8 years ago
Neat! Where&#x27;s the react-native port? I know there&#x27;s gotta be one since FB uses it in their apps ;)
评论 #13015381 未加载
yeldarbover 8 years ago
Is there a way to also use it on the web? Presumably FB is also using it in their desktop site.
omegoteover 8 years ago
Tell me again about how bad flash was for everything, please?
评论 #13018232 未加载
amsheehanover 8 years ago
I wonder what this means for animation studios, or edit houses. Obviously most dev shops don&#x27;t have a need for full time animators, but just as obvious is that a lot of devs don&#x27;t know animation fundamentals outside of how to implement an animation without jank.
评论 #13015199 未加载
pointernilover 8 years ago
Any &quot;export-paths&#x2F;pipelines&quot; available to use the lib with After-Effects alternatives?
omginternetsover 8 years ago
I&#x27;m reminded of this: <a href="https:&#x2F;&#x2F;youtu.be&#x2F;pAEAbqrE5Zw" rel="nofollow">https:&#x2F;&#x2F;youtu.be&#x2F;pAEAbqrE5Zw</a><p>Does it represent a lot of work by skilled technicians? Undoubtedly. Is it <i>interesting</i> in it&#x27;s own right? Frankly I think not.<p>The surrounding question of the socialization of the internet is interesting, to be sure, but at the end of the day these are just animated emojis...
评论 #13015428 未加载
评论 #13015324 未加载
评论 #13015445 未加载
评论 #13016017 未加载
评论 #13015184 未加载
评论 #13015139 未加载
debtover 8 years ago
is facebook okay? how many developer hours went into making their emojis animate <i>properly</i>? i don&#x27;t want to say it&#x27;s a waste of time&#x2F;shareholder value but it might be.<p>still interesting though. gonna check it out.
评论 #13019379 未加载
nickmainover 8 years ago
Related - YouI.tv is a commercial product that exports animations and assets from AfterEffects in order to build whole apps: <a href="http:&#x2F;&#x2F;www.youi.tv&#x2F;youi-engine&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.youi.tv&#x2F;youi-engine&#x2F;</a>
puppetmaster3over 8 years ago
Or, be a winner and use GSAP.<p>Just saying.
omouseover 8 years ago
Why not APNG?
评论 #13015465 未加载
评论 #13015971 未加载
评论 #13015379 未加载