The wing macro calculates the finger, hand, elbow and shoulder positions of a flapping wing. Given a hand position it can also calculate the other positions for a stationary or erratically moving wing.