The work could be a step toward understanding the effects behind the phenomenon of static electricity, in which electric charge accumulates on materials after they are rubbed or touched together.