Lerp
Blends the module A and the module B using a linear interpolation.
Alpha value will choose the output value. If the alpha value is 0, module A value will be selected. If the alpha value is 1, module B will be selected. A value of 0.5 means half of the module A value and half of the module B value.
Alpha ranges from 0 to 1.
Node inputs/outputs
Node inputs/outputs
The module constructor needs:
Module A : the Generation Module to blend to the module B
Module B : the Generation Module to blend to the module A
Alpha : the value used to blend A and B modules
The output value is a Generation Module
Examples
Examples
Lerp a checkerboard and a sine with alpha value = 0.2Â
Lerp a checkerboard and a sine with alpha value = 0.5
Lerp a checkerboard and a sine with alpha value = 0.8