Betwixt (/bɪˈtwɪkst/ - preposition & adverb - archaic term for between) is an android library that aims to provide a unified composable api for animation Interpolators, both provided already by the platform and for new ones provided by the community
To see some interpolators in action and examples of how betwixt allows composing of different interpolators, try downloading the demo app from Google Play™
or you can try an online demo here (note that performance of the online demo may not be sufficient to see smooth animations)
Betwixt provides a fluent syntax for creating and composing interpolators, including ones provided by the Android platform, such as:
but also new custom ones:
The library's power, though, comes from its composable interpolators. These allow you to create complex animations like:
This extension to the library allows integration with the Facebook library rebound to allow creation of interpolators backed by a Spring
The library is available on JCenter. Note that it is still in early development and things might change with subsequent versions.
To use it in your project, add the following to your project
<dependency> <groupId>com.savvasdalkitsis</groupId> <artifactId>betwixt</artifactId> <version>1.0.0</version> </dependency>
betwixt-rebound you can use:
<dependency> <groupId>com.savvasdalkitsis</groupId> <artifactId>betwixt-rebound</artifactId> <version>1.0.0</version> </dependency>
Copyright 2016 Savvas Dalkitsis Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.