Realtime Terrain Mesh Deformation

How can I achieve this?

I’ve tried contacting the author the video, but haven’t received a reply…

Any ideas how this is done?