From afe6fc941e341e4fcfe61390fe9b4cb63f825ec6 Mon Sep 17 00:00:00 2001 From: Evan Hemsley Date: Wed, 30 Oct 2019 20:33:50 -0700 Subject: [PATCH] adds README --- README.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..0d4a67c --- /dev/null +++ b/README.md @@ -0,0 +1,28 @@ +# MoonTools.Core.Easing + +Easing functions for .NET Core + +## Reference + +https://easings.net + +## Example + +Use easing functions to transform time values and get fancy animations along paths. + +```cs +using MoonTools.Core.Easing; + +// 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. +Easing.OutQuart(2, 10, 100, 4); // => 103.75 +``` + +## Additional Info + +Use this library with [MoonTools.Core.Curve](https://github.com/MoonsideGames/MoonTools.Core.Curve) for some nicely animated Bezier curves! \ No newline at end of file