The piston effect is an optical illusion which occurs when two independent rectangular objects are moved backwards and forwards on either side of a screen. With appropriate timing they appear as a single object acting like a piston.