Move your mouse to see how barycentric coordinates work
https://codeplea.com/triangular-interpolation