Easing.

CircularEaseInOut(double) Method

Namespace
StrideToolkit.Mathematics
Containing Type
Easing

Syntax

public static double CircularEaseInOut(double amount)

Remarks

Modeled after the piecewise circular function y = (1/2)(1 - Math.Sqrt(1 - 4x^2)) ; [0, 0.5] y = (1/2)(Math.Sqrt(-(2x - 3)*(2x - 1)) + 1) ; [0.5, 1]

Parameters

Name Type Description
amount double

Return Value

Type Description
double