Electrostatic generators, such as the Van de Graaff generator and Wimshurst machine, produce high voltage static electricity through friction or induction. The Van de Graaff generator operates using a motor, rollers, and a rubber belt to build a charge, reaching potentials of up to 5MV, and is utilized in medical x-ray generation and research. The Wimshurst machine builds static charge through spinning wheels and charge collectors, enabling it to generate electrical discharges for various applications.