A magician is performing a machine trick with glass balls.