An interactive animation showing a variable resistor. Using the green slider to vary the resistance of the resistor. The resistance is determined by the length of the wire through which current flows.
View the discussion thread.