That's what I started out with! Fill the entire universe with solid rock (since air and vacuum are insulating.) Bore out a cylinder, fill it with water (electricity), and add a piston and spring. Wires are water-channels added to either end.
But note that, if we use a constant-force spring, then the voltage remains the same until just before the "capacitor" is totally discharged. So, it acts like a battery! To get a "capacitor," the spring must have an unchanging spring-constant, so that the potential-difference rises in proportion to how much water has been pumped from one terminal to the other.
But note that, if we use a constant-force spring, then the voltage remains the same until just before the "capacitor" is totally discharged. So, it acts like a battery! To get a "capacitor," the spring must have an unchanging spring-constant, so that the potential-difference rises in proportion to how much water has been pumped from one terminal to the other.