2 ms·
Really nice, thank you I'm keeping it. One section that may be added would be about interpolations. I think the formula I implemented the most is a * p + b * (
by GuB-42 6y ago
Really nice, thank you I'm keeping it.
One section that may be added would be about interpolations. I think the formula I implemented the most is a * p + b * (1.0-p), i.e. a simple linear interpolation, which is also an extrapolation when p is not in [0..1]. Obviously useful in graphics and animation but also every time you want to give the user a non-binary choice.
A lot can be said on that topic: bilinear, cubic, smoothstep, etc...