First Person Swimming Animations

I’ve seen this done, but how is it achieved?