| Issue |
EPJ Web Conf.
Volume 365, 2026
BPU12 Congress – 12th General Conferences of the Balkan Physical Union
|
|
|---|---|---|
| Article Number | 07006 | |
| Number of page(s) | 10 | |
| Section | Physics Education, History and Philosophy of Physics | |
| DOI | https://doi.org/10.1051/epjconf/202636507006 | |
| Published online | 15 April 2026 | |
https://doi.org/10.1051/epjconf/202636507006
A relativistic simulator in python
Department of Physics, University of Bucharest, Atomistilor 405, Magurele, 077125, Ifov, Romania
* e-mail: This email address is being protected from spambots. You need JavaScript enabled to view it.
** e-mail: This email address is being protected from spambots. You need JavaScript enabled to view it.
Published online: 15 April 2026
Abstract
We present a 3D relativistic simulator developed using the Ursina Engine in Python, inspired by sandbox-style games. The simulator incorporates core principles of special relativity—such as time dilation, length contraction, and the relativistic Doppler effect. It is designed as a first person perspective game, where both the player and the surrounding objects can move, which allows phenomena as the Terrell rotation to be illustrated in an intuitive manner. The simulator features multiple scenarios, each of them illustrating a different example. The main elements of theory on which the simulator is based are presented in the documentation that accompanies each scenario. Our simulator can serve as an educational tool for university or high school students. The software is modular and designed for extensibility, allowing future integration of other effects. Another key aspect is the simplicity of the implementation, which facilitates extension and modification. The rich documentation that accompanies the code allows for easy understanding of both the program and the physics behind it. This also creates the possibility of using it as a template for other projects and allows users to experiment with the underlying physics by directly modifying the code. This would contribute to cementing the students' understanding of the special theory of relativity.
© The Authors, published by EDP Sciences, 2026
This is an Open Access article distributed under the terms of the Creative Commons Attribution License 4.0, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
Current usage metrics show cumulative count of Article Views (full-text article views including HTML views, PDF and ePub downloads, according to the available data) and Abstracts Views on Vision4Press platform.
Data correspond to usage on the plateform after 2015. The current usage metrics is available 48-96 hours after online publication and is updated daily on week days.
Initial download of the metrics may take a while.

