Skip to content
Hub Nexus

No author yetClaim it

Version 4Updated 3 min read

Support

Einstein's formulation of special relativity was motivated by how electric and magnetic fields transform, yet previous simulations have focused mainly on kinematics such as time dilation, length contraction and frame transformations and largely overlooked electromagnetism. An arXiv paper presents a computer simulation that addresses this. It shows electromagnetic fields from the viewpoint of a moving observer, who sees the world through their past light cone and feels the Lorentz force at that spacetime point.

Why a simulation

The paper starts from the difficulty students have with frames of reference, simultaneity and transformation laws, which algebraic derivations and static spacetime diagrams often fail to resolve. It argues that interactive visualization with guided conceptual inquiry can improve learning. Earlier tools, including the authors' own previous work on a past-light-cone view of relativistic motion, covered kinematics. The authors say this is, to their knowledge, the first fully relativistic, Lorentz-covariant computer simulation of electromagnetic fields from a moving observer's viewpoint.

How it works

  1. At each point on the observer's past light cone, the electromagnetic field is calculated and transformed into the observer's rest frame, showing how electric and magnetic parts mix depending on the frame.
  2. Every charged particle, the observer included, feels the Lorentz force from the field at its own location.
  3. The field at any point comes from the subluminal motion of point charges, taken where their worldlines cross that point's past light cone, which keeps the result causal and Lorentz covariant.

The rest of the paper sets out the covariant mathematics behind these steps; this summary leaves that out.

Using the sample program

The authors released sample code. Electric fields appear as green arrows, magnetic fields as yellow arrows and, optionally, the Poynting vector as magenta arrows, evaluated on two perpendicular planes or throughout a 3D grid. Positive and negative charges are red and blue icosahedrons. A slider changes the speed of light by factors of 2, and a button switches off the transformation to the observer's rest frame. On a keyboard, W, S, A and D accelerate the observer, and on a touch screen, pinching accelerates and double-tapping brakes.

Presets include a static charge, a charge in forced harmonic oscillation, a loop of charges whose rotation speeds up toward light speed, and pairs of dynamical charges.

Static charge preset: green electric field arrows around a positive point charge at rest

Static charge preset after the observer accelerates: the charge appears to approach, producing magnetic field arrows circling its velocity

Static Charge preset, before and after forward acceleration of the observer. From the paper (CC BY 4.0).

The loop preset shows the effect. At non-relativistic speeds, the magnetic field winds around the current, with flux left to right inside the loop and right to left outside. At ultra-relativistic speeds the field becomes a vortex along the rotation axis, with flux left to right both inside and outside.

Current Loop preset at non-relativistic speed: magnetic field winding around the current

Current Loop preset at ultra-relativistic speed: vortex-like magnetic field along the rotation axis

Current Loop preset at low and at ultra-relativistic speed. From the paper (CC BY 4.0).

What it shows

Users can see electric and magnetic components change with their own velocity, which gives intuition for time dilation, length contraction and the unity of electric and magnetic phenomena. It also shows Lorentz stretching, an often overlooked result of field transformations. The authors suggest uses in courses on special relativity or electrodynamics and in outreach, and propose adding gravitational effects later.

Sources

  • "Seeing through the light cone: Visualizing electromagnetic fields in special relativity", arXiv, https://arxiv.org/abs/2505.20596; licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). The page does not name the authors. Changed here: rewritten, condensed and without the mathematics, in hubnx's own words; four of the paper's figures are kept, with alt text written here.
  • Authors of the original: Daiju Nakayama, Kin-ya Oda, Koichiro Yasuda.

Comments

Spinner Logo

More on Education

By Abdul Ariwoola
Random article
By Hub Nexus editorsViews: 282
A demo for the Hub Nexus content editor, showing what could be created, and at the same time teaching how to create them with each syntax. It follows general markdown syntax, gfm, and more advanced like various charts and graphs code syntax.
CC BY-SA 4.0
Inevitably, the requirements change over the lifetime of the system, forcing continual system evolution. Often, these modifications are conducted long after the software was originally written, usually by someone other than the original author. Easy and successful modification requires that the soft
CC0 1.0 (public domain)
New music from Cake. And a question from Brazil about the culture of New York City | AMERICAN MOSAIC