by TeMPOraL · 1w ago · 0 comments
Does KSP model perihelion of Mercury (as measured by MESSENGER after its orbital maneuvers) or orbital resonances like the 1.5PN post-Newtonian expansion of the GR (General Relativity) metric tensor?
KSP could simulate N-body gravity and 2.5PN gravitational waves with any of a number of models: Cachazo's over Witten's SU(4) twistor string theory, QED scattering gravity, GrC(2,4)•GrC(2,4)^V gravity (with the Caret Wedge)
KSP2 unfortunately won't run in WASM in a browser tab with localstorage/sqlite for students without login.
As for more complex gravity models - there are mods. Specifically, I know of Principia [0], which adds "N-body and extended body gravitation". Never got around to testing it, so I don't how well it could model the aspects of gravity they had to account for in the real mission, but it should be enough for the major factors.
--
Principia could add a solar system model that there is real test data for, and then measure E_rel (relative error) against 1.5PN and 2.5PN gravity.
I have a rudimentary "error compared to GR" UI feature that shows how wrong Newtonian orbital predictions are compared to GR and multiple concordant non-GR models after a number of Earth cycles, but haven't solved for visual comparisons of significantly-different model predictions.
And in the real world, they use a simple Newtonian finite element model that just ignores any less-than-planetary bodies. Any relativistic corrections, never mind corrections from asteroids and so on are infinitesimal relative to the precision needed to move stuff around the Solar System. This is engineering, not science, so you just budget for a few kg of propellant for minor trajectory corrections along the way and call it a day.
I just looked this up because we used MESSENGER data to validate our model of gravity; just like they used the 43 arcsecond perihelion of mercury to validate General Relativity.
"Use of MESSENGER radioscience data to improve planetary ephemeris and to test general relativity" (2013) [1306.5569] https://arxiv.org/abs/1306.5569
"Precession of Mercury’s Perihelion from Ranging to the MESSENGER Spacecraft" (2017) https://iopscience.iop.org/article/10.3847/1538-3881/aa5be2
SPICE (observation geometry system) https://en.wikipedia.org/wiki/SPICE_(observation_geometry_sy... doesn't describe the physics model implemented by e.g. the SPK kernel.
The PDS data might be useful for model validation.
NASA JPL NAIF: Navigation and Ancillary Information Facility hosts SPICE toolkit: https://naif.jpl.nasa.gov/naif/
TIL about WebGeocalc for professionals.
But how does Kerbal Space Program model gravity? From Gemini succinctly:
> [KSP models gravity with] Newtonian dynamics and patched conic approximations, simulating spacecraft trajectories around one celestial body at a time inside discrete Spheres of Influence (SOI) rather than solving multi-body gravitational interactions simultaneously
SOI: "Sphere of influence" - Kerbal Space Program Wiki https://wiki.kerbalspaceprogram.com/wiki/Sphere_of_influence
Sphere of influence (astrodynamics) https://en.wikipedia.org/wiki/Sphere_of_influence_(astrodyna...
Patched conic approximation: https://en.wikipedia.org/wiki/Patched_conic_approximation
IDK if that's faster or slower than our models because I don't have an implementation of same in Rust/WASM to compare.
"Grassmannian Gravity from QED & Gauge Scattering Amplitudes: Complex \(Gr_{\mathbb{C}}(2,4)\) Orbital Precession, Mercury’s Perihelion, \(N\)-Body Dynamics, and Dilatant Dark Fluid (DDF) Unification in Lean 4" > "4. -Body Sink Superposition on ℂ(2,+2) & Conservative Action vs. Stokes-Drag Critique" (2026-10) https://westurner.github.io/sustainablefactory/grassmannian-...
But then last week we corrected our gravity model to also cover celestial holography per Toupin (2025),
"Celestial Holography, the Canonical Dictionary (\(\Delta = 2s\)), Plancherel–Unruh Graviton Loop Weights (\(M_1 = 1/8, M_2 = 1/90\)), and Integrated Turner Models 15a & 15b for Gravitons and Riemann Spectral Bridges in Lean 4, Rust/PyO3, and SymPy" > "4.1 How Gravitons Are Modeled Across All 15 Frameworks in src/signals" (2026-11) https://westurner.github.io/sustainablefactory/grassmannian-...
I'm interested to see which model of N-body gravitational dynamics has the best time-cost performance as implemented. Instead, we've pressed on to N-Soliton dynamics for quantum circuit simulation applications; but N-Soliton dynamics is apparently also relevant to modeling gravitational waves from N-body gravitational orbits.
Modeling electrodynamics and gravity separately doesn't make sense if gravity follows from QED scattering. But is it necessary to model rotation and electrodynamics for orbital trajectory modeling in normal systems without neutron stars or black holes with topology?
> But then last week we corrected our gravity model to also cover celestial holography per Toupin (2025),
Who is we? I clicked your link and it's a wiki knowledge base planning some kind of ... automated fab or factory on Mars? With a bit of quantum computing involved for good measure?There's too much content for any human to read but a quick skim is giving some AI psychosis vibes...
Thanks,
And the mods those people are talking about up the difficulty level significantly, and are difficult to run, while KSP runs out of the box on Linux.
Vanilla KSP alone is quite hard on realistic difficulty level (when you need to put radio retransmitters in space to contact far away probes) and gives a true sense of accomplishment every time you move the goalpost of how far you can get.
And it's simplified conic sections and Sphere of Influence gravity model is the same that was used to get to noon in 60s.
1. The developers of KSP1, + some modders, with a plan that was rooted in experience with the first game and not particularly flashy.
2. Outsiders with a lot of nice presentation but little understanding of the first game.
The second team got picked, shat the bed, and the game was abandoned. The first team is now developing "Kitten Space Agency" independently.
Performance in Proton WINE is important now because Steam Deck.
DirectX in WASM with WebGL might already be doable?
I have gravity in Lean->Rust/WASM in one project but haven't yet integrated the new models with the ThreeJS UI in another project, but no gameplay for an orbit planning space launch with EVA web game with accessible physics instruction in HTML with Linked Data yet.
Tauri-web with WGPU and WGSL WebGPU Shader Language for tensor/twistor ops might work instead of ThreeJS, but would the tokens be better spent on implementing CubeCL and optimization and verification.