Show HN: What if the speed of light was 5 km/h?
Future TechnologyCurated News 2026-09-10 11 min read

Show HN: What if the speed of light was 5 km/h?

When Albert Einstein introduced the special theory of relativity in 1905, he fundamentally altered humanity's understanding of space, time, and causality. However, because the speed of light ($c$) sit...

Researched and edited by Kiran Ch and the WhatIsFuture editorial team. Reviewed for factual accuracy before publication.

When Albert Einstein introduced the special theory of relativity in 1905, he fundamentally altered humanity's understanding of space, time, and causality. However, because the speed of light ($c$) sits at an unfathomable 299,792,458 meters per second, the counterintuitive phenomena of special relativity—such as length contraction, time dilation, and dramatic optical Doppler shifts—remain entirely hidden from everyday human perception. We live in a world governed by Galilean relativity and Newtonian mechanics, where speeds add up linearly and time flows uniformly for all observers.

A fascinating software experiment titled "What if the speed of light was 5 km/h?", published on Hacker News by developer Dmitry Brant, brings these mind-bending relativistic effects into our tangible reality. By scaling down $c$ to a human walking pace ($1.389\text{ m/s}$), the interactive browser-based project transforms ordinary movement into an immersion in non-Euclidean spacetime. As users navigate a virtual environment at casual strolling speeds, the software renders the extreme geometric and optical distortions that occur when an observer approaches light speed, sparking intense discussion among graphics engineers, software developers, and computational physicists.

Private Community

Join Our Tech Community

Get instant alerts on the most critical AI breakthroughs on our WhatsApp channel. No spam, just signal.

Join Channel Free →

Key Takeaways

  • Democratizing Relativistic Physics: The project scales down $c$ to $5\text{ km/h}$ ($1.389\text{ m/s}$), enabling real-time interactive visualization of special relativity during simple walking speeds.
  • 4D Spacetime Ray Intersection: True relativistic rendering requires computing light-cone intersections across four dimensions rather than simply scaling 3D geometry along a velocity vector.
  • Terrell-Penrose and Optical Distortions: Due to finite light travel time, relativistic motion produces an apparent rotation of objects (Terrell-Penrose effect) alongside severe Doppler frequency shifts and searchlight beam concentration.
  • Physically Separated Abstraction: The simulation alters optical propagation while intentionally leaving atomic and fundamental physics untouched to prevent the collapse of solid matter.

What Happened?

The developer community on Hacker News erupted into lively debate following the posting of Dmitry Brant's interactive project, "Show HN: What if the speed of light was 5 km/h?". The project presents a web-rendered simulation where the constant $c$ is set to roughly $1.389\text{ m/s}$. In this hypothetical reality, taking a slow stroll down a hallway or stepping across a living room causes the viewer to cross high fractions of light speed, triggering immediate relativistic transformations in real time.

Historically, visualizing special relativity has been a notoriously complex challenge in computer graphics. Early attempts relied on static 2D diagrams or offline ray-traced animations. In 2012, MIT’s Game Lab gained widespread attention with A Slower Speed of Light, an open-source game engine experiment built in Unity that progressively lowered $c$. Brant’s new implementation modernizes these concepts for lightweight web engines, allowing users to experiment with relativistic motion directly inside a modern web browser without installing custom binaries or heavy execution runtimes.

The Hacker News discussion thread quickly evolved beyond simple visual novelty into a rigorous technical discussion regarding graphics pipelines, shaders, radiometric accuracy, and spacetime geometry. Developers debated the nuances of converting coordinate-space length contraction into what an observer's eye or camera actually sees, pointing out that what we perceive optically differs radically from theoretical frame transformations. As researchers explore advanced spatial rendering—similar to how engineers evaluate hardware-software interplay when proving photo authenticity with cryptographic hardware—real-time physics-accurate rendering pushes the limits of standard WebGL graphics architectures.

The Technology Behind It

To accurately render a environment where light moves at human speeds, graphics engines must go far beyond simple geometry scaling. Our Principal Engineer, Astra, provided an exhaustive technical breakdown of the mathematics and architectural requirements needed to compute these relativistic visuals accurately:

Interpreted as a special-relativistic visualization, setting \(c=5\,\mathrm{km/h}=1.389\,\mathrm{m/s}\) moves relativistic effects into ordinary walking speeds. At \(v=1\,\mathrm{m/s}\), \(\beta=v/c=0.72\) and the Lorentz factor is \(\gamma=(1-\beta^2)^{-1/2}\approx1.44\): an inertially moving clock accumulates roughly 0.69 seconds per second in the reference frame, and a moving object’s simultaneous longitudinal extent contracts to roughly 69%. Those are coordinate measurements, however, not directly what a camera sees. Visual appearance also depends on when photons left each surface; with this reduced light speed, an object 10 meters away is observed about 7.2 seconds into its past in the frame where that distance is measured. The central rendering problem is therefore intersection with a four-dimensional scene, not simply scaling meshes along the direction of motion. Each pixel corresponds to a backward-directed null ray from the camera’s observation event, satisfying \(c^2\Delta t^2-\|\Delta\mathbf{x}\|^2=0\). A renderer can construct that ray in the camera’s instantaneous rest frame, Lorentz-transform its spacetime direction into a world frame, and intersect it with objects’ world-tubes—their geometry evolving through time. Surface shading must use the resulting emission event, not the object’s position at the current simulation timestamp. This produces finite-light-travel-time distortions and the Terrell–Penrose effect: under appropriate viewing conditions, relativistic objects exhibit an apparent rotation rather than looking merely compressed. The supplied title and “Comments” summary do not establish whether the project implements these effects. Relativistic color and brightness require a separate radiometric treatment. For a photon propagating along unit direction \(\mathbf n\) in the world frame, an observer moving with dimensionless velocity \(\boldsymbol\beta\) measures frequency \(\nu'=\gamma\nu(1-\boldsymbol\beta\cdot\mathbf n)\). The same Lorentz transformation changes its arrival direction through aberration, concentrating the apparent scene toward the direction of travel. Because \(I_\nu/\nu^3\) is invariant, specific intensity transforms with the cube of the Doppler factor at corresponding frequencies; frequency-integrated intensity transforms with its fourth power. An RGB hue shift is consequently only an approximation: physically meaningful visible colors require spectral information, including radiation initially outside the visible band that shifts into it. Architecturally, flat-spacetime optics does not require numerically integrating curved photon trajectories: rays remain straight between interactions, so analytic intersections or GPU ray tracing against appropriately time-dependent geometry are viable. The difficult engineering lies in temporal scene representation, acceleration structures that remain conservative over relevant emission times, moving-surface interactions, and controls that never allow a massive observer to cross \(c\). Rapidity, with \(v=c\tanh\eta\), provides a natural subluminal parameterization for one-dimensional motion. Finally, reducing \(c\) while preserving familiar scenery is a deliberate modeling abstraction, not a self-consistent prediction of another universe. Holding \(e\), \(\epsilon_0\), and \(\hbar\) fixed would increase \(\alpha=e^2/(4\pi\epsilon_0\hbar c)\) by about \(2.16\times10^8\), invalidating ordinary atomic physics. A coherent demonstration therefore needs an explicit boundary between rescaled relativistic optics and the material physics it leaves unchanged.

As Astra's breakdown establishes, the graphics pipeline must fundamentally abandon standard instantaneous spatial projection. In a conventional game engine, a render pass assumes infinite speed of light across the scene; every polygon is rasterized at its precise location at global temporal tick $t$. But when $c = 1.389\text{ m/s}$, a surface sitting just 10 meters away from the player must be rendered as it existed 7.2 seconds prior. The GPU must continuously evaluate four-dimensional world-tubes, mapping backward light cones to resolve photon trajectories across spacetime.

Furthermore, handling spectral shifts demands sophisticated radiometric calculations. As an observer moves toward an object, relativistic Doppler shifts move photon frequencies upward ($\nu'$). Infrared radiation that would normally be invisible to the human eye shifts directly into the visible red and green spectrums, while visible blue light shifts upward into invisible ultraviolet. Concurrently, relativistic aberration bends the incoming photon paths forward, causing the visual world in front of the moving camera to compress into a bright, hyper-focused "headlight" ring ahead of the direction of motion. Realizing these complex visual dynamics requires rigorous spectral rendering techniques rather than simple RGB color blending.

Why It Matters & Industry Impact

While an interactive model of a $5\text{ km/h}$ speed of light might appear to be a purely educational exercise, its underlying architecture directly impacts several cutting-edge fields across software development, simulation technology, and spatial computing.

First, real-time rendering engine developers working on high-fidelity simulation environments face mounting demands for physical precision. As real-time ray tracing becomes standard across Vulkan, DirectX 12, and WebGPU pipelines, incorporating finite propagation delays into lighting equations is becoming relevant for sub-nanosecond precision models. Advanced physics simulators, aerospace software, and satellite communication engines must routinely handle relativistic time dilation and signal latency. Developing lightweight, GPU-bound temporal acceleration structures—such as bounding volume hierarchies (BVHs) extended into time dimensions—directly feeds back into broader rendering optimization techniques.

Second, this experiment highlights the boundaries of user experience design in non-standard spatial environments. As headset manufacturers push spatial computing into virtual and augmented realities, understanding how human perception reacts to variable spatial coordinates and non-Euclidean optical distortions offers valuable insights. Interactive physics modeling provides fresh paradigms for game design, educational software, and interactive scientific visualization tools.

Finally, there is an intrinsic connection between deep mathematical modeling and modern computing innovation. Just as advanced mathematical algorithms drive breakthroughs elsewhere—as seen when exploring what recent AI controversies tell us about the future of mathematics—projects that force graphics hardware to process hyper-complex physical equations expand the boundaries of standard real-time software development.

What Experts & Sources Say

The discussion surrounding Dmitry Brant's project on Hacker News underscores a long-standing tension between exact theoretical physics and real-time software rendering constraints. Graphics programmers frequently point out that full physical accuracy comes with staggering computational overhead.

Community commentators noted that early attempts at relativistic visualizers often made the mistake of simply shrinking mesh geometries along the $Z$-axis (the velocity vector) to simulate Lorentz contraction. However, as computational physicists in the thread were quick to emphasize, James Terrell and Roger Penrose proved back in 1959 that geometric length contraction is largely invisible to an observer's eye. Because light from the far side of a moving sphere takes longer to reach the eye than light from the near side, the object appears to undergo a physical rotation rather than a flattened spatial compression. Implementing true Terrell-Penrose rotation requires backward light-cone intersection tracing, which demands significantly more GPU memory bandwidth than basic vertex shader transforms.

Furthermore, developers highlighted the engineering cleverness required to parameterize velocity. Standard linear addition of velocity vectors breaks down as speeds approach $c$. Software controls must utilize rapidity ($\eta$), where dimensionless velocity $\beta = \tanh(\eta)$. By letting input controls increment rapidity rather than raw velocity, the engine naturally ensures that an observer's speed continuously approaches $c$ as a asymptote without ever crossing the light-speed barrier—avoiding infinite divide-by-zero errors inside GPU execution threads.

What Happens Next?

Over the next 6 to 12 months, we can expect several distinct evolutions arising from this revived interest in relativistic graphics engines:

  • WebGPU Shader Implementations: Developers will likely port these relativistic ray-marching algorithms from older WebGL standards to WebGPU, taking advantage of compute shaders to perform fully spectral, real-time light-cone intersections at high frame rates.
  • Integration into VR & Headset Ecosystems: Virtual reality enthusiasts are already discussing porting relativistic movement shaders into modern WebXR platforms. Experiencing Terrell-Penrose rotation and Doppler color shifts in a fully immersive 6-DOF environment will offer an unprecedented intuitive feel for Einsteinian spacetime.
  • Open-Source Simulation Libraries: We anticipate the emergence of dedicated open-source libraries for game engines like Unreal Engine 5 and Unity, allowing developers to seamlessly drop variable-$c$ shaders and relativistic optics into arbitrary 3D games and training environments.
  • Educational Physics Frameworks: Interactive, web-native physics simulators will increasingly replace static textbook diagrams in university curricula, allowing physics students to directly manipulate physical constants like $c$, $\hbar$, or $G$ and observe the visual consequences in real time.

Bigger Picture

The appearance of "What if the speed of light was 5 km/h?" on Hacker News reflects a broader trend in computing: the convergence of real-time graphics technology, high-level web accessibility, and complex scientific simulation. We are moving rapidly toward an era where web browsers are capable of running complex, multi-dimensional physical simulations that previously required offline compute clusters.

This intersection also sheds light on how software abstractions shape our understanding of reality. When rendering a scaled-down light speed, software developers must choose where to draw the boundary between optics and material physics. As highlighted in Astra’s technical analysis, if one were to literally scale down $c$ in the real world while leaving fundamental constants like Planck’s constant ($\hbar$) or electron charge ($e$) unchanged, the fine-structure constant ($\alpha$) would skyrocket by a factor of over 200 million. At that level, atomic electron shells would collapse instantly, rendering stable matter impossible.

By explicitly decoupling optical propagation from fundamental atomic mechanics, Brant's visualization provides a clean, deliberate software abstraction—a playground where visual perception is detached from underlying structural destruction. Similar structural abstractions are fundamental to advanced AI modeling, real-time graphics pipelines, and synthetic data engines. Whether simulating relativistic spacetime, tracking high-density energy systems as battery storage breaks clean energy records, or building spatial neural engines, modern software engineering thrives by turning abstract theoretical physics into tangible, interactive experiences.

Frequently Asked Questions

If $c$ were 5 km/h, would objects actually look squished when moving past us?

No, not strictly squished. While spatial coordinates undergo Lorentz length contraction along the line of motion, what an observer actually sees is dominated by light travel time delay. Light from the distant parts of a moving object reaches your eyes later than light from closer parts. This produces the Terrell-Penrose effect, making moving objects appear rotated rather than simply compressed or squished.

Why doesn't atomic matter disintegrate in the 5 km/h light speed simulation?

The simulation uses a deliberate modeling abstraction. It alters flat-spacetime photon travel times and optical equations while intentionally leaving atomic and quantum physics unchanged. In actual physical reality, reducing $c$ by a factor of 216 million while keeping electron charge and Planck's constant fixed would radically alter the fine-structure constant ($\alpha$), destroying all chemical bonds and atomic structures.

How do graphics engines render relativistic Doppler shifts accurately?

To accurately render relativistic Doppler shifts, an engine cannot rely on standard 24-bit RGB values. It must convert surface colors into continuous spectral distributions. The engine then applies the relativistic Doppler equation $\nu' = \gamma \nu (1 - \boldsymbol\beta \cdot \mathbf n)$ to shift the frequencies across the spectrum—converting infrared light into visible colors and pushing visible light into the ultraviolet range—before mapping the shifted spectrum back into renderable RGB pixels.

This analysis was inspired by a story originally reported by Hacker News. Read the original report →

Recommended Tool

Supercharge Your Workflow with Claude AI

The AI assistant used by professionals worldwide. Write, code, analyse — all in one place.

Try Claude Free →