ComfyUI Node
LERP (JOV) π°
Calculate linear interpolation between two values or vectors based on a blending factor (alpha). The node accepts optional start (IN_A) and end (IN_B) points, a blending factor (FLOAT), and various input types for both start and end points, such as single values (X, Y), 2-value vectors (IN_A2, IN_B2), 3-value vectors (IN_A3, IN_B3), and 4-value vectors (IN_A4, IN_B4). Additionally, you can specify the easing function (EASE) and the desired output type (TYPE). It supports various easing functions for smoother transitions.
LERP (JOV) π°
- π °οΈ
- π ±οΈ
- π
- π °οΈπ °οΈ
- π ±οΈπ ±οΈ
- π¦
ββFLOATβΊ
βEASENONEβΊ
CategoryJOVIMETRIX πΊπ©π΅/CALC
Inputs (7)
| Name | Type | Default | Description |
|---|---|---|---|
| π °οΈopt | * | Custom Start Point | |
| π ±οΈopt | * | Custom End Point | |
| πopt | VEC4 | 0.5,0.5,0.5,0.5 | Blend Amount. 0 = full A, 1 = full B |
| π °οΈπ °οΈopt | VEC4 | 0,0,0,0 | default value vector for A |
| π ±οΈπ ±οΈopt | VEC4 | 1,1,1,1 | default value vector for B |
| βopt | COMBO | FLOAT | Output type desired from resultant operation |
| EASEopt | COMBO | NONE | Easing function |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| π¦ | * | O |