I would guess it was timed, and the brush was always dipped after a long enough travel without painting (the only time in the video when a stroke doesn't start with dipping are those weird looking very short interrupted strokes, where interruptions do not involve redipping).