Comments (2)
Hi @mohamede1945
I don't know what's your exact use case.
But I guess you can,
- use
KFVectorFromDictionaryInRange
to only export part of the whole animation
or - in After Effect, trim your animation to that range before exporting.
It's not very straightforward to control the animation playback programmatically, you might want to check CAMediaTiming
from keyframes.
Thank you so much! I think I will go with the KFVectorFromDictionaryInRange
. I was trying to do it with CAMediaTiming but failed.
My use case was to animate an image between 3 states, (A, B, C). User taps on the button the image animates A -> B taps again B -> C taps again C -> A. I wanted to do it with just one vector so that I don't recreate CALayers again.
from keyframes.
Related Issues (20)
- Show different in ios and android HOT 2
- Is there support of macOS now? HOT 3
- [Android] - Support size change? HOT 2
- Pod name is `keyframes` instead of `Keyframes`
- Any updates on the new release date? HOT 1
- [iOS] animationDidStopBlock called twice HOT 5
- cocoapods release HOT 1
- Illegar argument for frame_rate HOT 1
- Path trimming and bitmap support not working HOT 2
- List effects after effect available in keyframes HOT 1
- Publish updated keyframes-cli to npm?
- From AE: Only serialize images used in active comp, not ALL of them in the project
- Suggestion: add Keyframes Player information to readme
- keyframes-cli: Exported files should include AEP name as well as comp name
- Carthage Support Broken On Case-Sensitive FS
- Values in timing_curves outside of [0,1]
- can't import HOT 1
- Suggestion: remove "buildToolsVersion" and its usages
- This Folder?
- KeyFrames not working in custom view image
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from keyframes.