Electric Potential

Interactive simulation — adjust parameters and watch the visualization update in real time.

How it works

Scalar **electric potential** from point charges: **V = Σ k qᵢ / r** (same plane, relative units). The heatmap uses **blue** for lower **V** and **red** for higher **V**. Near each charge the magnitude blows up — color limits are set from the rest of the plane so you can still see structure. **E⃗ = −∇V**, so field lines run **downhill** on this map for a positive test charge.

Key equations

V(r⃗) = Σ k qᵢ / |r⃗ − r⃗ᵢ|  ·  E⃗ = −∇V