Electric Field Of A Charge in Uniform Relativistic Motion

Live Script exploring the electric field lines of a uniformly moving charge. Author: D. Carlsmith
6 Downloads
Updated 9 Feb 2026

View License

This educational Live Script visualizes the electric field of a point charge in uniform motion. As the charge velocity approaches the speed of light, the field lines undergo dramatic relativistic compression toward the plane perpendicular to the velocity. The visualization represents electric flux by using rejection sampling to distribute field lines with angular density proportional to the relativistic field strength.
This script may interest students and instructors of physics with a background in intermediate electromagnetism and special relativity. 'Try this' suggestions, hyperlinks, and references are included for further exploration.
Additional educational Live Scripts by the author are available here.

Cite As

Duncan Carlsmith (2026). Electric Field Of A Charge in Uniform Relativistic Motion (https://www.mathworks.com/matlabcentral/fileexchange/183184-electric-field-of-a-charge-in-uniform-relativistic-motion), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2025b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Version Published Release Notes
1.01

Added interactive_examples tag

1.0.0