What tapping one foot does during a long sit
Researchers compared the two legs of the same person. A minute of fidgeting changed blood flow behind the moving knee.

Your heel bounces under the desk while your other foot stays flat. Is anything changing besides the noise? In a lab study, blood flow rose briefly behind the knee of the moving leg. The researchers could compare it with the still leg at exactly the same moment. [1]
How much fidgeting did people do?
Eleven healthy young adults sat for three hours. They moved one leg for a minute, then kept it still for four minutes. They repeated that pattern while the other leg stayed still throughout.
The team measured blood flow behind each knee. It picked up after each bout of movement, then tapered off over the next minute. Using both legs from the same person meant the chair and time spent sitting were the same on both sides. [1]
Did anything last until the end of the session?
Yes. The researchers also tested how much an artery could widen when blood flow increased. After three hours, it widened less than before in the still leg. In the moving leg, it widened more. This was a short test in 11 people. It gives no estimate of anyone’s long-term risk of heart disease. [1]
When you notice your heel tapping, picture the brief pulse of extra blood behind that knee. How it compares with getting up for a walk is a separate question.