Documentation
¶
Index ¶
- func EaseIn(progress float64) float64
- func EaseInOut(progress float64) float64
- func EaseOut(progress float64) float64
- func EaseOutBounce(progress float64) float64
- func Lerp(v1, v2 float64, progress float64) float64
- func Lerp2D(x1, y1 float64, x2, y2 float64, progress float64) (x, y float64)
- func LerpPoint(p1, p2 image.Point, progress float64) image.Point
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EaseOutBounce ¶
EaseOutBounce is an easing function that rapidly approaches the end and then bounces back, gradually settling in to place. Using the algorithm described at https://easings.net/#easeOutBounce.
func Lerp ¶
Lerp performs a linear interpolation between two values, given the progress between them in the range [0,1].
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.