Back in the WW2 tube days, the only way to make an electrically sweepable RF oscillator was with a mechanically driven capacitor. I actually possessed one of the infamous wobulators at one stage when I was in my early teens.
As I remember, it was a round metal can with one fixed and one movable capacitor plate. The fixed plate was connected to the metal can, which was of course grounded.
The movable plate was activated by a solenoid and very likely a spring. The evil thing would buzz, and rattle loudly if over driven. It was horribly unstable, or maybe I was doing it all wrong ?
Wobbly old wobulator is very aptly named.
If you have never seen one, you have not missed much.