In the real world drumming or tapping the fingers can indicate frustration so I am not sure why you would want this as a loading indicator on your webpage but if you do this snippet by Petr UrbΓ‘nek does just that.

If you are having trouble with the pen, try the archived copy on GitHub

Finger Tapping Snippet

See the Pen Hand animation – loading by r4ms3s (@r4ms3s) on CodePen.0