Four charged particles are are randomly placed using JavaScript and the field lines are calculated. You can click-drag any of these particles to see how the field changes.