Bilinear interpolation with fixed grid

So basically i would like to have the same effect but with more controlpoints, like this:

Or something like this, but with fixed controlpoints:
https://chenxing.name/fun/imgwarp-js/

Unfortunately I cant really provide any useful source code, because I gave up using the shader, and I’ve been trying to move only the vertices around.:confused: