Nodes/Jovimetrix/LERP (JOV) πŸ”°
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.

By AmoranoΒ·Created 3 years agoΒ·Updated 11 months agoΒ· 397
LERP (JOV) πŸ”°
  • πŸ…°οΈ
  • πŸ…±οΈ
  • πŸ›Ÿ
  • πŸ…°οΈπŸ…°οΈ
  • πŸ…±οΈπŸ…±οΈ
  • πŸ¦„
◄❓FLOATβ–Ί
β—„EASENONEβ–Ί
CategoryJOVIMETRIX πŸ”ΊπŸŸ©πŸ”΅/CALC

Inputs (7)

NameTypeDefaultDescription
πŸ…°οΈopt*Custom Start Point
πŸ…±οΈopt*Custom End Point
πŸ›ŸoptVEC40.5,0.5,0.5,0.5Blend Amount. 0 = full A, 1 = full B
πŸ…°οΈπŸ…°οΈoptVEC40,0,0,0default value vector for A
πŸ…±οΈπŸ…±οΈoptVEC41,1,1,1default value vector for B
❓optCOMBOFLOATOutput type desired from resultant operation
EASEoptCOMBONONEEasing function

Outputs (1)

NameTypeDescription
πŸ¦„*O