I also add small circle along the circuit loop to simulate the average motion of charge particle in the loop.
The current flow I in the loop in proportional to (in phase) the voltage of the resistor VR.
However, there is a 90 degree out of phase between voltage of inductor/capacitor and the current I.
The slider bar on the left is used to adjust the voltage of the source. V