Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ryanslikesocool/easekit
Make transitions look nicer with non-linear interpolation
https://github.com/ryanslikesocool/easekit
easings interpolation lerp tween unity unity3d
Last synced: 7 days ago
JSON representation
Make transitions look nicer with non-linear interpolation
- Host: GitHub
- URL: https://github.com/ryanslikesocool/easekit
- Owner: ryanslikesocool
- License: mit
- Created: 2019-06-08T10:42:30.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2024-03-03T12:40:21.000Z (9 months ago)
- Last Synced: 2024-04-18T14:02:22.587Z (7 months ago)
- Topics: easings, interpolation, lerp, tween, unity, unity3d
- Language: C#
- Homepage:
- Size: 230 KB
- Stars: 49
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# EaseKit
40 non-linear easing methods to make transitions nicer in Unity.## Installation
**Recommended Installation** (Unity Package Manager)
- "Add package from git URL..."
- `https://github.com/ryanslikesocool/EaseKit.git`**Alternate Installation** (Not recommended)
- Get the latest [release](https://github.com/ryanslikesocool/EaseKit/releases)
- Open with the desired Unity project
- Import into the Plugins folder## Usage
### Basic
```cs
using EaseKit;
// The entire EaseKit library is now available.
```
`// TODO`### Advanced
`// TODO`### With Other Packages
EaseKit has optional support for 3 other packages.If [Unity.Mathematics](https://docs.unity3d.com/Packages/com.unity.mathematics@latest/manual/index.html) (1.2.4 or later) is included in the project, interpolators for types provided by the library are enabled.\
Supported `Unity.Mathematics` interpolator types include:
- All `float` vectors
- `double` and all `double` vectors
- `quaternion`If [ClockKit](https://github.com/ryanslikesocool/ClockKit) (2.0.0 or later) is included in the project, convenience functions to start timers with easings and interpolators are enabled.
If [UnityFoundation](https://github.com/ryanslikesocool/UnityFoundation) (0.1.0-pre.1 or later) is included in the project, interpolators for types provided by the library are enabled.\
Support `UnityFoundation` interpolator types include:
- `ClosedRange`## Acknowledgements
[Robert Penner's Easing Functions](http://robertpenner.com/easing/)\
[acron0's C# port of Robert Penner's Easing Functions](https://github.com/acron0/Easings)