Electric voltage as potential difference
This simulation is a modified form of animation by Philipp Engelbrecht (https://www.geogebra.org/m/evdkufyw).
You can use the sliders to change the voltage on the power supply (blue and red bars) and the size of the electrical resistance.