ProtoFlux:CosineLerp

From Resonite Wiki
Revision as of 23:48, 20 August 2025 by YoshBot (talk | contribs) (YoshBot moved page ProtoFlux:Cosine Lerp to ProtoFlux:CosineLerp: Automated: removing spaces from ProtoFlux namespace)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Cosine Lerp
A
*
B
Lerp
Interpolation

The Cosine Lerp node takes in a starting low point A (the minimum part of the curve) and a high point B (the maximum part of the curve) along with a lerp value of which it lerps similarly like a cosine wave and returning back to the low point, then returns the value over time.

This is clamped, meaning that you are stuck with being in between the A and B values.

Inputs

A (Pseudo-Generic)

The starting (low) point of this lerp curve.

B (Pseudo-Generic)

The high point of this lerp curve.

Lerp (float)

The lerp value for this curve.

Outputs

* (Pseudo-Generic)

Returns the value currently being lerped.

Further Reading

Videos