ProtoFlux:Cosine Lerp

From Resonite Wiki
Revision as of 15:43, 2 July 2024 by AmasterAmaster (talk | contribs) (Created a page for the Cosine Lerp node.)
(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