From what I remember, not having seen it in awhile, the Medusa snakes are just inert rubber sculptures on the actor's head in long shots, and then in a "money-shot" close-up, stop motion animation is matted in to show one of the snakes snatching a passing insect as the others writhe and hiss.