Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UI Infrastructure: Animation API #77

Merged
merged 12 commits into from Dec 4, 2018
Merged

Conversation

bryphe
Copy link
Member

@bryphe bryphe commented Nov 29, 2018

Implement #44

TODO:

  • Consolidate math utilities into Revery.Core/Revery.Math
  • Consolidate Time variant/type into the time in Revery.Core
  • Clean up tests
  • Create useAnimation hook, usage:
let v = useAnimation(Animated.floatValue(0.), { duration: Seconds(1.), easing: Animated.linear, delay: Seconds(0.), toValue: 1});

There's a couple of other hooks-based animation APIs I'd like to explore too:

  • useSpring
  • useTransition

@bryphe bryphe changed the title [WIP] Animation API [WIP] UI Infrastructure: Animation API Nov 29, 2018
@bryphe bryphe changed the title [WIP] UI Infrastructure: Animation API UI Infrastructure: Animation API Dec 4, 2018
@bryphe bryphe merged commit e6e61d0 into master Dec 4, 2018
@bryphe bryphe deleted the bryphe/feature/animations branch December 4, 2018 20:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant