If you want to see a rigid pencil turn to rubber, just ask an elementary-school student. In a favorite playground trick, an amateur magician picks up a pencil near the tip and lightly jiggles the whole thing up and down. When the illusion is performed correctly, the straight line turns into a wiggling wave. 

So, how does the rubber pencil illusion work?