Demonstration model of fields and potentials from electrostatic charges in JavaScript