Interactive Electrostatics

Positive–Negative Dipole

Electric-field vectors sampled directly from Coulomb’s law, with mathematical field-line guides integrated through the field.

DRAG TO ORBIT · WHEEL TO ZOOM · SHIFT-DRAG TO PAN · HOVER TO SAMPLE E
Field model
E(r) = k [ q₊(r−r₊)/|r−r₊|³
        + q₋(r−r₋)/|r−r₋|³ ]
q₊ = +1,  q₋ = −1,  k = 9
Calculated arrows Each arrow is a normalized sample of E(x, y).
Mathematical guides RK4 integration of dr/ds = E/|E| through the vector field.
2.4
Legend
Positive charge, q = +1
Negative charge, q = −1
Integrated field line
Lower |E| Higher |E|
Live field sample
x—
y—
E—
|E|—
Initializing vector field