From efd849e286aec39957d42eabd7338c01c61da457 Mon Sep 17 00:00:00 2001 From: MasatoMakino Date: Tue, 4 May 2021 22:25:10 +0900 Subject: [PATCH] add : documentation for TWEEN.Easing.generatePow() --- docs/user_guide.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/user_guide.md b/docs/user_guide.md index 11adfb1..3424cdd 100644 --- a/docs/user_guide.md +++ b/docs/user_guide.md @@ -277,6 +277,8 @@ There are a few existing easing functions provided with tween.js. They are group Probably the names won't be saying anything to you unless you're familiar with these concepts already, so it is probably the time to check the [Graphs](../examples/03_graphs.html) example, which graphs all the curves in one page so you can compare how they look at a glance. +TWEEN.Easing also has a function called generatePow(). This function generates easing functions for different curves depending on arguments. You can check the relevance of the arguments to curves in the [example of pow easing](../examples/17_generate_pow.html) page. + _Credit where credit is due:_ these functions are derived from the original set of equations that Robert Penner graciously made available as free software a few years ago, but have been optimised to play nicely with JavaScript. ### Using a custom easing function