Simulating the Hail Mary: Centrifugal Gravity & Relativistic Aberration at 0.92c
After reviewing Project Hail Mary (2026), two physics set-pieces stayed stuck in my head: the 1.5g brachistochrone burn powered by Astrophage that accelerates the ship past $0.92c$ on its way to Tau Ceti, and the tethered centrifuge mode where the crew module separates from the fuel tanks and spins on cables to restore Earth gravity in orbit. Both look deceptively simple on screen, yet hiding underneath are two of the cleanest coordinate transformations in classical and relativistic mechanics.
1. Relativistic Aberration & the Forward Starbow
At $\beta = v/c = 0.92$, the Lorentz factor is $\gamma = (1 - \beta^2)^{-1/2} \approx 2.55$. Photons emitted by a star at rest-frame polar angle $\theta$ relative to the ship's velocity vector arrive at an apparent angle $\theta'$ compressed toward the nose of the ship:
Every star ahead of the ship is both pulled forward into a tight cone and blueshifted by $D(0) = \sqrt{(1+\beta)/(1-\beta)} \approx 4.9\times$ at $\beta = 0.92$. A yellow G-type star ($T \approx 5800\,\text{K}$) directly ahead shifts to an effective blackbody temperature of $T' = D \cdot T \approx 28{,}400\,\text{K}$ (searing ultraviolet-blue), while stars behind the ship redshift toward deep infrared and dim by $D^4 \approx 0.0017\times$.
2. Rotating Tether Centrifuge & Coriolis Deflection
Once in orbit around Tau Ceti, the Hail Mary splits along a tether of radius $R \approx 50\,\text{m}$ and spins at angular velocity $\omega = \sqrt{g / R} \approx 0.443\,\text{rad/s}$ ($\approx 4.2\,\text{RPM}$). Inside the rotating cabin frame, a dropped wrench obeys the non-inertial equation of motion:
Drop a pen from height $h = 2\,\text{m}$ above the deck and it does not hit the floor directly below your hand. Because the pen starts at a smaller radius $R - h$ with lower tangential speed $\omega(R - h)$, it lags behind the faster-moving deck below it – deflecting anti-spinward by $\Delta s \approx \frac{2}{3}\omega \sqrt{2 h^3 / g} \approx 37.7\,\text{cm}$! Toggle to Spin-Gravity Centrifuge above and click inside the ring to verify the curve against the straight inertial trajectory.
💻 GLSL: Relativistic Starfield Aberration & Blackbody Doppler ShiftGLSL (WebGL2)
// Fragment shader core: Relativistic Starfield Aberration + Blackbody Shift
vec3 blackbodyRGB(float T) {
T = clamp(T, 1200.0, 35000.0) / 1000.0;
float r = (T <= 6.6) ? 1.0 : clamp(1.292936 * pow(T - 6.0, -0.133204), 0.0, 1.0);
float g = (T <= 6.6) ? clamp(0.390081 * log(T) - 0.631841, 0.0, 1.0)
: clamp(1.129891 * pow(T - 6.0, -0.075514), 0.0, 1.0);
float b = (T >= 6.6) ? 1.0 : ((T <= 1.9) ? 0.0 : clamp(0.543206 * log(T - 1.0) - 1.196254, 0.0, 1.0));
return vec3(r, g, b);
}
// Invert aberration to find rest-frame direction from ship-frame view ray
float cosThPrime = normalize(rayDir).z;
float cosTh = (cosThPrime - uBeta) / (1.0 - uBeta * cosThPrime);
float gamma = inversesqrt(max(1e-5, 1.0 - uBeta * uBeta));
float doppler = 1.0 / (gamma * (1.0 - uBeta * cosThPrime));
| Flight Regime | Ship Speed $\beta$ | Lorentz $\gamma$ | Forward Doppler $D(0^\circ)$ | Visual Effect |
|---|---|---|---|---|
| Earth Departure | 0.00c | 1.00 | 1.00× | Normal sky, isotropic star distribution |
| Mid-Cruise | 0.75c | 1.51 | 2.65× | Forward stars crowd inward and turn ice-blue |
| Peak Pre-Flip | 0.92c | 2.55 | 4.90× | Starbow ring forms; aft sky fades to deep red |
| Relativistic Limit | 0.98c | 5.03 | 9.95× | Optical stars pushed to UV; IR background enters visible |