Bunker LabsResearch facility
- 11 divisions
- 55 experiments
- 8 working
- 0 validated
- 0 archived
BL-03-04 Research dossier · Division 03, Scientific Computing
Electromagnetic field visualization
Open Field Lines Lab Working, experimental, not validated.
Lifecycle: stage 3 of 6
- 1 Research concept (passed)
- 2 Proof of concept (passed)
- 3 Experimental implementation (current stage)
- 4 Public testing (not reached)
- 5 Validation and optimization (not reached)
- 6 Graduation or archival (not reached)
Dossier
- Purpose
- Draw electric and magnetic fields from charges, wires and coils, and show waves moving through space. The electric field of point charges works now (the Field Lines Lab); magnetic fields and waves come next.
- Methodology
- Built (Field Lines Lab): the static field of up to 16 point charges and an optional uniform field, from Coulomb’s law. Field lines are traced along E with fourth-order Runge–Kutta, equipotentials found by marching squares on a grid of the potential, and |E| shown as a log-scale colour map. E and V are read out under the pointer; charges move by mouse, touch or keyboard.
- Check (built in): the page’s own field function against values worked out by hand from Coulomb’s law at sample points, and a dipole measured along its axis from 5 to 160 times its length against the exact formula and the expected 1/r³ fall-off.
- Planned: wires and coils with the Biot–Savart law, checked against the field of an infinite wire.
- Planned: a 2D finite-difference time-domain (FDTD) solver for waves, reflections and simple antennas.
- Browser
- Any current browser. WebGPU later, for the wave solver at useful sizes.
- Hardware
- Any.
- Known limitations
- Only static electric fields of point charges so far: no magnetic fields, conductors, dielectrics or waves.
- Charges are points in 3D space seen in one plane, so fields fall off as 1/r²; they are not infinite lines of charge.
- Field lines start from the positive charges, more for bigger charges. In weak regions and near the edges that is a picture, not a measurement; the readout and the Check use the exact formula.
- For the planned wave solver: FDTD on a coarse grid has numerical dispersion, so waves travel at slightly wrong speeds. 2D only at first.
- Resource usage
- Measured on the developer’s PC in Microsoft Edge (2026-11-30): a full redraw with 14 charges took about 22 ms, fewer charges less. Nothing runs between changes.
- Validation
- Not validated yet. The built-in Check passed on 2026-11-30, in Microsoft Edge on the developer’s Windows PC. At five sample points (one charge at a 3-4-5 distance, two equal charges at their midpoint, a + and − pair at two points, a uniform field alone) the page’s E and V matched values worked out by hand from Coulomb’s law to within 2.2 × 10⁻¹⁶ (the test allows 10⁻¹²). A dipole’s field along its axis matched the exact on-axis formula to within 1.2 × 10⁻¹⁴ from 5 to 160 dipole lengths, and fell off with a log-log slope of −3.0001 between 80 and 160 lengths, as 1/r³ requires. The drawn field lines and equipotentials are not part of the Check.
- Where data is processed
- In your browser. Nothing is uploaded or stored.
Journal
Field Lines Lab v0.1 built: point charges and a uniform field, field lines, equipotentials, a field-strength map and a live E and V readout, with a built-in Check against Coulomb’s law.
Builds on
Existing tools this project starts from. They are foundations, not the experiment.
- Physics PlaygroundTool on the site
- Differential Equation SolverTool on the site