Finds the minium value of a vector and the maximum value of a vector, and then lerps between the two by the factor z.

lerp_vec(vec, z = 0.5)

Arguments

vec

numeric vector of values.

z

proportion to lerp by (0-1).