Abstract: An electric generator (10) that comprises:—a first layer (11) based on a polyvinyl polymer;—a second layer (12) made of graphite or graphene in contact with the first layer (11);—a first electrical contact (13) connected to the first layer (11); and—a second electrical contact (14) connected to the second layer (12).