Автора пока нетВзять себе
- Языки
- English
- Темы
- ОбразованиеНаука
Instructors often show electromagnetic fields in class with two-dimensional slices of field plots. The CUBE puts a student inside a cubical virtual-reality room whose walls show the fields of a point charge. The student grabs the charge and moves it, and watches the fields change. The software was developed to help visualize electromagnetic fields, particularly the less familiar radiation fields students typically encounter in upper level physics courses.
The problem with teaching fields
Introductory courses use electric field lines to predict how a test charge moves and to define flux. Magnetic field lines are usually drawn only for simple cases such as steady currents in wires, since the more involved cases spoil their usefulness. In upper-level electrodynamics, instructors usually switch to contour plots of field magnitudes, which can separate the static "Coulomb" field from the radiation field, but doing so typically needs highly symmetric source motion and two-dimensional slices.
Virtual reality gives a fully three-dimensional space. Earlier educational VR tools exist, including ScienceSpace for high school physics, and cheaper programmable VR hardware has spread such tools. The CUBE is meant as another addition to the electromagnetic VR library, taking advantage of hardware and software advances of the last five years or so. It was built in the Unity environment, which presents a relatively low bar to VR development, and uses GPU acceleration through shaders to do more, and faster, than similar earlier software.
The user stands in a cubical room with walls showing contour maps of the fields of a point charge, represented by a small sphere. A menu on the left hand controller lets them choose:
- the electric field (E), the magnetic field (B) or the Poynting vector (S), which describes energy flow;
- the magnitude of the field at the walls, or the tiny flux through the walls;
- the speed of light, to see relativistic effects;
- radiation field only;
- automatic movement of the charge along preset paths.

The menu in the CUBE (figure from the paper, CC BY 4.0).
Three goals
The authors wanted to: show the geometry of the "near" field, the part falling off as 1/r²; let students see the radiation field separate from the rest of E and B and build intuition about it; and show the difference between non-relativistic and relativistic motion, in terms of the energy flowing through a surface.
Static fields
For a charge at the center of the room, the electric field magnitude appears as a heat map, with lighter colors for larger values, giving the familiar diffuse circle on each wall. Magnitude cannot show how the magnetic field's direction relates to the direction the source moves, so a flux mode shades the walls light where the field points into the wall and dark where it points out. For magnetic flux, the pattern of light and dark flips when the charge moves up instead of down. The cube shape helps too: some users put the charge near a corner to see the field projected on three walls at once, which a spherical room could not do, though the authors note that geometry has its own benefits.

The electric field magnitude on the walls for a charge at the center of the CUBE (figure from the paper, CC BY 4.0).
Radiation from a moving charge
The radiated power can be surprising. At low speeds, the Poynting vector is largest at points perpendicular to the charge's acceleration. If a user moves a charge up and down rhythmically and displays the Poynting flux, they see large values on the side walls and little on the ceiling and floor. For a person moving a charge by hand, the radiation part of the fields dominates, and a checkbox shows that part alone.



A charge moved vertically: radiated power lands on the side walls at the start (left), nearly vanishes as the charge passes the center, where acceleration is about zero (middle), and returns near the top of its motion (right) (figures from the paper, CC BY 4.0).
Acceleration is not measured, so the software estimates it from the velocity values, which are collected every 0.02 s.
Relativistic motion
Sources moving at relativistic speed are even less familiar to students. A "speed of light" slider lets the user set c low enough that arm-waving speeds count as relativistic. At such speeds the power concentrates in the forward direction (set by the velocity), still with a hole directly in front of and behind the acceleration vector. Users can compare it with the pattern for a large speed of light, which is the non-relativistic case. Preset paths help students focus on the radiated power rather than on trying to wave a controller in a perfect sinusoid. For uniform circular motion at low speed, the power is mainly in front of and behind the particle, perpendicular to its inward acceleration; near the speed of light it is focused forward.


Circular motion: slow (left), with power perpendicular to the acceleration and equal forward and backward, and near the speed of light (right), with power focused forward (figures from the paper, CC BY 4.0).
Implementation notes
The speed-of-light slider scales exponentially rather than linearly, so users can pass quickly through speeds where relativistic effects are hard to see. The particle's speed is not capped, so at a low speed of light it can exceed it; the menu then shows a "speed limit" sign to warn that the display may no longer be accurate. Three color palettes are offered, viridis, magma and a diverging red-blue one. Viridis and magma were designed to portray data accurately even for colorblind viewers, and viridis is the default; the red-blue palette is not colorblind-friendly but shows the split between positive and negative flux most clearly.
What the authors plan
The CUBE, its source code and documentation are on GitHub at ReedPhysicsVR/TheCUBE, and the authors invite people to try it and extend it. They hope to add a spherical room whose radius can change to probe the near and far fields, a full retarded-time calculation, and field lines that users can start from any point in space in real time.
Sources
- Laura Estridge and Joel Franklin, The CUBE Virtual Reality Immersion, arXiv:2512.05280 (2025), licensed CC BY 4.0. Changed here: condensed and rewritten, equations and some figures left out; rewritten in hubnx's own words.
Комментарии




