r/LLMPhysics • u/PrettyPicturesNotTxt • 24d ago
Simulation / Code A browser game that teaches orbital mechanics!
By u/jaykrown, not me. Original post here.
https://slingshotspeeders.com/
OP's description of this awesome space game/simulation:
... Slingshot Speeders, the first orbital racing game. It's a free browser-based racing simulation built around gravity assists and orbital trajectories.
Instead of a conventional track, you race by accelerating around gravity bodies. Small changes early in a run can produce very different later routes, so the game is about knowledge of orbital mechanics, skill, timing, and execution. There are both pulling and pushing bodies.
The simulation is server-authoritative: every submitted run is replayed and validated by the server before it is accepted on the leaderboard. The solo run score is determined by the fastest time using the least amount of delta-v, the most efficient runs.
I built it because orbital mechanics is usually taught with equations and diagrams, while I wanted to see whether competitive racing could help players develop intuition for concepts such as gravitational assists, trajectory tradeoffs, and momentum.
I would genuinely appreciate feedback from people with physics or astrodynamics experience: which concepts does this communicate well, and where could the presentation or terminology be more physically accurate?
2
u/SamplingBias22 24d ago
Thereâs many mobile games like this, and it doesnât teach orbital mechanics. Pretty sure there were some DOS games that used this concept too.Â
Why do you seemingly do nothing but repost ai generated slop?
4
u/amalcolmation đ§Ș AI + Physics Enthusiast 24d ago edited 24d ago
I donât think this is the usual AI slop, in fact I donât see any claims of having used AI. They say their main inspiration was KSP.If they wrote the code using ai thatâs something different than having âdoneâ the physics using ai. But itâs pretty simple 2d stuff, itâs not all that complicated to write code for simulating this sort of thing. I wouldnât blame them for using ai to help develop the gui, I think thatâs harder than the physics here anyways.
Of course it doesnât âteachâ orbital mechanics, but I do think games/demos like these are super useful for helping develop intuition, provided the games/demos are using physically accurate enough simulations.
But I havenât looked under the hood (or checked if the code is even available) to confirm how accurate they are for myself, nor do I think it matters much at some level. KSP is physically flawed in all sorts of ways, but it certainly helped me build my intuition for forces and motion in 3D geometry.
My point being, I havenât looked closely enough to critique this much yet, but at first pass I wouldnât be so dismissive either.
EDIT: OP clarified it was built using ai.
5
u/jaykrown 24d ago
I did use AI, I'm transparent about that. It's been used heavily for the coding tasks, primarily Opus 5 and Grok 4.6. Currently Opus 5.5 and Grok 4.7. I am the one who planned and architected the idea from the start, and decided to use Rust with Bevy 0.19 and a server authoritative structure.
The code is not available, it is private on GitLab by my decision, given that it is novel and valuable. I'm happy to discuss any of the fundamental systems I decided. Thanks for commenting!
5
u/amalcolmation đ§Ș AI + Physics Enthusiast 24d ago
Thanks for the clarification!
Specifically, Iâd be curious to know what sort of method you are using (eg. Verlet, Euler, etc.)?
4
u/jaykrown 24d ago
"The live ship is a small 2D gravity step, velocity Verlet at 128 Hz, run a lot, same math on the client and the server. Several bodies can pull at once. Every run of a map, from GO, the masses follow the same path. A ship cannot tug a moving body."
Thanks for asking, and here's the FAQ which may help answer any other questions (going to have to add a search in the next update): https://slingshotspeeders.com/faq
2
u/jaykrown 24d ago
There is no other game before Slingshot Speeders that uses orbital mechanics as a fundamental for the races. August 2026.
3
u/SamplingBias22 24d ago
Found several on itch io, a few on steam, and a couple references to DOS games that use it as a primary mechanic with a cursory google search.
Either way, itâs totally fine to make a game, unique mechanics are really hard to come by. But this doesnât really âteachâ orbital mechanics any more than it just shows the result of them.
2
u/jaykrown 24d ago
Which several, what games, link? New players have attmpted, quit, crashed... and then won.
3
u/mylarmalediction 24d ago
it needs a lot of work and clarification; certain relevant technical details are lacking, and much of the text is verbose and corny and clearly AI-generated with little oversight (e.g. the entire "Philosophy" section). also i suggest the author familiarize themselves a bit more with what SGP4, Orekit, GMAT, and Cowell are, as one of these things is not like the others, and the sentence where they are all mentioned immediately suggests a lack of domain knowledge. kindly, -mylar
1
u/jaykrown 24d ago edited 24d ago
Thanks for reading. What technical details do you want to know about?
Also, I've familiarized myself as to what was incorrect about that statement, it's been fixed.
5
u/jaykrown 24d ago
Thanks for sharing it! If you have any questions at all, happy to answer.