Evan Hemsley
b46b3eef94
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/tag Build is passing
Details
|
||
---|---|---|
Easing | ||
Test | ||
.drone.yml | ||
.gitignore | ||
LICENSE | ||
MoonTools.Core.Easing.sln | ||
README.md |
README.md
MoonTools.Easing
Easing functions for .NET Standard
Reference
Example
Use easing functions to transform time values and get fancy animations along paths.
using MoonTools;
// Transform a normalized time value.
Easing.InQuad(0.75f); // => 0.5625f
// Transform a time value within a time range.
Easing.InOutSine(3.5, 2, 6); // => 3.2346331352698
// Move within an arbitrary number range based on time.
// (time, start, delta, duration)
Easing.OutQuart(2, 10, 100, 4); // => 103.75
Additional Info
Use this library with MoonTools.Core.Curve for some nicely animated Bezier curves!