This demo shows how the shingle approximation works for the graph of a function f(x, y). Increase the resolution to get a better approximation. Try changing f(x, y) as well.