The electrical properties of the two pieces of glass are similar to each other but opposite to those of the two pieces of resin : the glass attract what the resin repels and repels what the resin attracts . The electrical properties of the two pieces of glass are similar to each other but opposite to those of the two pieces of resin : the glass attracts what the resin repels and repels what the resin attracts .