Remapping values with the lerp() function
Someone on here (*cough*) went to great lengths to create a ValueMapper node a few years ago. Turns out, you can do the same thing much easier with the lerp() function. Like this:
1 |
lerp(oldMin, newMin, oldMax, newMax, curve) |
Yeah, I know. Where was this function all these years?
Taking the edge off the Sharpen node Set Expression via Python