Docs / Shaping functions

Glossary: IOneParameter

The property of IOneParameter.

Color legend plain property

Gives a function its first parameter, A.

An interface: the root of the parameter interfaces. Every function with parameters A to D has it. The parameters page shows it in context, with code.

Names are colored by what they are: a property.

Properties

A →

float · Each function clamps it to its range when it is set: 0 to 1 for the two Béziers, and 0.00001 to 0.99999 for every other function, whose curve divides by A or by 1 − A. Throws ArgumentOutOfRangeException for NaN and keeps the value it had. At the bottom of its range by default.

Functions that have it

Function What A is there
BezierCubic The x of the first control point, the one the curve leaves (0, 0) toward.
BezierQuadratic The x of the control point.
CircularDoubleSeat Where the two arcs meet: the curve is flat at the point (A, A).
CircularDoubleSigmoid Where the two arcs meet: the curve is upright at the point (A, A).
EllipticalDoubleSeat The x of the point where the two arcs meet, flat.
EllipticalDoubleSigmoid The x of the point where the two arcs meet, upright.
ExponentialDoubleSeat How flat the middle is: the two halves are powers of 1 − A, so 0 is a straight line and values near 1 a plateau at 0.5.
LogisticSigmoid How steep the S is: the steepness is 1 / (1 − A) − 1, so 0 is a straight line and values near 1 a step at 0.5.
QuadraticThroughAGivenPoint The x of the point the parabola passes through.
CubicDoubleSeat The x of the point where the two cubics meet, flat.
DoubleOddPolynomialSeat The x of the point where the two halves meet, flat.