This is just enough to compensate for the friction of the pendulum ball moving through the air.
(This; is; just enough to compensate for the friction of the pendulum ball) (the pendulum ball; moving; through the air)
This the pendulum ball
is moving
just enough to compensate for the friction of the pendulum ball
through the air