I tried to improve this from Dapontes' project You can change the positions and the values of the charges q1, q2 and q3. it now changes sign when you change the slider, and also hides the circle when its q is 0. I also made it have a varied brightness for the total amplitude of charge