/InterpolatorPlayground

Clone of InterpolatorPlayground from Google's android-ui-toolkit-demos repo

Primary LanguageJavaApache License 2.0Apache-2.0

#Interpolator Playground

This application shows how the various Interpolator implementations in the platform work. You can vary the duration of the animation as well as the constructor parameters of any of the variable interpolators and use the values in the UI to inform how to write your code that uses that interpolator. Changes to the animation parameters will be reflected dynamically in the blue curve and running the animation will show the animation in action (with the red circles on the curve as well as in the open area at the bottom).

Copied from https://github.com/google/android-ui-toolkit-demos/tree/master/Animations/InterpolatorPlayground

New features include:

  • interpolators from the Support library
  • a bunch of custom interpolators as well.

To use:

  • Select any of the built-in, Support or custom interpolators from the drop-down list at the top
  • Use the slider(s) to change the animation duration and/or any of the variable parameters for the selected interpolator
  • Click the 'Run' button to see the animation in action
  • Note the values of the duration and other parameters to use in your animation code

InterolatorPlayground screenshot