ProtoFlux:CosineLerp: Difference between revisions

From Resonite Wiki
Created a page for the Cosine Lerp node.
 
m YoshBot moved page ProtoFlux:Cosine Lerp to ProtoFlux:CosineLerp: Automated: removing spaces from ProtoFlux namespace
 
(No difference)

Latest revision as of 23:48, 20 August 2025

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